Bitmask of Mod/Ref effects for each memory location kind in LocationEnum.
Synopsis
Declared in <llvm/Support/ModRef.h>
template<typename LocationEnum>
class MemoryEffectsBase;
Type Aliases
Name |
Description |
Memory location kind parameterized by |
Member Functions
Name |
Description |
|
Constructors |
Whether this function may access argument memory. |
|
Whether this function accesses no memory. |
|
|
|
Get new MemoryEffectsBase with modified ModRefInfo for Loc. |
|
Get new MemoryEffectsBase with NoModRef on the given Loc. |
|
Whether location is target memory location. |
|
Whether the target memory locations are all the same. So it behaves as the default read/write, but for Target locations only. |
|
Whether this function only (at most) accesses argument memory. |
|
Whether this function only (at most) accesses errno memory. |
|
Whether this function only (at most) accesses inaccessible memory. |
|
Whether this function only (at most) accesses argument and inaccessible memory. |
|
Whether this function only (at most) accesses inaccessible or target memory. |
|
Whether this function only (at most) reads memory. |
|
Whether this function only (at most) writes memory. |
|
Intersect with other MemoryEffectsBase. |
|
Intersect (in‐place) with other MemoryEffectsBase. |
|
Subtract other MemoryEffectsBase. |
|
Subtract (in‐place) with other MemoryEffectsBase. |
|
Union with other MemoryEffectsBase. |
|
Union (in‐place) with other MemoryEffectsBase. |
|
Convert MemoryEffectsBase into an encoded integer value (used by memory attribute). |
|
Check whether this is the same as other MemoryEffectsBase. |
|
Check whether this is different from other MemoryEffectsBase. |
Static Member Functions
Name |
Description |
Create MemoryEffectsBase that can only access argument memory. |
|
Create MemoryEffectsBase that can only access argument or errno memory. |
|
Create MemoryEffectsBase from an encoded integer value (used by memory attribute). |
|
Create MemoryEffectsBase that can only access errno memory. |
|
Create MemoryEffectsBase that can only access inaccessible memory. |
|
Create MemoryEffectsBase that can only access inaccessible or argument memory. |
|
Create MemoryEffectsBase that can only access inaccessible, argument or errno memory. |
|
Create MemoryEffectsBase that can only access inaccessible or errno memory. |
|
Returns iterator over all supported location kinds. |
|
Create MemoryEffectsBase that cannot read or write any memory. |
|
Create MemoryEffectsBase that can only access other memory. |
|
Create MemoryEffectsBase that can read any memory. |
|
Returns iterator over all target location kinds |
|
Create MemoryEffectsBase that can read and write any memory. |
|
Create MemoryEffectsBase that can write any memory. |
Created with MrDocs