Displaying 7 results from an estimated 7 matches for "disableinline".
Did you mean:
disableinliner
2010 Feb 10
3
[LLVMdev] adding switches to llvm-ld to disable certain optimizations.
Hi,
I need to add switches like -disable-mem2reg, disable-gvn to llvm-ld.
Currently CreateStandardLTOPasses takes in only DisableInternalize and
DisableInliner switches.
Is modifying this API okay for these new switches, or is it doable in
some other ways ?
- Sanjiv
2010 Feb 10
3
[LLVMdev] adding switches to llvm-ld to disable certain optimizations.
Chris Lattner wrote:
> On Feb 9, 2010, at 7:39 PM, Sanjiv Gupta wrote:
>
>
>> Hi,
>> I need to add switches like -disable-mem2reg, disable-gvn to llvm-ld.
>> Currently CreateStandardLTOPasses takes in only DisableInternalize and
>> DisableInliner switches.
>>
>> Is modifying this API okay for these new switches, or is it doable in
>> some other ways ?
>>
>
> Why do you want this?
>
> -Chris
>
Mem2Reg isn't really useful for a single register machine as ours. More
often than not, it cause...
2010 Feb 10
0
[LLVMdev] adding switches to llvm-ld to disable certain optimizations.
On Feb 9, 2010, at 7:39 PM, Sanjiv Gupta wrote:
> Hi,
> I need to add switches like -disable-mem2reg, disable-gvn to llvm-ld.
> Currently CreateStandardLTOPasses takes in only DisableInternalize and
> DisableInliner switches.
>
> Is modifying this API okay for these new switches, or is it doable in
> some other ways ?
Why do you want this?
-Chris
2012 Feb 22
0
[LLVMdev] SUBJ: Passing arguments to the LTO
...n
the profiling library (stored on disk in LLVM bitcode), through the ld
command, by modifying LTOCodeGenerator.cpp.
We are having troubling sending command-line arguments to the LTO code,
because LTO is called by the system ld. However, we've noticed the
declaration static cl::opt<bool> DisableInline in LTOCodeGenerator.cpp.
How is the DisableInline argument passed to LTO, and how would we be able
to pass similar arguments, declared as cl::opt, to the LTO code?
Thanks for your help,
Melanie and Kui
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list...
2013 Jul 28
0
[LLVMdev] IR Passes and TargetTransformInfo: Straw Man
...g 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) {
+ PassManagerBuilder().populateIPOPassManager(passes,
+ /*Internalize=*/false,
+ !DisableInline);
+ PassManag...
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
2010 Feb 10
0
[LLVMdev] adding switches to llvm-ld to disable certain optimizations.
...t; Chris Lattner wrote:
>> On Feb 9, 2010, at 7:39 PM, Sanjiv Gupta wrote:
>>
>>
>>> Hi,
>>> I need to add switches like -disable-mem2reg, disable-gvn to llvm-ld.
>>> Currently CreateStandardLTOPasses takes in only DisableInternalize and
>>> DisableInliner switches.
>>>
>>> Is modifying this API okay for these new switches, or is it doable in
>>> some other ways ?
>>>
>>
>> Why do you want this?
>>
>> -Chris
>>
> Mem2Reg isn't really useful for a single register machine a...