search for: myfp

Displaying 2 results from an estimated 2 matches for "myfp".

Did you mean: mfp
2010 Aug 12
0
[LLVMdev] Optimization pass questions
...ule (which contains all the functions) before you modify any function using your pass then you use doInitialization hook. This is useful because the function passs's runOnFunction only gives you access to the function and not the module surrounding the function. Typically, if your function pass MyFP is operating on a Module M1 with two functions F1 ad F2 in it then execution sequence will be MyFP->doInitialization(M1); MyFP->runOnFunction(F1); MyFP->runOnFunction(F2); MyFP->doFinalization(); > Why does the function pass manager have doInitialization/doFinalization...
2010 Aug 11
4
[LLVMdev] Optimization pass questions
I have a whole slew of questions about optimization passes. Answers to any or all would be extremely helpful: How important are doInitialization/doFinalization? I can't detect any difference if I use them or not. Why does the function pass manager have doInitialization/doFinalization, but the global pass manager doesn't? If I am applying the function passes to many functions, do I