ΒΆOptional<llvm::FPValueAndVReg> getFConstantSplat(
llvm::Register VReg,
const llvm::MachineRegisterInfo& MRI,
bool AllowUndef = true)
Optional<llvm::FPValueAndVReg> getFConstantSplat(
llvm::Register VReg,
const llvm::MachineRegisterInfo& MRI,
bool AllowUndef = true)
Description
Returns a floating point scalar constant of a build vector splat if it exists. When \p AllowUndef == true some elements can be undef but not all.
Declared at: llvm/include/llvm/CodeGen/GlobalISel/Utils.h:395
Parameters
- llvm::Register VReg
- const llvm::MachineRegisterInfo& MRI
- bool AllowUndef = true