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

#include "llvm/CodeGen/SDPatternMatch.h"

Public Member Functions

 ConstantInt_match (APInt *V)
 
template<typename MatchContext >
bool match (const MatchContext &, SDValue N)
 

Public Attributes

APIntBindVal
 

Detailed Description

Definition at line 741 of file SDPatternMatch.h.

Constructor & Destructor Documentation

◆ ConstantInt_match()

llvm::SDPatternMatch::ConstantInt_match::ConstantInt_match ( APInt V)
inlineexplicit

Definition at line 744 of file SDPatternMatch.h.

Member Function Documentation

◆ match()

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

Definition at line 746 of file SDPatternMatch.h.

References BindVal, llvm::CallingConv::C, llvm::ISD::isConstantSplatVector(), and N.

Member Data Documentation

◆ BindVal

APInt* llvm::SDPatternMatch::ConstantInt_match::BindVal

Definition at line 742 of file SDPatternMatch.h.

Referenced by match().


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