ΒΆbool isAllOnesOrAllOnesSplat(
const llvm::MachineInstr& MI,
const llvm::MachineRegisterInfo& MRI,
bool AllowUndefs = false)
bool isAllOnesOrAllOnesSplat(
const llvm::MachineInstr& MI,
const llvm::MachineRegisterInfo& MRI,
bool AllowUndefs = false)
Description
Return true if the value is a constant -1 integer or a splatted vector of a constant -1 integer (with no undefs if \p AllowUndefs is false).
Declared at: llvm/include/llvm/CodeGen/GlobalISel/Utils.h:443
Parameters
- const llvm::MachineInstr& MI
- const llvm::MachineRegisterInfo& MRI
- bool AllowUndefs = false