LLVM 23.0.0git
slpvectorizer::BoUpSLP::StridedPtrInfo Struct Reference

If we decide to generate strided load / store, this struct contains all the necessary info. More...

Public Attributes

ValueStrideVal = nullptr
const SCEVStrideSCEV = nullptr
FixedVectorTypeTy = nullptr

Detailed Description

If we decide to generate strided load / store, this struct contains all the necessary info.

It's fields are calculated by analyzeRtStrideCandidate and analyzeConstantStrideCandidate. Note that Stride can be given either as a SCEV or as a Value if it already exists. To get the stride in bytes, StrideVal (or value obtained from StrideSCEV) has to by multiplied by the size of element of FixedVectorType.

Definition at line 2064 of file SLPVectorizer.cpp.

Member Data Documentation

◆ StrideSCEV

const SCEV* slpvectorizer::BoUpSLP::StridedPtrInfo::StrideSCEV = nullptr

◆ StrideVal

Value* slpvectorizer::BoUpSLP::StridedPtrInfo::StrideVal = nullptr

◆ Ty

FixedVectorType* slpvectorizer::BoUpSLP::StridedPtrInfo::Ty = nullptr

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