LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::SDPatternMatch::UnaryOpc_match< Opnd_P, ExcludeChain > Struct Template Reference

#include "llvm/CodeGen/SDPatternMatch.h"

Public Member Functions

 UnaryOpc_match (unsigned Opc, const Opnd_P &Op, std::optional< SDNodeFlags > Flgs=std::nullopt)
 
template<typename MatchContext >
bool match (const MatchContext &Ctx, SDValue N)
 

Public Attributes

unsigned Opcode
 
Opnd_P Opnd
 
std::optional< SDNodeFlagsFlags
 

Detailed Description

template<typename Opnd_P, bool ExcludeChain = false>
struct llvm::SDPatternMatch::UnaryOpc_match< Opnd_P, ExcludeChain >

Definition at line 689 of file SDPatternMatch.h.

Constructor & Destructor Documentation

◆ UnaryOpc_match()

template<typename Opnd_P , bool ExcludeChain = false>
llvm::SDPatternMatch::UnaryOpc_match< Opnd_P, ExcludeChain >::UnaryOpc_match ( unsigned  Opc,
const Opnd_P &  Op,
std::optional< SDNodeFlags Flgs = std::nullopt 
)
inline

Definition at line 693 of file SDPatternMatch.h.

Member Function Documentation

◆ match()

template<typename Opnd_P , bool ExcludeChain = false>
template<typename MatchContext >
bool llvm::SDPatternMatch::UnaryOpc_match< Opnd_P, ExcludeChain >::match ( const MatchContext &  Ctx,
SDValue  N 
)
inline

Member Data Documentation

◆ Flags

template<typename Opnd_P , bool ExcludeChain = false>
std::optional<SDNodeFlags> llvm::SDPatternMatch::UnaryOpc_match< Opnd_P, ExcludeChain >::Flags

◆ Opcode

template<typename Opnd_P , bool ExcludeChain = false>
unsigned llvm::SDPatternMatch::UnaryOpc_match< Opnd_P, ExcludeChain >::Opcode

◆ Opnd

template<typename Opnd_P , bool ExcludeChain = false>
Opnd_P llvm::SDPatternMatch::UnaryOpc_match< Opnd_P, ExcludeChain >::Opnd

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