Displaying 8 results from an estimated 8 matches for "createaggressivedcepass".
2008 Jan 25
1
[LLVMdev] Something about the andersens pass
...r 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 what I'm doing supposed to work? I h...
2011 Mar 03
0
[LLVMdev] How to write optimizer loop
I've written an optimization loop, with the following form:
PassManager lpm;
lpm.add(createLoopDeletionPass());
lpm.add(createSCCPPass());
lpm.add(createAggressiveDCEPass());
lpm.add(createGlobalOptimizerPass());
lpm.add(createGlobalDCEPass());
lpm.add(createDeadStoreEliminationPass());
lpm.add(createLoopDeletionPass());
lpm.add(createInstructionCombiningPass());
lpm.add(createCFGSimplificationPass());
const int maxit =...
2006 Sep 03
0
[LLVMdev] llvm-gcc4: Enable various optimizations at -O1/-O2
...+ // opened up by them.
+ PerModulePasses->add(createInstructionCombiningPass());
+ PerModulePasses->add(createCondPropagationPass()); //
Propagate conditionals
+ PerModulePasses->add(createDeadStoreEliminationPass()); // Delete
dead stores
+ PerModulePasses->add(createAggressiveDCEPass()); // SSA
based 'Aggressive DCE'
+ PerModulePasses->add(createCFGSimplificationPass()); // Merge
& remove BBs
+
+ if (optimize > 1)
+ PerModulePasses->add(createConstantMergePass()); //
Merge dup global constants
+ }
2013 Jul 28
0
[LLVMdev] IR Passes and TargetTransformInfo: Straw Man
...()); // Remove redundancies
+ MPM.add(createMemCpyOptPass()); // Remove memcpy / form memset
+ MPM.add(createSCCPPass()); // Constant prop with SCCP
+
+ MPM.add(createDeadStoreEliminationPass()); // Delete dead stores
+ MPM.add(createAggressiveDCEPass()); // Delete dead instructions
+ MPM.add(createFunctionAttrsPass()); // Set readonly/readnone attrs
+
+ MPM.add(createTailCallEliminationPass()); // Eliminate tail calls
+ }
+
+ // End of CallGraph SCC passes.
+ }
+
+ if (EnableLightWeightIPO) {
+ MPM.add...
2008 May 20
4
[LLVMdev] Optimization passes organization and tradeoffs
...s()); // Convert to SSA form
passManager->add(createSCCPPass()); // Propagate constants
passManager->add(createInstructionCombiningPass()); // Peephole
optimization
passManager->add(createDeadStoreEliminationPass()); // Dead store
elimination
passManager->add(createAggressiveDCEPass()); // Aggressive dead
code elimination
passManager->add(createCFGSimplificationPass()); // Control-flow
optimization
I have several questions about this:
1) Does ScalarReplAggregates totally superscede PromoteMemoryToRegister? I
think I need it to optimize small arrays, b...
2013 Jul 18
3
[LLVMdev] IR Passes and TargetTransformInfo: Straw Man
Andy and I briefly discussed this the other day, we have not yet got
chance to list a detailed pass order
for the pre- and post- IPO scalar optimizations.
This is wish-list in our mind:
pre-IPO: based on the ordering he propose, get rid of the inlining (or
just inline tiny func), get rid of
all loop xforms...
post-IPO: get rid of inlining, or maybe we still need it, only
2011 Apr 05
3
[LLVMdev] Building LLVM on Solaris/Sparc
...lAssert/llvm-objects/tools/opt/Debug+Asserts/PrintSCC.o
llvm::createReassociatePass()
/n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o
llvm::raw_ostream::flush_nonempty()
/n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/GraphPrinters.o
llvm::createAggressiveDCEPass()
/n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o
vtable for llvm::ImmutablePass
/n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o
llvm::createTailDuplicationPass()
/n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+As...
2007 Apr 30
1
[LLVMdev] llvm-gcc build broken
...ts/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/llvm-gcc/gcc/llvm-backend.cpp:337: error:
`createAggressiveDCEPass' was not declared in this scope
/projects/compiler/llvm-gcc/gcc/llvm-backend.cpp:341: error:
`createConstantMergePass' was not declared in this scope
/projects/compiler/llvm-gcc/gcc/llvm-backend.cpp:342: error:
`createStripDeadPrototypesPass' was not declared in this scope
/projects/c...