LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::PatternMatch::BinaryOp_match< LHS_t, RHS_t, Opcode, Commutable > Struct Template Reference

#include "llvm/IR/PatternMatch.h"

Inheritance diagram for llvm::PatternMatch::BinaryOp_match< LHS_t, RHS_t, Opcode, Commutable >:
Inheritance graph
[legend]

Public Member Functions

 BinaryOp_match (const LHS_t &LHS, const RHS_t &RHS)
 
template<typename OpTy >
bool match (unsigned Opc, OpTy *V)
 
template<typename OpTy >
bool match (OpTy *V)
 

Public Attributes

LHS_t L
 
RHS_t R
 

Detailed Description

template<typename LHS_t, typename RHS_t, unsigned Opcode, bool Commutable = false>
struct llvm::PatternMatch::BinaryOp_match< LHS_t, RHS_t, Opcode, Commutable >

Definition at line 1070 of file PatternMatch.h.

Constructor & Destructor Documentation

◆ BinaryOp_match()

template<typename LHS_t , typename RHS_t , unsigned Opcode, bool Commutable = false>
llvm::PatternMatch::BinaryOp_match< LHS_t, RHS_t, Opcode, Commutable >::BinaryOp_match ( const LHS_t LHS,
const RHS_t RHS 
)
inline

Definition at line 1076 of file PatternMatch.h.

Member Function Documentation

◆ match() [1/2]

template<typename LHS_t , typename RHS_t , unsigned Opcode, bool Commutable = false>
template<typename OpTy >
bool llvm::PatternMatch::BinaryOp_match< LHS_t, RHS_t, Opcode, Commutable >::match ( OpTy *  V)
inline

◆ match() [2/2]

template<typename LHS_t , typename RHS_t , unsigned Opcode, bool Commutable = false>
template<typename OpTy >
bool llvm::PatternMatch::BinaryOp_match< LHS_t, RHS_t, Opcode, Commutable >::match ( unsigned  Opc,
OpTy *  V 
)
inline

Member Data Documentation

◆ L

template<typename LHS_t , typename RHS_t , unsigned Opcode, bool Commutable = false>
LHS_t llvm::PatternMatch::BinaryOp_match< LHS_t, RHS_t, Opcode, Commutable >::L

◆ R

template<typename LHS_t , typename RHS_t , unsigned Opcode, bool Commutable = false>
RHS_t llvm::PatternMatch::BinaryOp_match< LHS_t, RHS_t, Opcode, Commutable >::R

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