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

#include "llvm/CodeGen/SDPatternMatch.h"

Public Member Functions

 Zero_match (bool AllowUndefs)
 
template<typename MatchContext >
bool match (const MatchContext &, SDValue N) const
 

Public Attributes

bool AllowUndefs
 

Detailed Description

Definition at line 1129 of file SDPatternMatch.h.

Constructor & Destructor Documentation

◆ Zero_match()

llvm::SDPatternMatch::Zero_match::Zero_match ( bool  AllowUndefs)
inlineexplicit

Definition at line 1132 of file SDPatternMatch.h.

Member Function Documentation

◆ match()

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

Definition at line 1135 of file SDPatternMatch.h.

References AllowUndefs, llvm::isZeroOrZeroSplat(), and N.

Member Data Documentation

◆ AllowUndefs

bool llvm::SDPatternMatch::Zero_match::AllowUndefs

Definition at line 1130 of file SDPatternMatch.h.

Referenced by match().


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