LLVM 23.0.0git
llvm::PatternMatchHelpers::match_combine_or< Ty, Tys... > Struct Template Reference

Matching or combinator. More...

#include "llvm/Support/PatternMatchHelpers.h"

Inheritance diagram for llvm::PatternMatchHelpers::match_combine_or< Ty, Tys... >:
[legend]

Public Member Functions

 match_combine_or (const Ty &P, const Tys &...Ps)
template<typename ITy>
bool match (ITy *V) const
Public Member Functions inherited from llvm::PatternMatchHelpers::match_combine_or< Tys... >
bool match (ITy *) const

Public Attributes

Ty P

Detailed Description

template<typename Ty, typename... Tys>
struct llvm::PatternMatchHelpers::match_combine_or< Ty, Tys... >

Matching or combinator.

Definition at line 27 of file PatternMatchHelpers.h.

Constructor & Destructor Documentation

◆ match_combine_or()

template<typename Ty, typename... Tys>
llvm::PatternMatchHelpers::match_combine_or< Ty, Tys... >::match_combine_or ( const Ty & P,
const Tys &... Ps )
inline

Definition at line 29 of file PatternMatchHelpers.h.

References match_combine_or(), and P.

Referenced by match_combine_or().

Member Function Documentation

◆ match()

template<typename Ty, typename... Tys>
template<typename ITy>
bool llvm::PatternMatchHelpers::match_combine_or< Ty, Tys... >::match ( ITy * V) const
inline

Member Data Documentation

◆ P

template<typename Ty, typename... Tys>
Ty llvm::PatternMatchHelpers::match_combine_or< Ty, Tys... >::P

Definition at line 28 of file PatternMatchHelpers.h.

Referenced by match(), and match_combine_or().


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