m_GIntrinsic overloads

Synopses

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

Binds the defining instruction if it is a GIntrinsic.

Binds the defining instruction if it is a const GIntrinsic.

Matches a GIntrinsic with ID IntrID and the given argument sub‐patterns.

template<
    Intrinsic::ID IntrID,
    typename... OpMatchers>
GIntrinsic_match<IntrID, OpMatchers...>
m_GIntrinsic(OpMatchers const&... Ops);

Return Value

  • A matcher that binds the defining instruction if it is a GIntrinsic.

  • A matcher that binds the defining instruction if it is a const GIntrinsic.

  • A matcher for a GIntrinsic with ID IntrID and the given argument sub‐patterns.

Parameters

Name

Description

Inst

Output that receives the matched GIntrinsic.

Ops

Sub‐patterns for leading intrinsic arguments.

Created with MrDocs