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 1030 of file SDPatternMatch.h.

Constructor & Destructor Documentation

◆ CondCode_match() [1/2]

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

Definition at line 1034 of file SDPatternMatch.h.

◆ CondCode_match() [2/2]

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

Definition at line 1036 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 1038 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 1032 of file SDPatternMatch.h.

Referenced by match().

◆ CCToMatch

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

Definition at line 1031 of file SDPatternMatch.h.

Referenced by match().


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