LLVM 22.0.0git
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 >:
[legend]

Public Member Functions

 SpecificBinaryOp_match (unsigned Opcode, const LHS_t &LHS, const RHS_t &RHS)
template<typename OpTy>
bool match (OpTy *V) const
Public Member Functions inherited from llvm::PatternMatch::BinaryOp_match< LHS_t, RHS_t, 0, false >
 BinaryOp_match (const LHS_t &LHS, const RHS_t &RHS)
bool match (unsigned Opc, OpTy *V) const

Public Attributes

unsigned Opcode
Public Attributes inherited from llvm::PatternMatch::BinaryOp_match< LHS_t, RHS_t, 0, false >
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 1482 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

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) const
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

Definition at line 1484 of file PatternMatch.h.

Referenced by match(), and SpecificBinaryOp_match().


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