LLVM 20.0.0git
|
Switch to a different MatchContext for subsequent patterns. More...
#include "llvm/CodeGen/SDPatternMatch.h"
Public Member Functions | |
template<typename OrigMatchContext > | |
bool | match (const OrigMatchContext &, SDValue N) |
Public Attributes | |
const NewMatchContext & | Ctx |
Pattern | P |
Switch to a different MatchContext for subsequent patterns.
Definition at line 211 of file SDPatternMatch.h.
|
inline |
Definition at line 216 of file SDPatternMatch.h.
References llvm::SDPatternMatch::SwitchContext< NewMatchContext, Pattern >::Ctx, llvm::Pattern::match(), N, and llvm::SDPatternMatch::SwitchContext< NewMatchContext, Pattern >::P.
const NewMatchContext& llvm::SDPatternMatch::SwitchContext< NewMatchContext, Pattern >::Ctx |
Definition at line 212 of file SDPatternMatch.h.
Referenced by llvm::SDPatternMatch::SwitchContext< NewMatchContext, Pattern >::match().
Pattern llvm::SDPatternMatch::SwitchContext< NewMatchContext, Pattern >::P |
Definition at line 213 of file SDPatternMatch.h.
Referenced by llvm::SDPatternMatch::SwitchContext< NewMatchContext, Pattern >::match().