LLVM 22.0.0git
llvm::MIPatternMatch::ConstantMatch< ConstT > Struct Template Reference

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

Public Member Functions

 ConstantMatch (ConstT &C)
bool match (const MachineRegisterInfo &MRI, Register Reg)

Public Attributes

ConstT & CR

Detailed Description

template<typename ConstT>
struct llvm::MIPatternMatch::ConstantMatch< ConstT >

Definition at line 90 of file MIPatternMatch.h.

Constructor & Destructor Documentation

◆ ConstantMatch()

template<typename ConstT>
llvm::MIPatternMatch::ConstantMatch< ConstT >::ConstantMatch ( ConstT & C)
inline

Definition at line 92 of file MIPatternMatch.h.

References llvm::CallingConv::C, and CR.

Member Function Documentation

◆ match()

template<typename ConstT>
bool llvm::MIPatternMatch::ConstantMatch< ConstT >::match ( const MachineRegisterInfo & MRI,
Register Reg )
inline

Definition at line 93 of file MIPatternMatch.h.

References CR, llvm::MIPatternMatch::matchConstant(), MRI, and Reg.

Member Data Documentation

◆ CR

template<typename ConstT>
ConstT& llvm::MIPatternMatch::ConstantMatch< ConstT >::CR

Definition at line 91 of file MIPatternMatch.h.

Referenced by ConstantMatch(), and match().


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