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

Matcher for a specific value, but stores a reference to the value, not the value itself. More...

#include "llvm/Support/PatternMatchHelpers.h"

Public Member Functions

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

Public Attributes

Ty *constVal

Detailed Description

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

Matcher for a specific value, but stores a reference to the value, not the value itself.

Definition at line 85 of file PatternMatchHelpers.h.

Constructor & Destructor Documentation

◆ match_deferred()

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

Definition at line 87 of file PatternMatchHelpers.h.

References Val.

Member Function Documentation

◆ match()

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

Definition at line 88 of file PatternMatchHelpers.h.

References Val.

Member Data Documentation

◆ Val

template<typename Ty>
Ty* const& llvm::PatternMatchHelpers::match_deferred< Ty >::Val

Definition at line 86 of file PatternMatchHelpers.h.

Referenced by match(), and match_deferred().


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