LLVM  8.0.1
Public Member Functions | Public Attributes | List of all members
llvm::MIPatternMatch::OneUse_match< SubPatternT > Struct Template Reference

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

Collaboration diagram for llvm::MIPatternMatch::OneUse_match< SubPatternT >:
Collaboration graph
[legend]

Public Member Functions

 OneUse_match (const SubPatternT &SP)
 
template<typename OpTy >
bool match (const MachineRegisterInfo &MRI, unsigned Reg)
 

Public Attributes

SubPatternT SubPat
 

Detailed Description

template<typename SubPatternT>
struct llvm::MIPatternMatch::OneUse_match< SubPatternT >

Definition at line 30 of file MIPatternMatch.h.

Constructor & Destructor Documentation

◆ OneUse_match()

template<typename SubPatternT >
llvm::MIPatternMatch::OneUse_match< SubPatternT >::OneUse_match ( const SubPatternT &  SP)
inline

Definition at line 32 of file MIPatternMatch.h.

Member Function Documentation

◆ match()

template<typename SubPatternT >
template<typename OpTy >
bool llvm::MIPatternMatch::OneUse_match< SubPatternT >::match ( const MachineRegisterInfo MRI,
unsigned  Reg 
)
inline

Definition at line 35 of file MIPatternMatch.h.

References llvm::MachineRegisterInfo::hasOneUse().

Member Data Documentation

◆ SubPat

template<typename SubPatternT >
SubPatternT llvm::MIPatternMatch::OneUse_match< SubPatternT >::SubPat

Definition at line 31 of file MIPatternMatch.h.


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