search for: createdeadinsteliminationpass

Displaying 4 results from an estimated 4 matches for "createdeadinsteliminationpass".

2008 Jan 25
1
[LLVMdev] Something about the andersens pass
...ew 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 have I missed something with the pass manag...
2012 Feb 29
2
[LLVMdev] problem with inlining pass
Hi! My llvm version is 3.0 release. I have a module generated by clang. When I optimize it, I first add an inlining pass (llvm::createFunctionInliningPass), then these passes: - own FunctionPass - llvm::createPromoteMemoryToRegisterPass - llvm::createInstructionCombiningPass - llvm::createDeadInstEliminationPass - llvm::createDeadStoreEliminationPass - new llvm::DominatorTree() - new llvm::LoopInfo() - llvm::createLoopSimplifyPass() - own FunctionPass The problem is that the last function pass (and maybe the others too) gets called with functions that the inlining pass is supposed to delete. this behavi...
2012 Mar 01
0
[LLVMdev] problem with inlining pass
...rsion is 3.0 release. > I have a module generated by clang. When I optimize it, I first add an > inlining pass (llvm::createFunctionInliningPass), then these passes: > - own FunctionPass > - llvm::createPromoteMemoryToRegisterPass > - llvm::createInstructionCombiningPass > - llvm::createDeadInstEliminationPass > - llvm::createDeadStoreEliminationPass > - new llvm::DominatorTree() > - new llvm::LoopInfo() > - llvm::createLoopSimplifyPass() > - own FunctionPass > > The problem is that the last function pass (and maybe the others too) > gets called > with functions that the inlini...
2011 Apr 05
3
[LLVMdev] Building LLVM on Solaris/Sparc
...dich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o llvm::createLowerSwitchPass() /n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o llvm::BasicBlock::getTerminator() /n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/PrintSCC.o llvm::createDeadInstEliminationPass() /n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o llvm::createDeadCodeEliminationPass() /n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o llvm::cl::opt<std::basic_string<char, std::char_traits<char>, std::allocator<char&...