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

#include "llvm/CodeGen/SDPatternMatch.h"

Public Member Functions

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

Public Attributes

bool AllowUndefs
 

Detailed Description

Definition at line 1150 of file SDPatternMatch.h.

Constructor & Destructor Documentation

◆ AllOnes_match()

llvm::SDPatternMatch::AllOnes_match::AllOnes_match ( bool  AllowUndefs)
inline

Definition at line 1153 of file SDPatternMatch.h.

Member Function Documentation

◆ match()

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

Definition at line 1155 of file SDPatternMatch.h.

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

Member Data Documentation

◆ AllowUndefs

bool llvm::SDPatternMatch::AllOnes_match::AllowUndefs

Definition at line 1151 of file SDPatternMatch.h.

Referenced by match().


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