LLVM 22.0.0git
llvm::SDPatternMatch::Operands_match< OpIdx, OpndPred, OpndPreds... > Struct Template Reference

#include "llvm/CodeGen/SDPatternMatch.h"

Inheritance diagram for llvm::SDPatternMatch::Operands_match< OpIdx, OpndPred, OpndPreds... >:
[legend]

Public Member Functions

 Operands_match (const OpndPred &p, const OpndPreds &...preds)
template<typename MatchContext>
bool match (const MatchContext &Ctx, SDValue N)
Public Member Functions inherited from llvm::SDPatternMatch::Operands_match< OpIdx+1, OpndPreds... >
bool match (const MatchContext &Ctx, SDValue N)

Public Attributes

OpndPred P

Detailed Description

template<unsigned OpIdx, typename OpndPred, typename... OpndPreds>
struct llvm::SDPatternMatch::Operands_match< OpIdx, OpndPred, OpndPreds... >

Definition at line 452 of file SDPatternMatch.h.

Constructor & Destructor Documentation

◆ Operands_match()

template<unsigned OpIdx, typename OpndPred, typename... OpndPreds>
llvm::SDPatternMatch::Operands_match< OpIdx, OpndPred, OpndPreds... >::Operands_match ( const OpndPred & p,
const OpndPreds &... preds )
inline

Definition at line 456 of file SDPatternMatch.h.

References Operands_match(), OpIdx, and P.

Referenced by Operands_match().

Member Function Documentation

◆ match()

template<unsigned OpIdx, typename OpndPred, typename... OpndPreds>
template<typename MatchContext>
bool llvm::SDPatternMatch::Operands_match< OpIdx, OpndPred, OpndPreds... >::match ( const MatchContext & Ctx,
SDValue N )
inline

Member Data Documentation

◆ P

template<unsigned OpIdx, typename OpndPred, typename... OpndPreds>
OpndPred llvm::SDPatternMatch::Operands_match< OpIdx, OpndPred, OpndPreds... >::P

Definition at line 454 of file SDPatternMatch.h.

Referenced by match(), and Operands_match().


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