LLVM 19.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 787 of file SDPatternMatch.h.

Constructor & Destructor Documentation

◆ CondCode_match() [1/2]

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

Definition at line 791 of file SDPatternMatch.h.

◆ CondCode_match() [2/2]

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

Definition at line 793 of file SDPatternMatch.h.

Member Function Documentation

◆ match()

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

Definition at line 795 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 789 of file SDPatternMatch.h.

Referenced by match().

◆ CCToMatch

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

Definition at line 788 of file SDPatternMatch.h.

Referenced by match().

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