search for: disableopt

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

2013 Jul 28
0
[LLVMdev] IR Passes and TargetTransformInfo: Straw Man
...tools/lto/LTOCodeGenerator.cpp (working copy) @@ -412,11 +412,12 @@ // Enabling internalize here would use its AllButMain variant. It // keeps only main if it exists and does nothing for libraries. Instead // we create the pass ourselves with the symbol list provided by the linker. - if (!DisableOpt) - PassManagerBuilder().populateLTOPassManager(passes, - /*Internalize=*/false, - !DisableInline, - DisableGVNLoadPRE); + if (!DisableOpt) { + PassManagerBui...
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
2013 Jul 12
14
[LLVMdev] [Proposal] Parallelize post-IPO stage.
...ansforms/IPO.h" #include "llvm/Transforms/IPO/PassManagerBuilder.h" #include "llvm/Transforms/ObjCARC.h" +#include "llvm/Transforms/Utils/ValueMapper.h" +#include "llvm/Transforms/Utils/Cloning.h" using namespace llvm; + static cl::opt<bool> DisableOpt("disable-opt", cl::init(false), cl::desc("Do not run any optimization passes")); @@ -68,12 +76,154 @@ #endif } +class ModPartScheme { +public: + typedef SetVector<Function*> PartitionTy; + typedef PartitionTy::iterator iterator; + typedef PartitionTy::const_itera...