search for: s_pfunctionpass

Displaying 2 results from an estimated 2 matches for "s_pfunctionpass".

Did you mean: s_pfunctionpasses
2009 Mar 16
0
[LLVMdev] Strange LLVM Crash
This is what 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::createDeadCodeElimi...
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