Run a custom match‐table action and optionally emit new instructions.

Synopsis

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

virtual
bool
runCustomAction(
    unsigned int FnID,
    MatcherState const& State,
    NewMIVector& OutMIs) const;

Return Value

True if the custom action succeeded.

Parameters

Name

Description

FnID

‐ Generated custom action function ID.

State

‐ Current matcher state.

OutMIs

‐ Vector that receives newly built instructions.

Created with MrDocs