isAllOnesOrAllOnesSplat overloads
Declared in <llvm/CodeGen/GlobalISel/Utils.h>
Return true if the value is a constant -1 integer or splat.
bool
isAllOnesOrAllOnesSplat(
SDValue V,
bool AllowUndefs = false);
» more...
Return true if the value is a constant -1 integer or a splatted vector of a constant -1 integer (with no undefs if AllowUndefs is false).
bool
isAllOnesOrAllOnesSplat(
MachineInstr const& MI,
MachineRegisterInfo const& MRI,
bool AllowUndefs = false);
» more...
| Name | Description |
|---|---|
| V | Value to test. |
| AllowUndefs | Whether undef elements are permitted. |
| MI | Instruction defining the value to test. |
| MRI | Register information for the function. |