Displaying 11 results from an estimated 11 matches for "menabl".
Did you mean:
menable
2012 Aug 08
2
[LLVMdev] Pass llvm options to DragonEgg
...gument '-disable-inlining'. Try: 'cc1 -help'
(2). Does 'fplugin-arg-dragonegg-llvm-option' allow ONLY 'opt'
options? (by llvm options does it mean only opt)
(3). Depending on answer to (2), currently is there a way to pass llc
options to dragonegg? For instance -menable-unsafe-math?
$ gcc -fplugin=dragonegg.so
-fplugin-arg-dragonegg-llvm-option='-menable-unsafe-math' foo.c -S
cc1: Unknown command line argument '-menable-unsafe-math'. Try: 'cc1 -help'
The case for passing 'llc' options stems from the requirement that
code genera...
2012 Aug 08
0
[LLVMdev] Pass llvm options to DragonEgg
...gument '-disable-inlining'. Try: 'cc1 -help'
(2). Does 'fplugin-arg-dragonegg-llvm-option' allow ONLY 'opt'
options? (by llvm options does it mean only opt)
(3). Depending on answer to (2), currently is there a way to pass llc
options to dragonegg? For instance -menable-unsafe-math?
$ gcc -fplugin=dragonegg.so
-fplugin-arg-dragonegg-llvm-option='-menable-unsafe-math' foo.c -S
cc1: Unknown command line argument '-menable-unsafe-math'. Try: 'cc1 -help'
The case for passing 'llc' options stems from the requirement that
code genera...
2016 Nov 16
3
RFC: Consider changing the semantics of 'fast' flag implying all fast-math-flags
...mplementation
doesn't do that, since the 'fast' IR-level flag still gets set.
Motivation of this discussion: https://llvm.org/bugs/show_bug.cgi?id=27372#c2
As an aside, when '-ffast-math' is specified on the command-line, the
following six switches are all passed to cc1:
-menable-no-infs
-menable-no-nans
-fno-signed-zeros
-freciprocal-math
-fno-trapping-math
-ffp-contract=fast
and '-ffast-math' itself is also passed cc1 (the act of passing '-ffast-math'
to cc1 results in the macro '__FAST_MATH__' being defined). When (for
examp...
2016 Nov 16
5
RFC: Consider changing the semantics of 'fast' flag implying all fast-math-flags
...gets set.
>
> > Motivation of this discussion:
> > https://llvm.org/bugs/show_bug.cgi?id=27372#c2
>
> > As an aside, when '-ffast-math' is specified on the command-line,
> > the
>
> > following six switches are all passed to cc1:
>
> > -menable-no-infs
>
> > -menable-no-nans
>
> > -fno-signed-zeros
>
> > -freciprocal-math
>
> > -fno-trapping-math
>
> > -ffp-contract=fast
>
> > and '-ffast-math' itself is also passed cc1 (the act of passing
> > '-ffast-math'...
2014 Nov 20
2
[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)
...e're
> going to want a unified interface to all of them. I haven't applied your
> patch to see what the IR changes look like here.
>
>
With the patches applied, the attributes clang embeds in the IR look like
this:
$ clang -cc1 ... -mllvm -arm-long-calls -mllvm -arm-reserve-r9
-menable-no-nans
attributes #0 = { nounwind readonly ssp "NoNaNsFPMath" "arm-long-calls"="1"
"arm-reserve-r9"="1" "less-precise-fpmad"="false"
"no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf"...
2014 Nov 20
2
[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)
...e going to want a unified interface to all of them. I haven't applied your patch to see what the IR changes look like here.
>
>
> With the patches applied, the attributes clang embeds in the IR look like this:
>
> $ clang -cc1 ... -mllvm -arm-long-calls -mllvm -arm-reserve-r9 -menable-no-nans
> attributes #0 = { nounwind readonly ssp "NoNaNsFPMath" "arm-long-calls"="1" "arm-reserve-r9"="1" "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf&q...
2014 Dec 02
2
[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)
...ified interface to all of them. I haven't applied your patch to see what the IR changes look like here.
>>
>>
>> With the patches applied, the attributes clang embeds in the IR look like this:
>>
>> $ clang -cc1 ... -mllvm -arm-long-calls -mllvm -arm-reserve-r9 -menable-no-nans
>> attributes #0 = { nounwind readonly ssp "NoNaNsFPMath" "arm-long-calls"="1" "arm-reserve-r9"="1" "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-le...
2014 Dec 03
2
[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)
...e IR changes look like here.
>>>>>
>>>>>
>>>> With the patches applied, the attributes clang embeds in the IR look
>>>> like this:
>>>>
>>>> $ clang -cc1 ... -mllvm -arm-long-calls -mllvm -arm-reserve-r9
>>>> -menable-no-nans
>>>>
>>>> attributes #0 = { nounwind readonly ssp "NoNaNsFPMath"
>>>> "arm-long-calls"="1" "arm-reserve-r9"="1" "less-precise-fpmad"="false"
>>>> "no-frame-pointer-eli...
2014 Dec 03
2
[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)
...;
>>>>>>>
>>>>>> With the patches applied, the attributes clang embeds in the IR look
>>>>>> like this:
>>>>>>
>>>>>> $ clang -cc1 ... -mllvm -arm-long-calls -mllvm -arm-reserve-r9
>>>>>> -menable-no-nans
>>>>>>
>>>>>> attributes #0 = { nounwind readonly ssp "NoNaNsFPMath"
>>>>>> "arm-long-calls"="1" "arm-reserve-r9"="1" "less-precise-fpmad"="false"
>>>>>...
2014 Dec 09
2
[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)
...gt;>>>>> With the patches applied, the attributes clang embeds in the IR
>>>>>>>> look like this:
>>>>>>>>
>>>>>>>> $ clang -cc1 ... -mllvm -arm-long-calls -mllvm -arm-reserve-r9
>>>>>>>> -menable-no-nans
>>>>>>>>
>>>>>>>> attributes #0 = { nounwind readonly ssp "NoNaNsFPMath"
>>>>>>>> "arm-long-calls"="1" "arm-reserve-r9"="1" "less-precise-fpmad"="false&q...
2014 Nov 18
3
[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)
Updated patch is attached. Note this is just a work-in-progress patch and I
plan to address the feedback comments later if this patch is in the right
direction.
This is how the command line options are parsed and used by the backend
passes:
1. Tools such as clang and llc call cl::ParseCommandLineOptions. Any of the
options that should be written to the bitcode as function or module
attributes