LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::SDPatternMatch::Opcode_match Struct Reference

#include "llvm/CodeGen/SDPatternMatch.h"

Public Member Functions

 Opcode_match (unsigned Opc)
 
template<typename MatchContext >
bool match (const MatchContext &Ctx, SDValue N)
 

Public Attributes

unsigned Opcode
 

Detailed Description

Definition at line 126 of file SDPatternMatch.h.

Constructor & Destructor Documentation

◆ Opcode_match()

llvm::SDPatternMatch::Opcode_match::Opcode_match ( unsigned  Opc)
inlineexplicit

Definition at line 129 of file SDPatternMatch.h.

Member Function Documentation

◆ match()

template<typename MatchContext >
bool llvm::SDPatternMatch::Opcode_match::match ( const MatchContext &  Ctx,
SDValue  N 
)
inline

Definition at line 132 of file SDPatternMatch.h.

References N, and Opcode.

Member Data Documentation

◆ Opcode

unsigned llvm::SDPatternMatch::Opcode_match::Opcode

Definition at line 127 of file SDPatternMatch.h.

Referenced by match().


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