search for: myinliner

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

Did you mean: mainline
2017 Oct 03
1
About LLVM Pass dependency
...t me correct question a bit. I have read Writing Pass <http://llvm.org/docs/WritingAnLLVMPass.html#specifying-interactions-between-passes>, All examples that i see here are based on collecting information .i.e Analysis Passes. I wonder if this applies to Transformation passes also. e.g. void MyInliner::getAnalysisUsage(AnalysisUsage &AU) const { AU.addRequired<SimplifyCFGPass>(); // Transformation Pass AU.addRequired<AnnotatedFunctionPass>(); // Transformation like pass AU.addRequired<CallGraphSCCPass>(); // Analysis Pass } here AnnotateFunctionPass is addi...
2017 Oct 03
2
About LLVM Pass dependency
Hello I am working on pass which has dependency on multiple passes. Say D1,D2,D3 I used INITIALIZE_PASS_BEGIN INITIALIZE_PASS_DEPENDENCY(D1) INITIALIZE_PASS_DEPENDENCY(D2) INITIALIZE_PASS_DEPENDENCY(D3) INITIALIZE_PASS_END. While running it through opt tool it, I had to specify this D1,D2,D3 pass names to get this pass executed before my pass. Is there way, to let llvm pass manager to know