LLVM 23.0.0git
llvm::SDPatternMatch::Value_bind< PredPattern > Struct Template Reference

#include "llvm/CodeGen/SDPatternMatch.h"

Public Member Functions

 Value_bind (SDValue &N, const PredPattern &P)
template<typename MatchContext>
bool match (const MatchContext &Ctx, SDValue N)

Public Attributes

SDValueBindVal
PredPattern Pred

Detailed Description

template<typename PredPattern>
struct llvm::SDPatternMatch::Value_bind< PredPattern >

Definition at line 264 of file SDPatternMatch.h.

Constructor & Destructor Documentation

◆ Value_bind()

template<typename PredPattern>
llvm::SDPatternMatch::Value_bind< PredPattern >::Value_bind ( SDValue & N,
const PredPattern & P )
inline

Definition at line 268 of file SDPatternMatch.h.

References BindVal, N, P, and Pred.

Member Function Documentation

◆ match()

template<typename PredPattern>
template<typename MatchContext>
bool llvm::SDPatternMatch::Value_bind< PredPattern >::match ( const MatchContext & Ctx,
SDValue N )
inline

Definition at line 271 of file SDPatternMatch.h.

References BindVal, N, and Pred.

Member Data Documentation

◆ BindVal

template<typename PredPattern>
SDValue& llvm::SDPatternMatch::Value_bind< PredPattern >::BindVal

Definition at line 265 of file SDPatternMatch.h.

Referenced by match(), and Value_bind().

◆ Pred

template<typename PredPattern>
PredPattern llvm::SDPatternMatch::Value_bind< PredPattern >::Pred

Definition at line 266 of file SDPatternMatch.h.

Referenced by match(), and Value_bind().


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