LLVM 19.0.0git
Public Member Functions | Public Attributes | List of all members
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)
 

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 825 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 828 of file PatternMatch.h.

Member Function Documentation

◆ match()

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

Definition at line 830 of file PatternMatch.h.

References llvm::PatternMatch::deferredval_ty< Class >::Val.

Member Data Documentation

◆ Val

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

Definition at line 826 of file PatternMatch.h.

Referenced by llvm::PatternMatch::deferredval_ty< Class >::match().


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