Simple struct used to hold a constant integer value and a virtual register.
Declared in <llvm/CodeGen/GlobalISel/Utils.h>
struct ValueAndVReg;
| Name | Description |
|---|---|
VReg | Virtual register that defines or carries the constant. |
Value | Constant integer value. |
| Name | Description |
|---|---|
getAnyConstantVRegValWithLookThrough | If VReg is defined by a statically evaluable chain of instructions rooted on a G_CONSTANT or G_FCONSTANT returns its value as APInt and def register. |
getIConstantVRegValWithLookThrough | If VReg is defined by a statically evaluable chain of instructions rooted on a G_CONSTANT returns its APInt value and def register. |