Return true if MO equals immediate Value (or a splat of it).
Synopsis
Declared in <llvm/CodeGen/GlobalISel/GIMatchTableExecutor.h>
bool
isOperandImmEqual(
MachineOperand const& MO,
int64_t Value,
MachineRegisterInfo const& MRI,
bool Splat = false) const;
Return Value
True if MO equals immediate Value (or a splat of it).
Parameters
Name |
Description |
MO |
‐ Operand to compare. |
Value |
‐ Expected immediate value. |
MRI |
‐ Register info used when |
Splat |
‐ If true, also accept vector splats of |
Created with MrDocs