LLVM 22.0.0git
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 1130 of file SDPatternMatch.h.

Constructor & Destructor Documentation

◆ Zero_match()

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

Definition at line 1133 of file SDPatternMatch.h.

References AllowUndefs.

Member Function Documentation

◆ match()

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

Definition at line 1136 of file SDPatternMatch.h.

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

Member Data Documentation

◆ AllowUndefs

bool llvm::SDPatternMatch::Zero_match::AllowUndefs

Definition at line 1131 of file SDPatternMatch.h.

Referenced by match(), and Zero_match().


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