llvm::MIPatternMatch::m_GAnyLoad

Matches any load, binding the instruction and pointer operand.

Synopsis

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

template<typename PtrP>
LoadOp_match<GAnyLoad, PtrP>
m_GAnyLoad(
    GAnyLoad*& Inst,
    PtrP const& Ptr);

Return Value

A matcher for any load, binding the instruction and pointer operand.

Parameters

NameDescription
InstOutput that receives the matched GAnyLoad.
PtrSub-pattern for the pointer operand.