LLVM 22.0.0git
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, SDNodeFlags Flgs=SDNodeFlags())
template<typename MatchContext>
bool match (const MatchContext &Ctx, SDValue N)

Public Attributes

unsigned Opcode
LHS_P LHS
RHS_P RHS
SDNodeFlags Flags

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 596 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,
SDNodeFlags Flgs = SDNodeFlags() )
inline

Definition at line 601 of file SDPatternMatch.h.

References Flags, LHS, Opc, Opcode, and RHS.

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>
SDNodeFlags llvm::SDPatternMatch::BinaryOpc_match< LHS_P, RHS_P, Commutable, ExcludeChain >::Flags

Definition at line 600 of file SDPatternMatch.h.

Referenced by BinaryOpc_match(), and match().

◆ 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

Definition at line 598 of file SDPatternMatch.h.

Referenced by BinaryOpc_match(), and match().

◆ 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

Definition at line 597 of file SDPatternMatch.h.

Referenced by BinaryOpc_match(), and match().

◆ 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

Definition at line 599 of file SDPatternMatch.h.

Referenced by BinaryOpc_match(), and match().


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