llvm::ValueAndVReg

Simple struct used to hold a constant integer value and a virtual register.

Synopsis

Declared in <llvm/CodeGen/GlobalISel/Utils.h>

struct ValueAndVReg;

Data Members

Name
VReg
Value

Non-Member Functions

NameDescription
getAnyConstantVRegValWithLookThroughIf 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.
getIConstantVRegValWithLookThroughIf VReg is defined by a statically evaluable chain of instructions rooted on a G_CONSTANT returns its APInt value and def register.