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

#include "llvm/IR/PatternMatch.h"

Public Member Functions

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

Public Attributes

LHS L
RHS R

Detailed Description

template<typename LHS, typename RHS, unsigned Opcode, bool Commutable = false>
struct llvm::PatternMatch::LogicalOp_match< LHS, RHS, Opcode, Commutable >

Definition at line 3167 of file PatternMatch.h.

Constructor & Destructor Documentation

◆ LogicalOp_match()

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

Definition at line 3171 of file PatternMatch.h.

References L, LHS, R, and RHS.

Member Function Documentation

◆ match()

template<typename LHS, typename RHS, unsigned Opcode, bool Commutable = false>
template<typename T>
bool llvm::PatternMatch::LogicalOp_match< LHS, RHS, Opcode, Commutable >::match ( T * V) const
inline

Definition at line 3173 of file PatternMatch.h.

References assert(), llvm::CallingConv::C, Cond, llvm::dyn_cast(), I, L, R, Select, and T.

Member Data Documentation

◆ L

template<typename LHS, typename RHS, unsigned Opcode, bool Commutable = false>
LHS llvm::PatternMatch::LogicalOp_match< LHS, RHS, Opcode, Commutable >::L

Definition at line 3168 of file PatternMatch.h.

Referenced by LogicalOp_match(), and match().

◆ R

template<typename LHS, typename RHS, unsigned Opcode, bool Commutable = false>
RHS llvm::PatternMatch::LogicalOp_match< LHS, RHS, Opcode, Commutable >::R

Definition at line 3169 of file PatternMatch.h.

Referenced by LogicalOp_match(), and match().


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