search for: createconstantpropagationpass

Displaying 3 results from an estimated 3 matches for "createconstantpropagationpass".

2009 Mar 16
0
[LLVMdev] Strange LLVM Crash
...at I have so far: // Add optimization passes to the function passes s_pFunctionPasses->add(new llvm::TargetData(s_pModule)); s_pFunctionPasses->add(llvm::createCFGSimplificationPass()); s_pFunctionPasses->add(llvm::createPromoteMemoryToRegisterPass()); s_pFunctionPasses->add(llvm::createConstantPropagationPass()); s_pFunctionPasses->add(llvm::createDeadCodeEliminationPass()); s_pFunctionPasses->add(llvm::createInstructionCombiningPass()); Where s_pFunctionPasses is a FunctionPassManager I create when initializing my program and delete at shutdown. I'm running the CFG simplification one first...
2009 Mar 16
2
[LLVMdev] Strange LLVM Crash
On Mar 15, 2009, at 7:55 AM, Nyx wrote: > > Is there a webpage documenting these function passes? Here's some: http://llvm.org/docs/WritingAnLLVMPass.html#FunctionPass You can also look in llvm/lib/Transforms/Scalar for runOnFunction () > Which ones should I run > to maximize performance? There's no right way to determine this. It depends on what you need/ want from your
2011 Apr 05
3
[LLVMdev] Building LLVM on Solaris/Sparc
...atch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o llvm::createLowerAtomicPass() /n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o llvm::createPostDomFrontier() /n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o llvm::createConstantPropagationPass() /n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o vtable for llvm::FunctionPass /n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/GraphPrinters.o vtable for llvm::cl::Option /n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+...