search for: createstripdeadprototypespass

Displaying 10 results from an estimated 10 matches for "createstripdeadprototypespass".

2008 May 07
4
[LLVMdev] Missing passes
...Lower GC intrinsics, for GCless code generators (-lowergc) Correlated Expression Elimination (-cee) Lower select instructions to branches (-lowerselect) Additionally, I found the following passes for which no documentation was present: createGVExtractionPass() createStructRetPromotionPass() createStripDeadPrototypesPass() createJumpThreadingPass() createMemCpyOptPass() createLoopDeletionPass() createCodeGenPreparePass() From what I saw in Passes.html, the passes documentation is not generated automatically? What's the policy on updating this documentation? Gr. Matthijs -------------- next part ---------...
2010 Mar 02
2
[LLVMdev] make SHARED_LIBRARY=1 broken?
...\ --enable-pic \ --enable-targets=host-only \ --enable-shared \ --enable-jit make SHARED_LIBRARY=1 failure is: llvm[2]: Linking Release executable opt (without symbols) /home/src/llvm-trunk/llvm/tools/opt/Release/opt.o: In function `T.1603': opt.cpp:(.text+0x510): undefined reference to `llvm::createStripDeadPrototypesPass()' opt.cpp:(.text+0x525): undefined reference to `llvm::createDeadTypeEliminationPass()' opt.cpp:(.text+0x54a): undefined reference to `llvm::createConstantMergePass()' opt.cpp:(.text+0x57d): undefined reference to `llvm::createGlobalOptimizerPass()' opt.cpp:(.text+0x5a7): undefined...
2010 Mar 02
0
[LLVMdev] make SHARED_LIBRARY=1 broken?
...\ > --enable-shared \ > --enable-jit > make SHARED_LIBRARY=1 > > failure is: > llvm[2]: Linking Release executable opt (without symbols) > /home/src/llvm-trunk/llvm/tools/opt/Release/opt.o: In function `T.1603': > opt.cpp:(.text+0x510): undefined reference to > `llvm::createStripDeadPrototypesPass()' > opt.cpp:(.text+0x525): undefined reference to > `llvm::createDeadTypeEliminationPass()' > opt.cpp:(.text+0x54a): undefined reference to > `llvm::createConstantMergePass()' > opt.cpp:(.text+0x57d): undefined reference to > `llvm::createGlobalOptimizerPass()' &g...
2008 May 07
0
[LLVMdev] Missing passes
...has been removed. > Correlated Expression Elimination (-cee) > Lower select instructions to branches (-lowerselect) > > Additionally, I found the following passes for which no > documentation was present: > createGVExtractionPass() > createStructRetPromotionPass() > createStripDeadPrototypesPass() > createJumpThreadingPass() > createMemCpyOptPass() > createLoopDeletionPass() > createCodeGenPreparePass() > > From what I saw in Passes.html, the passes documentation is not > generated automatically? It is not, although I think there's a 'one-liner' to h...
2008 May 08
0
[LLVMdev] Missing passes
...es (-lowerselect) lowers packed operations to operations on smaller packed datatypes (-lower-packed) (I didn't report the last one in my initial posting, though I had noticed it was missing). I've added the following passes to the documentation: > createStructRetPromotionPass() > createStripDeadPrototypesPass() > createJumpThreadingPass() > createMemCpyOptPass() > createLoopDeletionPass() > createCodeGenPreparePass() I've left out the Global Value Extraction Pass, since that doesn't seem to be a full pass in itself (no RegisterPass for example). I've also pulled Passes.html...
2012 Apr 21
0
[LLVMdev] Remove function from module
Михаил wrote: > How correctly remove function from module? > For example: > > int f1(int x) { > ... > a = f2(smth); > ... > } > int f2 (int y) { > ... > b = f1(smth); > ... > } > > I need delete from module both f1 and f2. They haven't uses in other > part of module, but I can't delete them with eraseFromParent, because > they are use each
2012 Apr 21
3
[LLVMdev] Remove function from module
How correctly remove function from module? For example: int f1(int x) { ... a = f2(smth); ... } int f2 (int y) { ... b = f1(smth); ... } I need delete from module both f1 and f2. They haven't uses in other part of module, but I can't delete them with eraseFromParent, because they are use each other. Yours sincerely, Kadysev Mikhail -------------- next part
2010 Mar 02
4
[LLVMdev] make SHARED_LIBRARY=1 broken?
...ble-jit > > make SHARED_LIBRARY=1 > > > > failure is: > > llvm[2]: Linking Release executable opt (without symbols) > > /home/src/llvm-trunk/llvm/tools/opt/Release/opt.o: In function `T.1603': > > opt.cpp:(.text+0x510): undefined reference to > > `llvm::createStripDeadPrototypesPass()' > > opt.cpp:(.text+0x525): undefined reference to > > `llvm::createDeadTypeEliminationPass()' > > opt.cpp:(.text+0x54a): undefined reference to > > `llvm::createConstantMergePass()' > > opt.cpp:(.text+0x57d): undefined reference to > > `llvm::creat...
2011 Apr 05
3
[LLVMdev] Building LLVM on Solaris/Sparc
...allelAssert/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/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o llvm::BasicBlockPass::createPrinterPass(llvm::raw_ostream&, std::basic_...
2007 Apr 30
1
[LLVMdev] llvm-gcc build broken
.../compiler/llvm-gcc/gcc/llvm-backend.cpp:337: error: `createAggressiveDCEPass' was not declared in this scope /projects/compiler/llvm-gcc/gcc/llvm-backend.cpp:341: error: `createConstantMergePass' was not declared in this scope /projects/compiler/llvm-gcc/gcc/llvm-backend.cpp:342: error: `createStripDeadPrototypesPass' was not declared in this scope /projects/compiler/llvm-gcc/gcc/llvm-backend.cpp:348: error: expected type-specifier before `WriteBytecodePass' /projects/compiler/llvm-gcc/gcc/llvm-backend.cpp:348: error: expected `)' before `WriteBytecodePass' /projects/compiler/llvm-gcc/gcc/llvm...