LLVM 22.0.0git
llvm::PatternMatch::MatchFunctor< Val, Pattern > Struct Template Reference

#include "llvm/IR/PatternMatch.h"

Public Member Functions

 MatchFunctor (const Pattern &P)
bool operator() (Val *V) const

Public Attributes

const PatternP

Detailed Description

template<typename Val, typename Pattern>
struct llvm::PatternMatch::MatchFunctor< Val, Pattern >

Definition at line 53 of file PatternMatch.h.

Constructor & Destructor Documentation

◆ MatchFunctor()

template<typename Val, typename Pattern>
llvm::PatternMatch::MatchFunctor< Val, Pattern >::MatchFunctor ( const Pattern & P)
inline

Definition at line 55 of file PatternMatch.h.

References P.

Member Function Documentation

◆ operator()()

template<typename Val, typename Pattern>
bool llvm::PatternMatch::MatchFunctor< Val, Pattern >::operator() ( Val * V) const
inline

Definition at line 56 of file PatternMatch.h.

References P.

Member Data Documentation

◆ P

template<typename Val, typename Pattern>
const Pattern& llvm::PatternMatch::MatchFunctor< Val, Pattern >::P

Definition at line 54 of file PatternMatch.h.

Referenced by MatchFunctor(), and operator()().


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