LLVM 22.0.0git
llvm::SDPatternMatch::Result_match< ResNo, Pattern > Struct Template Reference

#include "llvm/CodeGen/SDPatternMatch.h"

Public Member Functions

 Result_match (const Pattern &P)
template<typename MatchContext>
bool match (const MatchContext &Ctx, SDValue N)

Public Attributes

Pattern P

Detailed Description

template<unsigned ResNo, typename Pattern>
struct llvm::SDPatternMatch::Result_match< ResNo, Pattern >

Definition at line 111 of file SDPatternMatch.h.

Constructor & Destructor Documentation

◆ Result_match()

template<unsigned ResNo, typename Pattern>
llvm::SDPatternMatch::Result_match< ResNo, Pattern >::Result_match ( const Pattern & P)
inlineexplicit

Definition at line 114 of file SDPatternMatch.h.

References P.

Member Function Documentation

◆ match()

template<unsigned ResNo, typename Pattern>
template<typename MatchContext>
bool llvm::SDPatternMatch::Result_match< ResNo, Pattern >::match ( const MatchContext & Ctx,
SDValue N )
inline

Definition at line 117 of file SDPatternMatch.h.

References N, and P.

Member Data Documentation

◆ P

template<unsigned ResNo, typename Pattern>
Pattern llvm::SDPatternMatch::Result_match< ResNo, Pattern >::P

Definition at line 112 of file SDPatternMatch.h.

Referenced by match(), and Result_match().


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