Displaying 1 result from an estimated 1 matches for "some_function_pass_1".
Did you mean:
some_function_pass_2
2020 Nov 09
0
Adaptors in new pass manager
Hi,
I have 4 questions:
1. In legacy pass manager, we have following sequence of code in
PassManagerBuilder.cpp
PM.add( some_function_pass_1() )
PM.add( some_function_pass_2() )
why is it that we add function pass to a module pass manager? And does
these 2 statements create 2 function pass managers ?
2. In new pass manager, the above code would look something like this.
FunctionPassManager FPM;
FPM.add( some_function_pass_1() )
FPM...