Test a C++ machine‐instruction predicate on MI.

Synopsis

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

virtual
bool
testMIPredicate_MI(
    unsigned int PredicateID,
    MachineInstr const& MI,
    MatcherState const& State) const;

Return Value

True if the machine‐instruction predicate holds for MI.

Parameters

Name

Description

PredicateID

‐ Generated MI predicate ID.

MI

‐ Instruction to test.

State

‐ Current matcher state, including recorded operands.

Created with MrDocs