Displaying 5 results from an estimated 5 matches for "getmodrefinfoalias".
2017 Oct 09
3
Expose aliasing information in getModRefInfo (or viceversa?)
...ut 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.
e.g.:
ModRefInfo getModRefInfo (LoadInst *LI, MemoryLocation Loc) {
return getModRefInfoAlias (LI, Loc, false).MRI;
}
(b) From talking offline with George, introducin...
2017 Oct 09
2
Expose aliasing information in getModRefInfo (or viceversa?)
...tend 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.
>> e.g.:
>> ModRefInfo getModRefInfo (LoadInst *LI, MemoryLocation Loc) {
>> return getModRefInfoAlias (LI, Loc, false).MRI;
>...
2017 Oct 09
1
Expose aliasing information in getModRefInfo (or viceversa?)
...) 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.
> e.g.:
> ModRefInfo getModRefInfo (LoadInst *LI, MemoryLocation Loc) {
> return getModRefInfoAlias (LI, Loc, false).MRI;
>...
2017 Oct 10
2
Expose aliasing information in getModRefInfo (or viceversa?)
...vior,
>>>> +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.
>>>> e.g.:
>>>> ModRefInfo getModRefInfo (LoadInst *LI, MemoryLocation Loc) {
>>>> retu...
2017 Oct 10
2
Expose aliasing information in getModRefInfo (or viceversa?)
...) 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.
>>>>>> e.g.:
>>>>>> ModRefInfo getModRefInfo (LoadInst *LI, MemoryLocatio...