llvm::PatternMatch::m_Instruction

Match against the nested pattern, and capture the instruction if we match.

Synopsis

Declared in <llvm/IR/PatternMatch.h>

template<typename Pattern>
auto
m_Instruction(
    Instruction const*& I,
    Pattern const& P);

Return Value

A matcher for against the nested pattern, and capture the instruction if we match.

Parameters

NameDescription
IReference that receives the matched Instruction.
PThe nested pattern to match.