Return true if the value is a constant 0 integer or a null splat.
Synopses
Declared in <llvm/CodeGen/GlobalISel/Utils.h>
Return true if the value is a constant 0 integer or a null splat.
bool
isNullOrNullSplat(
SDValue V,
bool AllowUndefs = false);
Return true if the value is a constant 0 integer or a null splat.
bool
isNullOrNullSplat(
MachineInstr const& MI,
MachineRegisterInfo const& MRI,
bool AllowUndefs = false);
Return Value
-
True if the value is a constant 0 integer or a splatted vector of a constant 0 integer (with no undefs by default).
-
True if the value is a null constant or null splat.
Parameters
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. |
Created with MrDocs