Displaying 1 result from an estimated 1 matches for "calledfrompassmanager".
2006 May 03
0
[LLVMdev] Conflicting passes?
...rse topological order
- have DominatorTree, ETForest, LoopInfo and some other analyses
available
- possibly, I'll need access to DSAA
Possible solution:
- batch the conflicting transforms
- write myPass as a subclass of FunctionPass
- write myPass.runOnFunction like:
runOnFunction() {
if (!calledFromPassManager) {
doStuff();
}
}
- use CallGraph within myPass.runOnModule, set
calledFromPassManager=false, call runOnFunction
in reverse topological order. This bullet relies
on the assumption that FunctionPass.runOnModule can
be freely used without any limitations.
- If I understood correctly,...