Displaying 5 results from an estimated 5 matches for "gerargmodrefinfo".
2017 Oct 09
3
Expose aliasing information in getModRefInfo (or viceversa?)
Hi,
This came up in https://reviews.llvm.org/D38569, and I'd like some input on
what's the best way to get alias and mod-ref info without having two alias
calls.
A couple of ideas:
(a) Extend the getModRefInfo interface (+getModRefBehavior,
+gerArgModRefInfo) to return a pair {ModRefInfo, AliasResult}.
The AliasResult can be optional based on an argument
e.g.:
struct MRI_AR { ModRefInfo MRI, AliasResult AR };
MRI_AR getModRefInfoAlias (LoadInst *LI, MemoryLocation Loc, bool
SetAliasResultField);
Add wrapper APIs to preserve current calls...
2017 Oct 09
2
Expose aliasing information in getModRefInfo (or viceversa?)
...This came up in https://reviews.llvm.org/D38569, and I'd like some input
>> on what's the best way to get alias and mod-ref info without having two
>> alias calls.
>>
>> A couple of ideas:
>> (a) Extend the getModRefInfo interface (+getModRefBehavior,
>> +gerArgModRefInfo) to return a pair {ModRefInfo, AliasResult}.
>>
>> The AliasResult can be optional based on an argument
>> e.g.:
>> struct MRI_AR { ModRefInfo MRI, AliasResult AR };
>> MRI_AR getModRefInfoAlias (LoadInst *LI, MemoryLocation Loc, bool
>> SetAliasResu...
2017 Oct 09
1
Expose aliasing information in getModRefInfo (or viceversa?)
...This came up in https://reviews.llvm.org/D38569, and I'd like some
> input on what's the best way to get alias and mod-ref info without
> having two alias calls.
>
> A couple of ideas:
> (a) Extend the getModRefInfo interface (+getModRefBehavior,
> +gerArgModRefInfo) to return a pair {ModRefInfo, AliasResult}.
>
> The AliasResult can be optional based on an argument
> e.g.:
> struct MRI_AR { ModRefInfo MRI, AliasResult AR };
> MRI_AR getModRefInfoAlias (LoadInst *LI, MemoryLocation Loc,
> bool SetAliasResultFi...
2017 Oct 10
2
Expose aliasing information in getModRefInfo (or viceversa?)
...and I'd like some
>>>> input on what's the best way to get alias and mod-ref info without having
>>>> two alias calls.
>>>>
>>>> A couple of ideas:
>>>> (a) Extend the getModRefInfo interface (+getModRefBehavior,
>>>> +gerArgModRefInfo) to return a pair {ModRefInfo, AliasResult}.
>>>>
>>>> The AliasResult can be optional based on an argument
>>>> e.g.:
>>>> struct MRI_AR { ModRefInfo MRI, AliasResult AR };
>>>> MRI_AR getModRefInfoAlias (LoadInst *LI, Memory...
2017 Oct 10
2
Expose aliasing information in getModRefInfo (or viceversa?)
...input on what's the best way to get alias and mod-ref info without having
>>>>>> two alias calls.
>>>>>>
>>>>>> A couple of ideas:
>>>>>> (a) Extend the getModRefInfo interface (+getModRefBehavior,
>>>>>> +gerArgModRefInfo) to return a pair {ModRefInfo, AliasResult}.
>>>>>>
>>>>>> The AliasResult can be optional based on an argument
>>>>>> e.g.:
>>>>>> struct MRI_AR { ModRefInfo MRI, AliasResult AR };
>>>>>> MRI_AR...