Displaying 7 results from an estimated 7 matches for "flag_unit_at_a_tim".
Did you mean:
flag_unit_at_a_time
2008 Apr 16
3
[LLVMdev] flag_unit_at_a_time and pass scheduling in llvm-gcc
In llvm-backend.cpp I see:
if (optimize > 1) {
if (flag_inline_trees > 1) // respect -fno-inline-functions
PM->add(createFunctionInliningPass()); // Inline small functions
if (flag_unit_at_a_time && !lang_hooks.flag_no_builtin())
PM->add(createSimplifyLibCallsPass()); // Library Call Optimizations
if (optimize > 2)
PM->add(createArgumentPromotionPass()); // Scalarize uninlined fn args
}
Shouldn't createFunctionInliningPass and createArgumen...
2008 Apr 16
2
[LLVMdev] flag_unit_at_a_time and pass scheduling in llvm-gcc
Hi Devang,
> You can do inlining even when flag_unit_at_a_time is off. And one can
> enable unit-at-a-time without enabling any optimizations. The unit-at-
> a-time is not meant to select optimization passes, though it may
> influence selection.
this flag is used quite a bit in llvm-backend.cpp, for example:
if (flag_unit_at_a_time) {...
2008 Apr 17
4
[LLVMdev] flag_unit_at_a_time and pass scheduling in llvm-gcc
Hi Devang,
> > this flag is used quite a bit in llvm-backend.cpp, for example:
> >
> > if (flag_unit_at_a_time) {
> > PM->add(createGlobalOptimizerPass()); // Optimize out
> > global vars
> > PM->add(createGlobalDCEPass()); // Remove unused
> > fns and globs
> > PM->add(createIPConstantPropagationPass()); // IP Constant
> >...
2008 Apr 16
0
[LLVMdev] flag_unit_at_a_time and pass scheduling in llvm-gcc
On Apr 15, 2008, at 11:49 PM, Duncan Sands wrote:
> As far as I can see flag_unit_at_a_time
> is used to control whether inter-procedural/whole-module passes are
> scheduled.
You can do inlining even when flag_unit_at_a_time is off. And one can
enable unit-at-a-time without enabling any optimizations. The unit-at-
a-time is not meant to select optimization passes, though it...
2008 Apr 16
0
[LLVMdev] flag_unit_at_a_time and pass scheduling in llvm-gcc
On Apr 16, 2008, at 1:02 PM, Duncan Sands wrote:
> Hi Devang,
>
>> You can do inlining even when flag_unit_at_a_time is off. And one can
>> enable unit-at-a-time without enabling any optimizations. The unit-
>> at-
>> a-time is not meant to select optimization passes, though it may
>> influence selection.
>
> this flag is used quite a bit in llvm-backend.cpp, for example:
>
>...
2008 Apr 17
0
[LLVMdev] flag_unit_at_a_time and pass scheduling in llvm-gcc
On Thu, 17 Apr 2008, Duncan Sands wrote:
>>> I thought I understood why but it seems that I don't :)
>>
>> IMO, we should avoid using flag_unit_at_a_time here.
>
> given DannyB's explanation that this flag exists in gcc so that glibc
> works properly in spite of abusing ASM, perhaps this logic in llvm-backend
> also exists to ensure that glibc works?
I think it would be reasonable to turn off some of the more aggressive IPO
xforms...
2014 Sep 11
3
[LLVMdev] patch for DragonEgg 3.3
Hi - attached is a patch to enable building DragonEgg (x86_64) for LLVM3.3 and LLVM3.4. That is, add these changes to the 3.3 release, and it becomes possible to build DragonEgg against a llvm3.4 compiler.
Regards,
Richard Gorton
Cognitive Electronics
rcgorton at cog-e.com
----------
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: