LLVM  15.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::MIPatternMatch::BinaryOpc_match< LHS_P, RHS_P, Commutable > Struct Template Reference

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

Collaboration diagram for llvm::MIPatternMatch::BinaryOpc_match< LHS_P, RHS_P, Commutable >:
Collaboration graph
[legend]

Public Member Functions

 BinaryOpc_match (unsigned Opcode, const LHS_P &LHS, const RHS_P &RHS)
 
template<typename OpTy >
bool match (const MachineRegisterInfo &MRI, OpTy &&Op)
 

Public Attributes

unsigned Opc
 
LHS_P L
 
RHS_P R
 

Detailed Description

template<typename LHS_P, typename RHS_P, bool Commutable = false>
struct llvm::MIPatternMatch::BinaryOpc_match< LHS_P, RHS_P, Commutable >

Definition at line 385 of file MIPatternMatch.h.

Constructor & Destructor Documentation

◆ BinaryOpc_match()

template<typename LHS_P , typename RHS_P , bool Commutable = false>
llvm::MIPatternMatch::BinaryOpc_match< LHS_P, RHS_P, Commutable >::BinaryOpc_match ( unsigned  Opcode,
const LHS_P &  LHS,
const RHS_P &  RHS 
)
inline

Definition at line 390 of file MIPatternMatch.h.

Member Function Documentation

◆ match()

template<typename LHS_P , typename RHS_P , bool Commutable = false>
template<typename OpTy >
bool llvm::MIPatternMatch::BinaryOpc_match< LHS_P, RHS_P, Commutable >::match ( const MachineRegisterInfo MRI,
OpTy &&  Op 
)
inline

Member Data Documentation

◆ L

template<typename LHS_P , typename RHS_P , bool Commutable = false>
LHS_P llvm::MIPatternMatch::BinaryOpc_match< LHS_P, RHS_P, Commutable >::L

◆ Opc

template<typename LHS_P , typename RHS_P , bool Commutable = false>
unsigned llvm::MIPatternMatch::BinaryOpc_match< LHS_P, RHS_P, Commutable >::Opc

◆ R

template<typename LHS_P , typename RHS_P , bool Commutable = false>
RHS_P llvm::MIPatternMatch::BinaryOpc_match< LHS_P, RHS_P, Commutable >::R

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