Describes a target addressing mode similar to ExtAddrMode in CodeGenPrepare.
Declared in <llvm/CodeGen/TargetInstrInfo.h>
struct ExtAddrMode;
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.
| Name | Description |
|---|---|
Formula | How BaseReg, ScaledReg, Scale, and Displacement combine into an address. |
| Name | Description |
|---|---|
ExtAddrMode [constructor] | Construct a default empty addressing mode. |
| Name | Description |
|---|---|
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. |