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 213 of file SDPatternMatch.h.
|
inline |
Definition at line 218 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 214 of file SDPatternMatch.h.
Referenced by llvm::SDPatternMatch::SwitchContext< NewMatchContext, Pattern >::match().
Pattern llvm::SDPatternMatch::SwitchContext< NewMatchContext, Pattern >::P |
Definition at line 215 of file SDPatternMatch.h.
Referenced by llvm::SDPatternMatch::SwitchContext< NewMatchContext, Pattern >::match().