LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
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 81 of file MIPatternMatch.h.

Constructor & Destructor Documentation

◆ ConstantMatch()

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

Definition at line 83 of file MIPatternMatch.h.

Member Function Documentation

◆ match()

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

Definition at line 84 of file MIPatternMatch.h.

References llvm::MIPatternMatch::ConstantMatch< ConstT >::CR, MRI, and Reg.

Member Data Documentation

◆ CR

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

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