LLVM 23.0.0git
llvm::VPlanPatternMatch::GetElementPtr_match Struct Reference

Match a GEP recipe (VPWidenGEPRecipe, VPInstruction, or VPReplicateRecipe) and bind the source element type and operands. More...

#include "Transforms/Vectorize/VPlanPatternMatch.h"

Public Member Functions

 GetElementPtr_match (Type *&SourceElementType, ArrayRef< VPValue * > &Operands)
template<typename ITy>
bool match (ITy *V) const

Public Attributes

Type *& SourceElementType
ArrayRef< VPValue * > & Operands

Detailed Description

Match a GEP recipe (VPWidenGEPRecipe, VPInstruction, or VPReplicateRecipe) and bind the source element type and operands.

Definition at line 968 of file VPlanPatternMatch.h.

Constructor & Destructor Documentation

◆ GetElementPtr_match()

llvm::VPlanPatternMatch::GetElementPtr_match::GetElementPtr_match ( Type *& SourceElementType,
ArrayRef< VPValue * > & Operands )
inline

Definition at line 972 of file VPlanPatternMatch.h.

References Operands, and SourceElementType.

Member Function Documentation

◆ match()

template<typename ITy>
bool llvm::VPlanPatternMatch::GetElementPtr_match::match ( ITy * V) const
inline

Definition at line 975 of file VPlanPatternMatch.h.

Member Data Documentation

◆ Operands

ArrayRef<VPValue *>& llvm::VPlanPatternMatch::GetElementPtr_match::Operands

Definition at line 970 of file VPlanPatternMatch.h.

Referenced by GetElementPtr_match().

◆ SourceElementType

Type*& llvm::VPlanPatternMatch::GetElementPtr_match::SourceElementType

Definition at line 969 of file VPlanPatternMatch.h.

Referenced by GetElementPtr_match().


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