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

Public Member Functions

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

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 1150 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 1156 of file PatternMatch.h.

References L, LHS, R, and RHS.

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

Definition at line 1168 of file PatternMatch.h.

References match().

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

Definition at line 1151 of file PatternMatch.h.

Referenced by BinaryOp_match(), and match().

◆ 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

Definition at line 1152 of file PatternMatch.h.

Referenced by BinaryOp_match(), and match().


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