Displaying 11 results from an estimated 11 matches for "createpruneehpass".
2010 Mar 02
2
[LLVMdev] make SHARED_LIBRARY=1 broken?
...xt+0x54a): undefined reference to
`llvm::createConstantMergePass()'
opt.cpp:(.text+0x57d): undefined reference to
`llvm::createGlobalOptimizerPass()'
opt.cpp:(.text+0x5a7): undefined reference to
`llvm::createDeadArgEliminationPass()'
opt.cpp:(.text+0x5e6): undefined reference to `llvm::createPruneEHPass()'
opt.cpp:(.text+0x64d): undefined reference to
`llvm::createArgumentPromotionPass(unsigned int)'
opt.cpp:(.text+0x668): undefined reference to
`llvm::createFunctionAttrsPass()'
opt.cpp:(.text+0x688): undefined reference to `llvm::createGlobalDCEPass()'
/home/src/llvm-trunk/llvm/to...
2010 Mar 02
0
[LLVMdev] make SHARED_LIBRARY=1 broken?
...to
> `llvm::createConstantMergePass()'
> opt.cpp:(.text+0x57d): undefined reference to
> `llvm::createGlobalOptimizerPass()'
> opt.cpp:(.text+0x5a7): undefined reference to
> `llvm::createDeadArgEliminationPass()'
> opt.cpp:(.text+0x5e6): undefined reference to `llvm::createPruneEHPass()'
> opt.cpp:(.text+0x64d): undefined reference to
> `llvm::createArgumentPromotionPass(unsigned int)'
> opt.cpp:(.text+0x668): undefined reference to
> `llvm::createFunctionAttrsPass()'
> opt.cpp:(.text+0x688): undefined reference to `llvm::createGlobalDCEPass()'
>...
2013 Jan 08
1
[LLVMdev] LTO "bug" and Clang warnings
..., though), but I know that is one
of:
PM.add(createGlobalOptimizerPass());
PM.add(createConstantMergePass());
PM.add(createDeadArgEliminationPass());
PM.add(createInstructionCombiningPass());
// Inline small functions
if (RunInliner)
PM.add(createFunctionInliningPass());
PM.add(createPruneEHPass()); // Remove dead EH info.
if (RunInliner)
PM.add(createGlobalOptimizerPass());
PM.add(createGlobalDCEPass()); // Remove dead functions.
Then I looped over all LTO passes in the populateLTOPassManager() but
adding them manually (incrementally, until I passed them all) didn't allow
m...
2006 Sep 03
0
[LLVMdev] llvm-gcc4: Enable various optimizations at -O1/-O2
...gt;add(createDeadArgEliminationPass()); // Dead
argument elimination
+ PerModulePasses->add(createInstructionCombiningPass()); // Clean
up after IPCP & DAE
+ PerModulePasses->add(createCFGSimplificationPass()); // Clean
up after IPCP & DAE
+ PerModulePasses->add(createPruneEHPass()); // Remove
dead EH info
+
+ if (optimize > 1) {
+ PerModulePasses->add(createFunctionInliningPass()); // Inline
small functions
+ PerModulePasses->add(createSimplifyLibCallsPass()); //
Library Call Optimizations
+
+ if (optimize > 2)
+...
2013 Jan 08
0
[LLVMdev] LTO "bug" and Clang warnings
Hi Renato,
On 08/01/13 17:16, Renato Golin wrote:
> After looking at the Livermore for a while, we found the issue that was causing
> LTO to produce a different result.
>
> Consider the code below [1]. setup() doesn't touch bar/baz, main() doesn't
> reference foo. LTO finds, correctly,
I don't think this is correct. At the LLVM IR level it is valid to write into
bar
2010 Mar 02
4
[LLVMdev] make SHARED_LIBRARY=1 broken?
...stantMergePass()'
> > opt.cpp:(.text+0x57d): undefined reference to
> > `llvm::createGlobalOptimizerPass()'
> > opt.cpp:(.text+0x5a7): undefined reference to
> > `llvm::createDeadArgEliminationPass()'
> > opt.cpp:(.text+0x5e6): undefined reference to `llvm::createPruneEHPass()'
> > opt.cpp:(.text+0x64d): undefined reference to
> > `llvm::createArgumentPromotionPass(unsigned int)'
> > opt.cpp:(.text+0x668): undefined reference to
> > `llvm::createFunctionAttrsPass()'
> > opt.cpp:(.text+0x688): undefined reference to
> `llvm::...
2013 Jul 28
0
[LLVMdev] IR Passes and TargetTransformInfo: Straw Man
...urn;
+ }
+
+ bool EnableLightWeightIPO = (OptLevel > 1);
+
+ // Add LibraryInfo if we have some.
+ if (LibraryInfo) MPM.add(new TargetLibraryInfo(*LibraryInfo));
+ addInitialAliasAnalysisPasses(MPM);
+
+ // Start of CallGraph SCC passes.
+ {
+ if (EnableLightWeightIPO) {
+ MPM.add(createPruneEHPass()); // Remove dead EH info
+ if (Inliner) {
+ MPM.add(Inliner);
+ Inliner = 0;
+ }
+ MPM.add(createArgumentPromotionPass()); // Scalarize uninlined fn args
+ }
+
+ // Start of function pass.
+ {
+ if (UseNewSROA)
+ MPM.add(createSROA...
2013 Jan 08
6
[LLVMdev] LTO "bug" and Clang warnings
After looking at the Livermore for a while, we found the issue that was
causing LTO to produce a different result.
Consider the code below [1]. setup() doesn't touch bar/baz, main() doesn't
reference foo. LTO finds, correctly, that it can remove the setup(), but
the result is different.
The code is clearly wrong, but the compiler has no right to fix user's
stupidity, even at that
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
...ols/opt/Debug+Asserts/opt.o
llvm::createLoopUnswitchPass(bool)
/n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o
llvm::SMDiagnostic::Print(char const*, llvm::raw_ostream&)
const/n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o
llvm::createPruneEHPass()
/n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o
vtable for
llvm::cl::generic_parser_base/n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o
llvm::PluginLoader::operator=(std::basic_string<char,
std::char_traits<char>, std::all...
2007 Apr 30
1
[LLVMdev] llvm-gcc build broken
...vm-gcc/gcc/llvm-backend.cpp:292: error:
`createDeadArgEliminationPass' was not declared in this scope
/projects/compiler/llvm-gcc/gcc/llvm-backend.cpp:294: error:
`createInstructionCombiningPass' was not declared in this scope
/projects/compiler/llvm-gcc/gcc/llvm-backend.cpp:299: error:
`createPruneEHPass' was not declared in this scope
/projects/compiler/llvm-gcc/gcc/llvm-backend.cpp:303: error:
`createFunctionInliningPass' was not declared in this scope
/projects/compiler/llvm-gcc/gcc/llvm-backend.cpp:305: error:
`createSimplifyLibCallsPass' was not declared in this scope
/projects/c...