LLVM 23.0.0git
PatternMatchHelpers.h File Reference

Go to the source code of this file.

Classes

struct  llvm::PatternMatchHelpers::match_combine_or< Tys >
 Matching or combinator leaf case. More...
struct  llvm::PatternMatchHelpers::match_combine_or< Ty, Tys... >
 Matching or combinator. More...
struct  llvm::PatternMatchHelpers::match_combine_and< Tys >
 Matching and combinator leaf case. More...
struct  llvm::PatternMatchHelpers::match_combine_and< Ty, Tys... >
 Matching and combinator. More...
struct  llvm::PatternMatchHelpers::match_isa< To >
 A match-wrapper around isa. More...

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::PatternMatchHelpers

Functions

template<typename... Ty>
match_combine_or< Ty... > llvm::PatternMatchHelpers::m_CombineOr (const Ty &...Ps)
 Combine pattern matchers matching any of Ps patterns.
template<typename... Ty>
match_combine_and< Ty... > llvm::PatternMatchHelpers::m_CombineAnd (const Ty &...Ps)
 Combine pattern matchers matching all of Ps patterns.
template<typename... To>
match_isa< To... > llvm::PatternMatchHelpers::m_Isa ()
template<typename... To, typename SubPattern>
auto llvm::PatternMatchHelpers::m_Isa (const SubPattern &P)
 A variant of m_Isa that also matches SubPattern.