Return the ConstantFP defining VReg, or nullptr if it is not a G_FCONSTANT.
Declared in <llvm/CodeGen/GlobalISel/Utils.h>
ConstantFP const*
getConstantFPVRegVal(
Register VReg,
MachineRegisterInfo const& MRI);
The ConstantFP, or nullptr if VReg is not a G_FCONSTANT.
| Name | Description |
|---|---|
| VReg | Virtual register that may be defined by a G_FCONSTANT. |
| MRI | Register information for the function. |