Displaying 3 results from an estimated 3 matches for "creategcsepass".
2008 Jan 25
1
[LLVMdev] Something about the andersens pass
...ule);
}
I then run another pass:
PassManager PM;
PM.add(new TargetData(*EE->getTargetData()));
PM.add(createVerifierPass());
//PM.add(createAndersensPass()); // Seems to break dynamic casts
in combo with load value numbering
PM.add(createLoadValueNumberingPass());
PM.add(createGCSEPass());
PM.add(createAggressiveDCEPass());
PM.add(createDeadInstEliminationPass());
PM.run(*qModule);
Next, I call my monster function and it works as expected.
But if I uncomment the call to createAndersendsPass() my code fails
(because something goes wrong with the dynamic cast).
Is wha...
2006 Sep 03
0
[LLVMdev] llvm-gcc4: Enable various optimizations at -O1/-O2
...rollPass()); // Unroll
small loops
+ PerModulePasses->add(createInstructionCombiningPass()); // Clean
up after the unroller
+
+ if (optimize > 2)
+ PerModulePasses->add(createLoadValueNumberingPass()); // GVN
for load instructions
+
+ PerModulePasses->add(createGCSEPass()); // Remove
common subexprs
+ PerModulePasses->add(createSCCPPass()); //
Constant prop with SCCP
+
+ // Run instcombine after redundancy elimination to exploit
opportunities
+ // opened up by them.
+ PerModulePasses->add(createInstructionCom...
2007 Apr 30
1
[LLVMdev] llvm-gcc build broken
...ompiler/llvm-gcc/gcc/llvm-backend.cpp:326: error:
`createLoopUnrollPass' was not declared in this scope
/projects/compiler/llvm-gcc/gcc/llvm-backend.cpp:328: error:
`createLoadValueNumberingPass' was not declared in this scope
/projects/compiler/llvm-gcc/gcc/llvm-backend.cpp:329: error:
`createGCSEPass' was not declared in this scope
/projects/compiler/llvm-gcc/gcc/llvm-backend.cpp:330: error:
`createSCCPPass' was not declared in this scope
/projects/compiler/llvm-gcc/gcc/llvm-backend.cpp:336: error:
`createDeadStoreEliminationPass' was not declared in this scope
/projects/compiler/...