LLVM 22.0.0git
llvm::PatternMatch::AnyBinaryOp_match< LHS_t, RHS_t, Commutable > Struct Template Reference

#include "llvm/IR/PatternMatch.h"

Public Member Functions

 AnyBinaryOp_match (const LHS_t &LHS, const RHS_t &RHS)
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, bool Commutable = false>
struct llvm::PatternMatch::AnyBinaryOp_match< LHS_t, RHS_t, Commutable >

Definition at line 1110 of file PatternMatch.h.

Constructor & Destructor Documentation

◆ AnyBinaryOp_match()

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

Definition at line 1116 of file PatternMatch.h.

References L, LHS, R, and RHS.

Member Function Documentation

◆ match()

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

Definition at line 1118 of file PatternMatch.h.

References llvm::dyn_cast(), I, L, and R.

Member Data Documentation

◆ L

template<typename LHS_t, typename RHS_t, bool Commutable = false>
LHS_t llvm::PatternMatch::AnyBinaryOp_match< LHS_t, RHS_t, Commutable >::L

Definition at line 1111 of file PatternMatch.h.

Referenced by AnyBinaryOp_match(), and match().

◆ R

template<typename LHS_t, typename RHS_t, bool Commutable = false>
RHS_t llvm::PatternMatch::AnyBinaryOp_match< LHS_t, RHS_t, Commutable >::R

Definition at line 1112 of file PatternMatch.h.

Referenced by AnyBinaryOp_match(), and match().


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