[LLVMdev] IPA based pass
tehila at cs.technion.ac.il
Sat Jan 25 15:27:05 PST 2014
I'm trying to write a pass that deals with the whole program, and should be
based on the CallGraph information.
I understand that the way of doing that is inherit from CallGraphSCCPass. Is
In addition, I would like to know:
1. I read that this pass works bottom-up. Is there a pass that works
2. How do I get the Module and the Context in runOnSCC function? I
need them in order to insert new function calls into existing functions?
What's the meaning of Module and Context exactly?
Thanks a lot in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev