LLVM 24.0.0git
llvm::MIPatternMatch::GIntrinsic_match< IntrID, OpMatchers > Struct Template Reference

Matches a GIntrinsic with a specific intrinsic ID and optionally, matchers for its leading arguments. More...

#include "llvm/CodeGen/GlobalISel/MIPatternMatch.h"

Public Member Functions

 GIntrinsic_match (const OpMatchers &...Ops)
template<typename OpTy>
bool match (const MachineRegisterInfo &MRI, OpTy &&Op)

Public Attributes

std::tuple< OpMatchers... > Operands

Detailed Description

template<Intrinsic::ID IntrID, typename... OpMatchers>
struct llvm::MIPatternMatch::GIntrinsic_match< IntrID, OpMatchers >

Matches a GIntrinsic with a specific intrinsic ID and optionally, matchers for its leading arguments.

Definition at line 662 of file MIPatternMatch.h.

Constructor & Destructor Documentation

◆ GIntrinsic_match()

template<Intrinsic::ID IntrID, typename... OpMatchers>
llvm::MIPatternMatch::GIntrinsic_match< IntrID, OpMatchers >::GIntrinsic_match ( const OpMatchers &... Ops)
inline

Definition at line 665 of file MIPatternMatch.h.

References AbstractManglingParser< Derived, Alloc >::Ops, and Operands.

Member Function Documentation

◆ match()

template<Intrinsic::ID IntrID, typename... OpMatchers>
template<typename OpTy>
bool llvm::MIPatternMatch::GIntrinsic_match< IntrID, OpMatchers >::match ( const MachineRegisterInfo & MRI,
OpTy && Op )
inline

Member Data Documentation

◆ Operands

template<Intrinsic::ID IntrID, typename... OpMatchers>
std::tuple<OpMatchers...> llvm::MIPatternMatch::GIntrinsic_match< IntrID, OpMatchers >::Operands

Definition at line 663 of file MIPatternMatch.h.

Referenced by GIntrinsic_match().


The documentation for this struct was generated from the following file: