LLVM 22.0.0git
llvm::PatternMatch::deferredval_ty< Class > Struct Template Reference

Stores a reference to the Value *, not the Value * itself, thus can be used in commutative matchers. More...

#include "llvm/IR/PatternMatch.h"

Public Member Functions

 deferredval_ty (Class *const &V)
template<typename ITy>
bool match (ITy *const V) const

Public Attributes

Class *constVal

Detailed Description

template<typename Class>
struct llvm::PatternMatch::deferredval_ty< Class >

Stores a reference to the Value *, not the Value * itself, thus can be used in commutative matchers.

Definition at line 966 of file PatternMatch.h.

Constructor & Destructor Documentation

◆ deferredval_ty()

template<typename Class>
llvm::PatternMatch::deferredval_ty< Class >::deferredval_ty ( Class *const & V)
inline

Definition at line 969 of file PatternMatch.h.

References Val.

Member Function Documentation

◆ match()

template<typename Class>
template<typename ITy>
bool llvm::PatternMatch::deferredval_ty< Class >::match ( ITy *const V) const
inline

Definition at line 971 of file PatternMatch.h.

References Val.

Member Data Documentation

◆ Val

template<typename Class>
Class* const& llvm::PatternMatch::deferredval_ty< Class >::Val

Definition at line 967 of file PatternMatch.h.

Referenced by deferredval_ty(), and match().


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