Return true if the operand is a G_PTR_ADD with a G_CONSTANT RHS.
Synopsis
Declared in <llvm/CodeGen/GlobalISel/GIMatchTableExecutor.h>
bool
isBaseWithConstantOffset(
MachineOperand const& Root,
MachineRegisterInfo const& MRI) const;
Description
GlobalISel's separation of pointer and integer types means that we don't need to worry about G_OR with equivalent semantics.
Return Value
True if Root is a G_PTR_ADD with a G_CONSTANT RHS.
Parameters
Name |
Description |
Root |
‐ Operand that may define a pointer‐plus‐constant address. |
MRI |
‐ Register info used to inspect defining instructions. |
Created with MrDocs