[LLVMdev] How to disable pass grouping(scheduling)
kecheng at cecs.pdx.edu
kecheng at cecs.pdx.edu
Tue Jun 28 21:35:07 PDT 2011
Hi all,
Llvm can automatically group a list passes. I want to do some
experiment to see the difference between grouping and non-grouping
execution.
Considering the following example, if I want to apply transformation
A, B and C. The execution order is:
A.doInitialization();
B.doInitialization();
C.doInitialization();
A.runOnFunction();
B.runOnFunction();
C.runOnFunction();
A.doInitialization();
B.doInitialization();
C.doInitialization();
Is it possible to disable the grouping? Make it execute as:
A.doInitialization();
A.runOnFunction();
A.doInitialization();
B.doInitialization();
B.runOnFunction();
B.doInitialization();
C.doInitialization();
C.runOnFunction();
C.doInitialization();
Thanks,
Kecheng
More information about the llvm-dev
mailing list