search for: breakcritedg

Displaying 3 results from an estimated 3 matches for "breakcritedg".

Did you mean: breakcritedges
2010 Jul 24
2
[LLVMdev] Controlling the order of a FunctionPass
...ses in the correct > order (e.g., opt -load<your pass filename> -mergereturn -<your pass > name>). If you're building a separate program that schedules the > passes, then it needs to run the prerequisite passes first. What?? Sure it does. See all the passes which require BreakCritEdges or LCSSA for examples. > > See the sc tool in the SAFECode source code for an example. > > 2) For prerequisite *analysis* passes (like LoopInfo), your ModulePass > can declare them as prerequisites and get access to them using the > getAnalysis<PassName>(Function *) meth...
2010 Jul 23
0
[LLVMdev] Controlling the order of a FunctionPass
Trevor Harmon wrote: > On Jul 22, 2010, at 2:05 PM, John Criswell wrote: > > >> If you write your pass as a ModulePass, then you can iterate over the >> functions in any order that you want. >> > > I had considered that, but my FunctionPass depends on other passes > processing the functions first: > Two things to consider: 1) The PassManager
2010 Jul 22
3
[LLVMdev] Controlling the order of a FunctionPass
On Jul 22, 2010, at 2:05 PM, John Criswell wrote: > If you write your pass as a ModulePass, then you can iterate over the > functions in any order that you want. I had considered that, but my FunctionPass depends on other passes processing the functions first: void MyPass::getAnalysisUsage(AnalysisUsage &AU) const { AU.addRequired<UnifyFunctionExitNodes>();