Displaying 4 results from an estimated 4 matches for "instrargmemonly".
2019 Jul 24
2
Intrinsics InstrReadMem memory properties
Hello,
According to include/llvm/IR/Intrinsics.td, InstrReadMem property indicates
that the intrinsic only reads from and does not write to memory.
Does this mean that it can read anywhere in the memory? Because we already
have 'InstrArgMemOnly' for intrinsics which only access memory that its
argument(s) point(s) to.
If 'InstrReadMem' really means read from anywhere in the memory, this
should imply that, if there's an intrinsic having this property *after* a
dead store, the latter should not be eliminated by optimizatio...
2019 Jul 24
2
Intrinsics InstrReadMem memory properties
...rReadMem memory properties
>
> Hello,
>
> According to include/llvm/IR/Intrinsics.td, InstrReadMem property
> indicates that the intrinsic only reads from and does not write to memory.
>
> Does this mean that it can read anywhere in the memory? Because we already
> have 'InstrArgMemOnly' for intrinsics which only access memory that its
> argument(s) point(s) to.
>
> If 'InstrReadMem' really means read from anywhere in the memory, this
> should imply that, if there's an intrinsic having this property *after* a
> dead store, the latter should not be e...
2019 Jul 24
2
Intrinsics InstrReadMem memory properties
...gt; According to include/llvm/IR/Intrinsics.td, InstrReadMem property
> > > indicates that the intrinsic only reads from and does not write to
> memory.
> > >
> > > Does this mean that it can read anywhere in the memory? Because we
> already
> > > have 'InstrArgMemOnly' for intrinsics which only access memory that its
> > > argument(s) point(s) to.
> > >
> > > If 'InstrReadMem' really means read from anywhere in the memory, this
> > > should imply that, if there's an intrinsic having this property
> *after*...
2019 Jul 25
2
Intrinsics InstrReadMem memory properties
.../llvm/IR/Intrinsics.td, InstrReadMem property
>> > > indicates that the intrinsic only reads from and does not write to
>> memory.
>> > >
>> > > Does this mean that it can read anywhere in the memory? Because we
>> already
>> > > have 'InstrArgMemOnly' for intrinsics which only access memory that
>> its
>> > > argument(s) point(s) to.
>> > >
>> > > If 'InstrReadMem' really means read from anywhere in the memory, this
>> > > should imply that, if there's an intrinsic having th...