LLVM 22.0.0git
llvm::MIPatternMatch::And< Pred, Preds... > Struct Template Reference

#include "llvm/CodeGen/GlobalISel/MIPatternMatch.h"

Inheritance diagram for llvm::MIPatternMatch::And< Pred, Preds... >:
[legend]

Public Member Functions

 And (Pred &&p, Preds &&... preds)
template<typename MatchSrc>
bool match (const MachineRegisterInfo &MRI, MatchSrc &&src)
Public Member Functions inherited from llvm::MIPatternMatch::And< Preds... >
bool match (const MachineRegisterInfo &MRI, MatchSrc &&src)

Public Attributes

Pred P

Detailed Description

template<typename Pred, typename... Preds>
struct llvm::MIPatternMatch::And< Pred, Preds... >

Definition at line 322 of file MIPatternMatch.h.

Constructor & Destructor Documentation

◆ And()

template<typename Pred, typename... Preds>
llvm::MIPatternMatch::And< Pred, Preds... >::And ( Pred && p,
Preds &&... preds )
inline

Definition at line 324 of file MIPatternMatch.h.

References And(), and P.

Referenced by And().

Member Function Documentation

◆ match()

template<typename Pred, typename... Preds>
template<typename MatchSrc>
bool llvm::MIPatternMatch::And< Pred, Preds... >::match ( const MachineRegisterInfo & MRI,
MatchSrc && src )
inline

Definition at line 328 of file MIPatternMatch.h.

References llvm::MIPatternMatch::And< Preds >::match(), MRI, and P.

Member Data Documentation

◆ P

template<typename Pred, typename... Preds>
Pred llvm::MIPatternMatch::And< Pred, Preds... >::P

Definition at line 323 of file MIPatternMatch.h.

Referenced by And(), and match().


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