Home
last modified time | relevance | path

Searched refs:ScopArrayInfo (Results 1 – 23 of 23) sorted by relevance

/external/llvm-project/polly/lib/Transform/
DMaximalStaticExpansion.cpp73 bool isExpandable(const ScopArrayInfo *SAI,
82 ScopArrayInfo *expandAccess(Scop &S, MemoryAccess *MA);
103 const isl::union_map &Dependences, ScopArrayInfo *ExpandedSAI,
111 void expandPhi(Scop &S, const ScopArrayInfo *SAI,
150 ScopArrayInfo *UserSAI = in filterDependences()
151 static_cast<ScopArrayInfo *>(TmpMapDomainId.get_user()); in filterDependences()
171 const ScopArrayInfo *SAI, SmallPtrSetImpl<MemoryAccess *> &Writes, in isExpandable()
317 ScopArrayInfo *ExpandedSAI, in mapAccess()
349 ScopArrayInfo *MaximalStaticExpander::expandAccess(Scop &S, MemoryAccess *MA) { in expandAccess()
417 void MaximalStaticExpander::expandPhi(Scop &S, const ScopArrayInfo *SAI, in expandPhi()
[all …]
DDeLICM.cpp552 bool isMappable(const ScopArrayInfo *SAI) { in isMappable()
615 computeValueUses(const ScopArrayInfo *SAI) { in computeValueUses()
665 bool tryMapValue(const ScopArrayInfo *SAI, isl::map TargetElt) { in tryMapValue()
765 void mapValue(const ScopArrayInfo *SAI, isl::map DefTarget, in mapValue()
804 isl::union_map determinePHIWrittenValues(const ScopArrayInfo *SAI) { in determinePHIWrittenValues()
843 bool tryMapPHI(const ScopArrayInfo *SAI, isl::map TargetElt) { in tryMapPHI()
963 void mapPHI(const ScopArrayInfo *SAI, isl::map ReadTarget, in mapPHI()
1030 SmallPtrSet<const ScopArrayInfo *, 16> Closed; in collapseScalarsToStore()
DForwardOpTree.cpp316 ScopArrayInfo *SAI = static_cast<ScopArrayInfo *>(ArrayId.get_user()); in singleLocation()
418 ScopArrayInfo *SAI = reinterpret_cast<ScopArrayInfo *>(ArrayId.get_user()); in makeReadArrayAccess()
DZoneAlgo.cpp535 isl::union_map ZoneAlgorithm::computePerPHI(const ScopArrayInfo *SAI) { in computePerPHI()
909 const ScopArrayInfo *SAI = MA->getOriginalScopArrayInfo(); in isNormalizable()
1026 const ScopArrayInfo *SAI = MA->getOriginalScopArrayInfo(); in computeNormalizedPHIs()
/external/llvm-project/polly/include/polly/
DScopInfo.h196 class ScopArrayInfo {
208 ScopArrayInfo(Value *BasePtr, Type *ElementType, isl::ctx IslCtx,
213 ~ScopArrayInfo();
259 const ScopArrayInfo *getBasePtrOriginSAI() const { return BasePtrOriginSAI; } in getBasePtrOriginSAI()
262 const SmallSetVector<ScopArrayInfo *, 2> &getDerivedSAIs() const { in getDerivedSAIs()
349 static const ScopArrayInfo *getFromAccessFunction(isl::pw_multi_aff PMA);
352 static const ScopArrayInfo *getFromId(isl::id Id);
368 bool isCompatibleWith(const ScopArrayInfo *Array) const;
371 void addDerivedSAI(ScopArrayInfo *DerivedSAI) { in addDerivedSAI()
376 const ScopArrayInfo *BasePtrOriginSAI;
[all …]
DZoneAlgo.h34 class ScopArrayInfo; variable
220 isl::union_map computePerPHI(const polly::ScopArrayInfo *SAI);
DScopBuilder.h439 DenseSet<const ScopArrayInfo *> HasWriteAccess);
456 std::tuple<AliasGroupVectorTy, DenseSet<const ScopArrayInfo *>>
/external/llvm-project/polly/lib/Analysis/
DScopInfo.cpp201 static const ScopArrayInfo *identifyBasePtrOriginSAI(Scop *S, Value *BasePtr) { in identifyBasePtrOriginSAI()
224 ScopArrayInfo::ScopArrayInfo(Value *BasePtr, Type *ElementType, isl::ctx Ctx, in ScopArrayInfo() function in ScopArrayInfo
245 const_cast<ScopArrayInfo *>(BasePtrOriginSAI)->addDerivedSAI(this); in ScopArrayInfo()
248 ScopArrayInfo::~ScopArrayInfo() = default;
250 isl::space ScopArrayInfo::getSpace() const { in getSpace()
256 bool ScopArrayInfo::isReadOnly() { in isReadOnly()
264 bool ScopArrayInfo::isCompatibleWith(const ScopArrayInfo *Array) const { in isCompatibleWith()
278 void ScopArrayInfo::updateElementType(Type *NewElementType) { in updateElementType()
297 void ScopArrayInfo::applyAndSetFAD(Value *FAD) { in applyAndSetFAD()
322 bool ScopArrayInfo::updateSizes(ArrayRef<const SCEV *> NewSizes, in updateSizes()
[all …]
DScopBuilder.cpp2463 ScopArrayInfo *SAI = in markFortranArrays()
2464 const_cast<ScopArrayInfo *>(MemAcc->getLatestScopArrayInfo()); in markFortranArrays()
2487 ScopArrayInfo *Array = in updateAccessDimensionality()
2488 const_cast<ScopArrayInfo *>(Access->getScopArrayInfo()); in updateAccessDimensionality()
3151 static const ScopArrayInfo *findCanonicalArray(Scop &S, in findCanonicalArray()
3154 const ScopArrayInfo *CanonicalArray = S.getScopArrayInfoOrNull( in findCanonicalArray()
3163 static bool isUsedForIndirectHoistedLoad(Scop &S, const ScopArrayInfo *Array) { in isUsedForIndirectHoistedLoad()
3173 static void replaceBasePtrArrays(Scop &S, const ScopArrayInfo *Old, in replaceBasePtrArrays()
3174 const ScopArrayInfo *New) { in replaceBasePtrArrays()
3191 const ScopArrayInfo *CanonicalBasePtrSAI = in canonicalizeDynamicBasePtrs()
[all …]
DDependenceInfo.cpp126 SmallPtrSet<const ScopArrayInfo *, 8> ReductionArrays; in collectInfo()
/external/llvm-project/polly/lib/CodeGen/
DIRBuilder.cpp62 SmallVector<ScopArrayInfo *, 10> Arrays; in buildAliasScopes()
63 for (ScopArrayInfo *Array : S.arrays()) in buildAliasScopes()
74 for (const ScopArrayInfo *Array : Arrays) { in buildAliasScopes()
81 for (const ScopArrayInfo *Array : Arrays) { in buildAliasScopes()
DPPCGCodeGeneration.cpp166 const ScopArrayInfo *SAI) { in isScalarUsesContainedInScop()
193 for (ScopArrayInfo *SAI : S.arrays()) { in computeMustKillsInfo()
365 std::map<ScopArrayInfo *, Value *> DeviceAllocations;
453 Value *getManagedDeviceArray(gpu_array_info *Array, ScopArrayInfo *ArrayInfo);
777 auto *ScopArray = (ScopArrayInfo *)Array->user; in allocateDeviceArrays()
814 ScopArrayInfo *ScopArray = (ScopArrayInfo *)Array->user; in prepareManagedDeviceArrays()
1156 ScopArrayInfo *ArrayInfo) { in getManagedDeviceArray()
1160 std::map<ScopArrayInfo *, Value *>::iterator it; in getManagedDeviceArray()
1174 auto ScopArray = (ScopArrayInfo *)(Array->user); in createDataTransfer()
1640 const ScopArrayInfo *SAI = ScopArrayInfo::getFromId(isl::manage(Id)); in createLaunchParameters()
[all …]
DIslAst.cpp365 const ScopArrayInfo *BaseLeft = in buildCondition()
366 ScopArrayInfo::getFromId(Left)->getBasePtrOriginSAI(); in buildCondition()
367 const ScopArrayInfo *BaseRight = in buildCondition()
368 ScopArrayInfo::getFromId(Right)->getBasePtrOriginSAI(); in buildCondition()
DIslExprBuilder.cpp250 const ScopArrayInfo *SAI = nullptr; in createAccessAddress()
259 SAI = ScopArrayInfo::getFromId(isl::manage(BaseId)); in createAccessAddress()
DBlockGenerators.cpp475 Value *BlockGenerator::getOrCreateAlloca(const ScopArrayInfo *Array) { in getOrCreateAlloca()
523 void BlockGenerator::handleOutsideUsers(const Scop &S, ScopArrayInfo *Array) { in handleOutsideUsers()
DIslNodeBuilder.cpp1163 for (ScopArrayInfo *Array : S.arrays()) { in materializeFortranArrayOutermostDimension()
/external/llvm-project/polly/include/polly/CodeGen/
DBlockGenerators.h26 class ScopArrayInfo; variable
37 using AllocaMapTy = DenseMap<const ScopArrayInfo *, AssertingVH<AllocaInst>>;
95 void freeScalarAlloc(ScopArrayInfo *Array) { ScalarMap.erase(Array); } in freeScalarAlloc()
115 Value *getOrCreateAlloca(const ScopArrayInfo *Array);
386 void handleOutsideUsers(const Scop &S, ScopArrayInfo *Array);
DIslExprBuilder.h32 class ScopArrayInfo;
86 typedef llvm::MapVector<isl_id *, const ScopArrayInfo *> IDToScopArrayInfoTy;
/external/llvm-project/polly/test/JSONExporter/ImportAccesses/
DImportAccesses-Undeclared-ScopArrayInfo.ll3 ; CHECK: JScop file contains access function with undeclared ScopArrayInfo
5 ; Verify that the JSONImporter checks if the access function have a declared ScopArrayInfo.
/external/llvm-project/polly/test/ScopInfo/
Dsame-base-address-scalar-and-array.ll3 ; Verify we introduce two ScopArrayInfo objects (or virtual arrays) for the %out variable
/external/llvm-project/polly/lib/Support/
DVirtualInstruction.cpp39 if (const ScopArrayInfo *SAI = in create()
330 const ScopArrayInfo *SAI = Acc->getScopArrayInfo(); in walkReachable()
/external/llvm-project/polly/test/Isl/CodeGen/
Dmultiple_sai_fro_same_base_address.ll4 ; The IR has two ScopArrayInfo for the value %next.0. This used to produce two
/external/llvm-project/polly/lib/Exchange/
DJSONExporter.cpp427 auto *OutSAI = ScopArrayInfo::getFromId(isl::manage(OutId)); in importAccesses()
546 static bool areArraysEqual(ScopArrayInfo *SAI, const json::Object &Array) { in areArraysEqual()