LLVM  7.0.0svn
Public Member Functions | Public Attributes | List of all members
llvm::MIPatternMatch::BinaryOp_match< LHS_P, RHS_P, Opcode, Commutable > Struct Template Reference

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

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

Public Member Functions

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

Public Attributes

LHS_P L
 
RHS_P R
 

Detailed Description

template<typename LHS_P, typename RHS_P, unsigned Opcode, bool Commutable = false>
struct llvm::MIPatternMatch::BinaryOp_match< LHS_P, RHS_P, Opcode, Commutable >

Definition at line 175 of file MIPatternMatch.h.

Constructor & Destructor Documentation

◆ BinaryOp_match()

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

Definition at line 179 of file MIPatternMatch.h.

Member Function Documentation

◆ match()

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

Member Data Documentation

◆ L

template<typename LHS_P, typename RHS_P, unsigned Opcode, bool Commutable = false>
LHS_P llvm::MIPatternMatch::BinaryOp_match< LHS_P, RHS_P, Opcode, Commutable >::L

Definition at line 176 of file MIPatternMatch.h.

◆ R

template<typename LHS_P, typename RHS_P, unsigned Opcode, bool Commutable = false>
RHS_P llvm::MIPatternMatch::BinaryOp_match< LHS_P, RHS_P, Opcode, Commutable >::R

Definition at line 177 of file MIPatternMatch.h.


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