llvm::GIMatchTableExecutor::testMOPredicate_MO

Test a C++ machine-operand predicate on MO.

Synopsis

Declared in <llvm/CodeGen/GlobalISel/GIMatchTableExecutor.h>

virtual
bool
testMOPredicate_MO(
    unsigned int PredicateID,
    MachineOperand const& MO,
    MatcherState const& State) const;

Return Value

True if the machine-operand predicate holds for MO.

Parameters

NameDescription
PredicateID- Generated MO predicate ID.
MO- Operand to test.
State- Current matcher state, including recorded operands.