search for: createipsccppass

Displaying 6 results from an estimated 6 matches for "createipsccppass".

2008 Aug 15
3
[LLVMdev] Problems understanding alias analysis validation logic
...mentation is that when a pass gets invalidated, it should be rerun before any other passes that requires it. Here is a simple example of the problem I am seeing: PassManager passManager; passManager.add(new TargetData(getTargetData())); passManager.add(createAndersensPass()); passManager.add(createIPSCCPPass()); passManager.add(createGVNPass()); <----will use BasicAA not Andersens ... In this case, I would expect that the GVN pass would use the andersen AA results, but it doesn't; it uses the results from a Basic AA pass. Reordering the passes like below fixes the problem, but I still don...
2016 May 03
2
status of IPO/IPCP?
The pass is pretty rudimental (as the comment at the top of the file hints), and it seems LLVM already has IPSCCP (which should do a better job at interprocedural constant propagation). I'm also not entirely sure it's used anywhere. Is there any reason to keep it around? Thanks, -- Davide "There are no solved problems; there are only problems that are more or less solved" --
2016 May 04
3
status of IPO/IPCP?
...t; INITIALIZE_PASS(IPCP, "ipconstprop", > "Interprocedural constant propagation", false, false) > > -ModulePass *llvm::createIPConstantPropagationPass() { return new IPCP(); } > +ModulePass *llvm::createIPConstantPropagationPass() { > + return createIPSCCPPass(); > +} > > bool IPCP::runOnModule(Module &M) { > if (skipModule(M)) > > -- Sean Silva > > On Tue, May 3, 2016 at 3:06 PM, Davide Italiano via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > > The pass is pretty rudimental (as the comment at th...
2013 Jul 28
0
[LLVMdev] IR Passes and TargetTransformInfo: Straw Man
...ass()); // Set readonly/readnone attrs + + MPM.add(createTailCallEliminationPass()); // Eliminate tail calls + } + + // End of CallGraph SCC passes. + } + + if (EnableLightWeightIPO) { + MPM.add(createGlobalOptimizerPass()); // Optimize out global vars + MPM.add(createIPSCCPPass()); // IP SCCP + MPM.add(createDeadArgEliminationPass()); // Dead argument elimination + MPM.add(createGlobalDCEPass()); // Remove dead fns and globals. + MPM.add(createConstantMergePass()); // Merge dup global constants + } +} + +void PassManagerBuilder::populat...
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
...Asserts/opt.o llvm::CallGraph::print(llvm::raw_ostream&, llvm::Module*) const/n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/AnalysisWrappers.o vtable for llvm::cl::basic_parser_impl/n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o llvm::createIPSCCPPass() /n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o llvm::createStripDeadPrototypesPass() /n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o llvm::BasicBlockPass::doInitialization(llvm::Function&) /n/fs/scratch/tpondich/ParallelAsser...