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

Constructor & Destructor Documentation

◆ Ones_match()

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

Definition at line 1147 of file SDPatternMatch.h.

References AllowUndefs.

Member Function Documentation

◆ match()

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

Definition at line 1149 of file SDPatternMatch.h.

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

Member Data Documentation

◆ AllowUndefs

bool llvm::SDPatternMatch::Ones_match::AllowUndefs

Definition at line 1145 of file SDPatternMatch.h.

Referenced by match(), and Ones_match().


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