Matches a G_LOAD, binding its pointer and memoperand.

Synopsis

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

template<typename PtrP>
LoadOp_match<GLoad, PtrP>
m_GLoad(
    PtrP const& Ptr,
    MMORef MMO);

Return Value

A matcher for a G_LOAD, binding its pointer and memoperand.

Parameters

Name

Description

Ptr

Sub‐pattern for the pointer operand.

MMO

Output reference that receives the MachineMemOperand.

Created with MrDocs