ΒΆbool isBuildVectorAllZeros(
const llvm::MachineInstr& MI,
const llvm::MachineRegisterInfo& MRI,
bool AllowUndef = false)
bool isBuildVectorAllZeros(
const llvm::MachineInstr& MI,
const llvm::MachineRegisterInfo& MRI,
bool AllowUndef = false)
Description
Return true if the specified instruction is a G_BUILD_VECTOR or G_BUILD_VECTOR_TRUNC where all of the elements are 0 or undef.
Declared at: llvm/include/llvm/CodeGen/GlobalISel/Utils.h:413
Parameters
- const llvm::MachineInstr& MI
- const llvm::MachineRegisterInfo& MRI
- bool AllowUndef = false