LLVM 22.0.0git
llvm::PatternMatch::DisjointOr_match< LHS, RHS, Commutable > Struct Template Reference

#include "llvm/IR/PatternMatch.h"

Public Member Functions

 DisjointOr_match (const LHS &L, const RHS &R)
template<typename OpTy>
bool match (OpTy *V) const

Public Attributes

LHS L
RHS R

Detailed Description

template<typename LHS, typename RHS, bool Commutable = false>
struct llvm::PatternMatch::DisjointOr_match< LHS, RHS, Commutable >

Definition at line 1502 of file PatternMatch.h.

Constructor & Destructor Documentation

◆ DisjointOr_match()

template<typename LHS, typename RHS, bool Commutable = false>
llvm::PatternMatch::DisjointOr_match< LHS, RHS, Commutable >::DisjointOr_match ( const LHS & L,
const RHS & R )
inline

Definition at line 1506 of file PatternMatch.h.

References L, LHS, R, and RHS.

Member Function Documentation

◆ match()

template<typename LHS, typename RHS, bool Commutable = false>
template<typename OpTy>
bool llvm::PatternMatch::DisjointOr_match< LHS, RHS, Commutable >::match ( OpTy * V) const
inline

Definition at line 1508 of file PatternMatch.h.

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

Member Data Documentation

◆ L

template<typename LHS, typename RHS, bool Commutable = false>
LHS llvm::PatternMatch::DisjointOr_match< LHS, RHS, Commutable >::L

Definition at line 1503 of file PatternMatch.h.

Referenced by DisjointOr_match(), and match().

◆ R

template<typename LHS, typename RHS, bool Commutable = false>
RHS llvm::PatternMatch::DisjointOr_match< LHS, RHS, Commutable >::R

Definition at line 1504 of file PatternMatch.h.

Referenced by DisjointOr_match(), and match().


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