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

#include "llvm/IR/PatternMatch.h"

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

Public Member Functions

 SpecificBinaryOp_match (unsigned Opcode, const LHS_t &LHS, const RHS_t &RHS)
 
template<typename OpTy >
bool match (OpTy *V)
 
- Public Member Functions inherited from llvm::PatternMatch::BinaryOp_match< LHS_t, RHS_t, Opcode, Commutable >
 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

unsigned Opcode
 
- Public Attributes inherited from llvm::PatternMatch::BinaryOp_match< LHS_t, RHS_t, Opcode, Commutable >
LHS_t L
 
RHS_t R
 

Detailed Description

template<typename LHS_t, typename RHS_t, bool Commutable = false>
struct llvm::PatternMatch::SpecificBinaryOp_match< LHS_t, RHS_t, Commutable >

Definition at line 1291 of file PatternMatch.h.

Constructor & Destructor Documentation

◆ SpecificBinaryOp_match()

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

Definition at line 1295 of file PatternMatch.h.

Member Function Documentation

◆ match()

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

Member Data Documentation

◆ Opcode

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

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