Displaying 10 results from an estimated 10 matches for "createsccppass".
Did you mean:
createipsccppass
2009 May 28
0
[LLVMdev] Sparse propagation framework
...t have a need for exactly this
> kind of framework in order to prototype an analysis I have in mind.
>
> I also noticed, however, that this doesn't appear to be in use at this time.
>
It is being used:
opt.cpp:
void AddStandardCompilePasses(PassManager &PM) {
...
addPass(PM, createSCCPPass()); // Constant prop with
SCCP
and in gcc/llvm-backend.cpp:
static void createPerModuleOptimizationPasses() {
...
PM->add(createSCCPPass()); // Constant prop
with SCCP
-bw
2009 May 28
3
[LLVMdev] Sparse propagation framework
Hi All,
I'm relatively new to LLVM (but not optimizing compilers), and have been
reading docs and browsing code.
I noticed in the 2.4 release notes that a sparse propagation framework had
been added based on the SCCP algorithm. I might have a need for exactly this
kind of framework in order to prototype an analysis I have in mind.
I also noticed, however, that this doesn't appear to be
2009 May 28
1
[LLVMdev] Sparse propagation framework
...k in order to prototype an analysis I have in mind.
> >
> > I also noticed, however, that this doesn't appear to be in use at this
> time.
> >
> It is being used:
>
> opt.cpp:
>
> void AddStandardCompilePasses(PassManager &PM) {
> ...
> addPass(PM, createSCCPPass()); // Constant prop with
> SCCP
>
>
> and in gcc/llvm-backend.cpp:
>
> static void createPerModuleOptimizationPasses() {
> ...
> PM->add(createSCCPPass()); // Constant prop
> with SCCP
>
I guess I wasn't clear. I was refer...
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(createCFGSimplificationPa...
2006 Sep 03
0
[LLVMdev] llvm-gcc4: Enable various optimizations at -O1/-O2
...nCombiningPass()); // 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(createInstructionCombiningPass());
+ PerModulePasses->add(createCondPropagationPass()); //
Propagat...
2013 Jul 28
0
[LLVMdev] IR Passes and TargetTransformInfo: Straw Man
...s()); // Recognize idioms like memset.
+ MPM.add(createLoopDeletionPass()); // Delete dead loops
+
+ MPM.add(createGVNPass()); // 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
+
+...
2008 May 20
4
[LLVMdev] Optimization passes organization and tradeoffs
...ction, so none of the related passes are needed).
My first attempt at collecting useful optimizations looks like this:
passManager->add(new TargetData(*executionEngine->getTargetData()));
passManager->add(createScalarReplAggregatesPass()); // 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 elimi...
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
...ch/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o
llvm::createLoopDeletionPass()
/n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o
llvm::RGPassManager::RGPassManager(int)/n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o
llvm::createSCCPPass()
/n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o
llvm::cl::generic_parser_base::getOptionWidth(llvm::cl::Option const&)
const/n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o
llvm::PMDataManager::~PMDataManager()/n/fs/scratch/tpo...
2007 Apr 30
1
[LLVMdev] llvm-gcc build broken
...ects/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/llvm-gcc/gcc/llvm-backend.cpp:337: error:
`createAggressiveDCEPass' was not declared in this scope
/projects/...