LLVM 22.0.0git
llvm::SDPatternMatch::CondCode_match Struct Reference

#include "llvm/CodeGen/SDPatternMatch.h"

Public Member Functions

 CondCode_match (ISD::CondCode CC)
 CondCode_match (ISD::CondCode *CC)
template<typename MatchContext>
bool match (const MatchContext &, SDValue N)

Public Attributes

std::optional< ISD::CondCodeCCToMatch
ISD::CondCodeBindCC = nullptr

Detailed Description

Definition at line 1214 of file SDPatternMatch.h.

Constructor & Destructor Documentation

◆ CondCode_match() [1/2]

llvm::SDPatternMatch::CondCode_match::CondCode_match ( ISD::CondCode CC)
inlineexplicit

Definition at line 1218 of file SDPatternMatch.h.

References CCToMatch.

◆ CondCode_match() [2/2]

llvm::SDPatternMatch::CondCode_match::CondCode_match ( ISD::CondCode * CC)
inlineexplicit

Definition at line 1220 of file SDPatternMatch.h.

References BindCC.

Member Function Documentation

◆ match()

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

Definition at line 1222 of file SDPatternMatch.h.

References BindCC, CCToMatch, llvm::dyn_cast(), and N.

Member Data Documentation

◆ BindCC

ISD::CondCode* llvm::SDPatternMatch::CondCode_match::BindCC = nullptr

Definition at line 1216 of file SDPatternMatch.h.

Referenced by CondCode_match(), and match().

◆ CCToMatch

std::optional<ISD::CondCode> llvm::SDPatternMatch::CondCode_match::CCToMatch

Definition at line 1215 of file SDPatternMatch.h.

Referenced by CondCode_match(), and match().


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