Displaying 9 results from an estimated 9 matches for "hasexactdefinit".
2017 Jul 10
2
[ThinLTO] Making ThinLTO functions not fail hasExactDefinition (specifically preventing it from being derefined)
...n ThinLTO since the linkage type is set to External or AvailableExternally
it is unable to apply any of the functionattr optimizations that LTO can
(since LTO is able to convert everything to Internal). This is a problem
because every functionattr optimization expects an exact definition by
calling hasExactDefinition (http://llvm-cs.pcc.me.uk/
include/llvm/IR/GlobalValue.h#387) which doesn't want a derefined function
(mayBeDerefined http://llvm-cs.pcc.me.uk/include/llvm/IR/GlobalValue.h#119).
According to the current definition, an AvailableExternally function could
be derefined so hasExactDefinition fai...
2017 Jul 11
2
[ThinLTO] Making ThinLTO functions not fail hasExactDefinition (specifically preventing it from being derefined)
...ipo-and-derefinement.html
-- Sanjoy
>> it is unable to apply any of the functionattr optimizations that LTO can
>> (since LTO is able to convert everything to Internal). This is a problem
>> because every functionattr optimization expects an exact definition by
>> calling hasExactDefinition
>> (http://llvm-cs.pcc.me.uk/include/llvm/IR/GlobalValue.h#387) which doesn't
>> want a derefined function (mayBeDerefined
>> http://llvm-cs.pcc.me.uk/include/llvm/IR/GlobalValue.h#119). According to
>> the current definition, an AvailableExternally function could be...
2018 Feb 16
3
Missing attribute inference cases
...implement
as a deref_or_nuill analysis and then merge nonnull inference to promote
dereferenceable_or_null - see previous
nounwind - currently implemented in PruneEH, missing in new pass manager
-- this one will get fixed in the near future
*Untrusted Declarations*
In several cases, we check hasExactDefinition before checking properties
of the function declaration (such as return type). To my knowledge,
facts on declarations are valid even in the place of derefinement. This
results in the analysis being unnecessarily conservative around external
declarations.
*AlwaysInline and hasExactDefinitio...
2018 Feb 16
2
Missing attribute inference cases
...one will get fixed in the near future
Other cases I just noticed...
noreturn -- useful for exception throw wrappers
allocsize -- useful for allocation wrappers
writeonly -- useful for AA
speculatable - useful for speculation, LICM, PRE, etc...
Untrusted Declarations
In several cases, we check hasExactDefinition before checking properties of
the function declaration (such as return type). To my knowledge, facts on
declarations are valid even in the place of derefinement. This results in
the analysis being unnecessarily conservative around external declarations.
AlwaysInline and hasExactDefinition...
2018 Feb 17
2
Missing attribute inference cases
...n -- useful for exception throw wrappers
>> allocsize -- useful for allocation wrappers
>> writeonly -- useful for AA
>> speculatable - useful for speculation, LICM, PRE, etc...
>>
>>
>>
>> Untrusted Declarations
>>
>> In several cases, we check hasExactDefinition before checking properties of
>> the function declaration (such as return type). To my knowledge, facts on
>> declarations are valid even in the place of derefinement. This results in
>> the analysis being unnecessarily conservative around external declarations.
>>
>...
2018 Feb 16
0
Missing attribute inference cases
...d in the near future
>
Other cases I just noticed...
noreturn -- useful for exception throw wrappers
allocsize -- useful for allocation wrappers
writeonly -- useful for AA
speculatable - useful for speculation, LICM, PRE, etc...
> *Untrusted Declarations*
>
> In several cases, we check hasExactDefinition before checking
> properties of the function declaration (such as return type). To my
> knowledge, facts on declarations are valid even in the place of
> derefinement. This results in the analysis being unnecessarily
> conservative around external declarations.
>
> *Always...
2018 Feb 16
0
Missing attribute inference cases
...cases I just noticed...
> noreturn -- useful for exception throw wrappers
> allocsize -- useful for allocation wrappers
> writeonly -- useful for AA
> speculatable - useful for speculation, LICM, PRE, etc...
>
>
>
> Untrusted Declarations
>
> In several cases, we check hasExactDefinition before checking properties of
> the function declaration (such as return type). To my knowledge, facts on
> declarations are valid even in the place of derefinement. This results in
> the analysis being unnecessarily conservative around external declarations.
>
>
> AlwaysInli...
2018 Feb 17
0
Missing attribute inference cases
...n -- useful for exception throw wrappers
>> allocsize -- useful for allocation wrappers
>> writeonly -- useful for AA
>> speculatable - useful for speculation, LICM, PRE, etc...
>>
>>
>>
>> Untrusted Declarations
>>
>> In several cases, we check hasExactDefinition before checking properties
>> of
>> the function declaration (such as return type). To my knowledge, facts
>> on
>> declarations are valid even in the place of derefinement. This results
>> in
>> the analysis being unnecessarily conservative around extern...
2018 Feb 19
1
Missing attribute inference cases
...pers
>>> allocsize -- useful for allocation wrappers
>>> writeonly -- useful for AA
>>> speculatable - useful for speculation, LICM, PRE, etc...
>>>
>>>
>>>
>>> Untrusted Declarations
>>>
>>> In several cases, we check hasExactDefinition before checking
>>> properties of
>>> the function declaration (such as return type). To my knowledge,
>>> facts on
>>> declarations are valid even in the place of derefinement. This
>>> results in
>>> the analysis being unnecessarily con...