LLVM  16.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"

Collaboration diagram for llvm::PatternMatch::deferredval_ty< Class >:
Collaboration graph
[legend]

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 776 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 779 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 781 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 777 of file PatternMatch.h.

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


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