llvm::ExtAddrMode

Describes a target addressing mode similar to ExtAddrMode in CodeGenPrepare.

Synopsis

Declared in <llvm/CodeGen/TargetInstrInfo.h>

struct ExtAddrMode;

Description

It holds the register values, the scale value and the displacement. It also holds a descriptor for the expression used to calculate the address from the operands.

Enums

NameDescription
Formula How BaseReg, ScaledReg, Scale, and Displacement combine into an address.

Member Functions

NameDescription
ExtAddrMode [constructor]Construct a default empty addressing mode.

Data Members

NameDescription
BaseReg Base register of the addressing mode.
Displacement Constant displacement added to the address.
Form Formula describing how the address operands combine.
Scale Scale factor applied to ScaledReg.
ScaledReg Index register scaled by Scale.