LLVM  15.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::MIPatternMatch::ConstantMatch< ConstT > Struct Template Reference

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

Collaboration diagram for llvm::MIPatternMatch::ConstantMatch< ConstT >:
Collaboration graph
[legend]

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 78 of file MIPatternMatch.h.

Constructor & Destructor Documentation

◆ ConstantMatch()

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

Definition at line 80 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 81 of file MIPatternMatch.h.

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

Member Data Documentation

◆ CR

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

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