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

#include "llvm/CodeGen/SDPatternMatch.h"

Public Member Functions

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

Public Attributes

bool AllowUndefs
 

Detailed Description

Definition at line 1140 of file SDPatternMatch.h.

Constructor & Destructor Documentation

◆ Ones_match()

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

Definition at line 1143 of file SDPatternMatch.h.

Member Function Documentation

◆ match()

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

Definition at line 1145 of file SDPatternMatch.h.

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

Member Data Documentation

◆ AllowUndefs

bool llvm::SDPatternMatch::Ones_match::AllowUndefs

Definition at line 1141 of file SDPatternMatch.h.

Referenced by match().


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