llvm::InterestingMemoryOperand

Describes a memory reference of interest for analysis.

Synopsis

Declared in <llvm/Analysis/InterestingMemoryOperand.h>

class InterestingMemoryOperand;

Description

Collects the pointer use, access kind, type, alignment, and optional mask, EVL, stride, or byte-offset operands from a memory instruction.

Member Functions

NameDescription
InterestingMemoryOperand [constructor]Construct an interesting memory operand from a memory instruction.
getInsn Return the instruction that owns this pointer use.
getPtr Return the pointer value of this memory operand.

Data Members

NameDescription
Alignment Alignment of the memory access, if known.
IsWrite Whether this memory access is a write.
MaybeByteOffset The byte-offset value, if looking at an indexed load/store.
MaybeEVL The EVL value, if looking at a vp intrinsic.
MaybeMask The mask value, if looking at a masked load/store.
MaybeStride The stride value, if looking at a strided load/store.
OpType The type of the memory operand being accessed.
PtrUse The use of the pointer operand in the memory instruction.
TypeStoreSize Store size of OpType in bits.