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

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

Public Member Functions

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

Public Attributes

ConstT & CR
 

Detailed Description

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

Definition at line 116 of file MIPatternMatch.h.

Constructor & Destructor Documentation

◆ ICstOrSplatMatch()

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

Definition at line 118 of file MIPatternMatch.h.

Member Function Documentation

◆ match()

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

Definition at line 119 of file MIPatternMatch.h.

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

Member Data Documentation

◆ CR

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

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