LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::SDPatternMatch::BinaryOpc_match< LHS_P, RHS_P, Commutable, ExcludeChain > Struct Template Reference

#include "llvm/CodeGen/SDPatternMatch.h"

Public Member Functions

 BinaryOpc_match (unsigned Opc, const LHS_P &L, const RHS_P &R, std::optional< SDNodeFlags > Flgs=std::nullopt)
 
template<typename MatchContext >
bool match (const MatchContext &Ctx, SDValue N)
 

Public Attributes

unsigned Opcode
 
LHS_P LHS
 
RHS_P RHS
 
std::optional< SDNodeFlagsFlags
 

Detailed Description

template<typename LHS_P, typename RHS_P, bool Commutable = false, bool ExcludeChain = false>
struct llvm::SDPatternMatch::BinaryOpc_match< LHS_P, RHS_P, Commutable, ExcludeChain >

Definition at line 513 of file SDPatternMatch.h.

Constructor & Destructor Documentation

◆ BinaryOpc_match()

template<typename LHS_P , typename RHS_P , bool Commutable = false, bool ExcludeChain = false>
llvm::SDPatternMatch::BinaryOpc_match< LHS_P, RHS_P, Commutable, ExcludeChain >::BinaryOpc_match ( unsigned  Opc,
const LHS_P &  L,
const RHS_P &  R,
std::optional< SDNodeFlags Flgs = std::nullopt 
)
inline

Definition at line 518 of file SDPatternMatch.h.

Member Function Documentation

◆ match()

template<typename LHS_P , typename RHS_P , bool Commutable = false, bool ExcludeChain = false>
template<typename MatchContext >
bool llvm::SDPatternMatch::BinaryOpc_match< LHS_P, RHS_P, Commutable, ExcludeChain >::match ( const MatchContext &  Ctx,
SDValue  N 
)
inline

Member Data Documentation

◆ Flags

template<typename LHS_P , typename RHS_P , bool Commutable = false, bool ExcludeChain = false>
std::optional<SDNodeFlags> llvm::SDPatternMatch::BinaryOpc_match< LHS_P, RHS_P, Commutable, ExcludeChain >::Flags

◆ LHS

template<typename LHS_P , typename RHS_P , bool Commutable = false, bool ExcludeChain = false>
LHS_P llvm::SDPatternMatch::BinaryOpc_match< LHS_P, RHS_P, Commutable, ExcludeChain >::LHS

◆ Opcode

template<typename LHS_P , typename RHS_P , bool Commutable = false, bool ExcludeChain = false>
unsigned llvm::SDPatternMatch::BinaryOpc_match< LHS_P, RHS_P, Commutable, ExcludeChain >::Opcode

◆ RHS

template<typename LHS_P , typename RHS_P , bool Commutable = false, bool ExcludeChain = false>
RHS_P llvm::SDPatternMatch::BinaryOpc_match< LHS_P, RHS_P, Commutable, ExcludeChain >::RHS

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