llvm::PseudoSourceValue

Special value supplied for machine level alias analysis.

Synopsis

Declared in <llvm/CodeGen/PseudoSourceValue.h>

class PseudoSourceValue;

Description

It indicates that a memory access references the functions stack frame (e.g., a spill slot), below the stack frame (e.g., argument space), or constant pool.

Enums

NameDescription
PSVKind Kind of pseudo source value used for machine-level alias analysis.

Member Functions

NameDescription
PseudoSourceValue [constructor]Construct a PseudoSourceValue of the given kind.
~PseudoSourceValue [destructor] [virtual]Destroy a PseudoSourceValue.
getAddressSpace Return the address space of the memory referenced by this value.
getTargetCustom Return the target-custom kind index, or 0 if not a target-custom value.
isAliased [virtual]Test whether the memory pointed to by this PseudoSourceValue may also be pointed to by an LLVM IR Value.
isConstant [virtual]Test whether the memory pointed to by this PseudoSourceValue has a constant value.
isConstantPool Return true if this pseudo source value refers to the constant pool.
isGOT Return true if this pseudo source value refers to the GOT.
isJumpTable Return true if this pseudo source value refers to a jump table.
isStack Return true if this pseudo source value refers to the function stack frame.
kind Return the kind discriminator for this PseudoSourceValue.
mayAlias [virtual]Return true if the memory pointed to by this PseudoSourceValue can ever alias an LLVM IR Value.

Friends

NameDescription
llvm::MIRFormatterTarget-specific formatter for MIR operands and pseudo source values.
llvm::MachineMemOperandDescription of a memory reference used in the backend.
llvm::operator<<Write a PseudoSourceValue to a stream.

Derived Classes

NameDescription
CallEntryPseudoSourceValue A PseudoSourceValue representing a call entry (GlobalValue or external symbol).
FixedStackPseudoSourceValue A specialized PseudoSourceValue for holding FixedStack values, which must include a frame index.