LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
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 852 of file SDPatternMatch.h.

Constructor & Destructor Documentation

◆ CondCode_match() [1/2]

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

Definition at line 856 of file SDPatternMatch.h.

◆ CondCode_match() [2/2]

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

Definition at line 858 of file SDPatternMatch.h.

Member Function Documentation

◆ match()

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

Definition at line 860 of file SDPatternMatch.h.

References BindCC, CC, CCToMatch, and N.

Member Data Documentation

◆ BindCC

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

Definition at line 854 of file SDPatternMatch.h.

Referenced by match().

◆ CCToMatch

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

Definition at line 853 of file SDPatternMatch.h.

Referenced by match().


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