LLVM 23.0.0git
llvm::PatternMatchHelpers::match_bind< Ty > Struct Template Reference

Matcher to bind the captured value. More...

#include "llvm/Support/PatternMatchHelpers.h"

Inheritance diagram for llvm::PatternMatchHelpers::match_bind< Ty >:
[legend]

Public Member Functions

 match_bind (Ty *&V)
template<typename ITy>
bool match (ITy *V) const

Public Attributes

Ty *& VR

Detailed Description

template<typename Ty>
struct llvm::PatternMatchHelpers::match_bind< Ty >

Matcher to bind the captured value.

Definition at line 92 of file PatternMatchHelpers.h.

Constructor & Destructor Documentation

◆ match_bind()

template<typename Ty>
llvm::PatternMatchHelpers::match_bind< Ty >::match_bind ( Ty *& V)
inline

Definition at line 94 of file PatternMatchHelpers.h.

References VR.

Member Function Documentation

◆ match()

template<typename Ty>
template<typename ITy>
bool llvm::PatternMatchHelpers::match_bind< Ty >::match ( ITy * V) const
inline

Definition at line 95 of file PatternMatchHelpers.h.

References llvm::dyn_cast(), and VR.

Member Data Documentation

◆ VR

template<typename Ty>
Ty*& llvm::PatternMatchHelpers::match_bind< Ty >::VR

Definition at line 93 of file PatternMatchHelpers.h.

Referenced by match(), and match_bind().


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