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

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

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

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

Constructor & Destructor Documentation

◆ ICstOrSplatMatch()

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

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

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

Member Data Documentation

◆ CR

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

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