search for: my_module_pass

Displaying 1 result from an estimated 1 matches for "my_module_pass".

2011 Feb 18
1
[LLVMdev] Enforcing execution order of passes
...the opt tool on a linked bitcode. >opt -load=my_own_pass.so -do_my_passes ... test.bc > test.output.bc However, my passes require other LLVM's passes before and after. For example, the ordering of passes that I want: (1) A couple of LLVM's passes ==> (2) my_loop_pass ==> (3) my_module_pass ==> (4) Other LLVM's standard O3 optimizations (a bunch of passes). Can I enfore such complex pass ordering easily? I'd like to pass just a single argument in opt, which trigers the whole pipeline of passes. I tried to use getAnalysisUsage and addRequired. But, the documentation is som...