Home
last modified time | relevance | path

Searched refs:MemoryLocation (Results 1 – 25 of 78) sorted by relevance

1234

/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryLocation.cpp37 MemoryLocation MemoryLocation::get(const LoadInst *LI) { in get()
42 return MemoryLocation( in get()
47 MemoryLocation MemoryLocation::get(const StoreInst *SI) { in get()
58 MemoryLocation MemoryLocation::get(const VAArgInst *VI) { in get()
66 MemoryLocation MemoryLocation::get(const AtomicCmpXchgInst *CXI) { in get()
77 MemoryLocation MemoryLocation::get(const AtomicRMWInst *RMWI) { in get()
105 MemoryLocation MemoryLocation::getForSource(const MemTransferInst *MTI) { in getForSource()
126 MemoryLocation MemoryLocation::getForDest(const MemIntrinsic *MI) { in getForDest()
130 MemoryLocation MemoryLocation::getForDest(const AtomicMemIntrinsic *MI) { in getForDest()
134 MemoryLocation MemoryLocation::getForDest(const AnyMemIntrinsic *MI) { in getForDest()
[all …]
H A DAliasAnalysis.cpp120 AliasResult AAResults::alias(const MemoryLocation &LocA, in alias()
121 const MemoryLocation &LocB) { in alias()
126 AliasResult AAResults::alias(const MemoryLocation &LocA, in alias()
211 const MemoryLocation DefLoc = MemoryLocation::get(I); in getModRefInfo()
226 const MemoryLocation &Loc, in getModRefInfo()
258 MemoryLocation ArgLoc = in getModRefInfo()
259 MemoryLocation::getForArgument(Call, ArgIdx, TLI); in getModRefInfo()
482 const MemoryLocation &Loc, in getModRefInfo()
684 const MemoryLocation &Loc = OptLoc.getValueOr(MemoryLocation()); in getModRefInfo()
754 MemoryLocation::getBeforeOrAfter(*CI), in callCapturesBefore()
[all …]
H A DObjCARCAliasAnalysis.cpp39 AliasResult ObjCARCAAResult::alias(const MemoryLocation &LocA, in alias()
40 const MemoryLocation &LocB, in alias()
50 AAResultBase::alias(MemoryLocation(SA, LocA.Size, LocA.AATags), in alias()
51 MemoryLocation(SB, LocB.Size, LocB.AATags), AAQI); in alias()
60 Result = AAResultBase::alias(MemoryLocation::getBeforeOrAfter(UA), in alias()
61 MemoryLocation::getBeforeOrAfter(UB), AAQI); in alias()
73 bool ObjCARCAAResult::pointsToConstantMemory(const MemoryLocation &Loc, in pointsToConstantMemory()
82 MemoryLocation(S, Loc.Size, Loc.AATags), AAQI, OrLocal)) in pointsToConstantMemory()
90 MemoryLocation::getBeforeOrAfter(U), AAQI, OrLocal); in pointsToConstantMemory()
112 const MemoryLocation &Loc, in getModRefInfo()
H A DAliasSetTracker.cpp143 MemoryLocation(Entry.getValue(), Size, AAInfo)); in addPointer()
209 MemoryLocation(Ptr, Size, AAInfo)); in aliasesPointer()
216 AA.alias(MemoryLocation(Ptr, Size, AAInfo), in aliasesPointer()
405 addPointer(MemoryLocation::get(LI), AliasSet::RefAccess); in add()
411 addPointer(MemoryLocation::get(SI), AliasSet::ModAccess); in add()
415 addPointer(MemoryLocation::get(VAAI), AliasSet::ModRefAccess); in add()
419 addPointer(MemoryLocation::getForDest(MSI), AliasSet::ModAccess); in add()
423 addPointer(MemoryLocation::getForDest(MTI), AliasSet::ModAccess); in add()
498 MemoryLocation ArgLoc = in add()
499 MemoryLocation::getForArgument(Call, ArgIdx, nullptr); in add()
[all …]
H A DLint.cpp255 MemoryLocation Loc( in visitCallBase()
291 visitMemoryReference(I, MemoryLocation::getForDest(MCI), in visitCallBase()
293 visitMemoryReference(I, MemoryLocation::getForSource(MCI), in visitCallBase()
313 visitMemoryReference(I, MemoryLocation::getForDest(MCII), in visitCallBase()
315 visitMemoryReference(I, MemoryLocation::getForSource(MCII), in visitCallBase()
329 visitMemoryReference(I, MemoryLocation::getForDest(MMI), in visitCallBase()
331 visitMemoryReference(I, MemoryLocation::getForSource(MMI), in visitCallBase()
337 visitMemoryReference(I, MemoryLocation::getForDest(MSI), in visitCallBase()
441 uint64_t BaseSize = MemoryLocation::UnknownSize; in visitMemoryReference()
484 visitMemoryReference(I, MemoryLocation::get(&I), I.getAlign(), in visitStoreInst()
[all …]
H A DScalarEvolutionAliasAnalysis.cpp26 AliasResult SCEVAAResult::alias(const MemoryLocation &LocA, in alias()
27 const MemoryLocation &LocB, AAQueryInfo &AAQI) { in alias()
49 : MemoryLocation::UnknownSize); in alias()
52 : MemoryLocation::UnknownSize); in alias()
87 if (alias(MemoryLocation(AO ? AO : LocA.Ptr, in alias()
91 MemoryLocation(BO ? BO : LocB.Ptr, in alias()
H A DBasicAliasAnalysis.cpp154 return MemoryLocation::UnknownSize; in getObjectSize()
868 MemoryLocation::getBeforeOrAfter(*CI), in getModRefInfo()
1083 MemoryLocation(UnderlyingV1, V1Size), in aliasGEP()
1084 MemoryLocation(UnderlyingV2, V2Size), AAQI); in aliasGEP()
1088 MemoryLocation::getBeforeOrAfter(UnderlyingV1), in aliasGEP()
1294 MemoryLocation(V2, V2Size), in aliasSelect()
1300 MemoryLocation(V2, V2Size), in aliasSelect()
1321 MemoryLocation( in aliasPHI()
1423 MemoryLocation(V2, V2Size), in aliasPHI()
1424 MemoryLocation(V1Srcs[0], PNSize), *UseAAQI); in aliasPHI()
[all …]
H A DMemoryDependenceAnalysis.cpp120 Loc = MemoryLocation::get(LI); in GetLocation()
127 Loc = MemoryLocation(); in GetLocation()
140 Loc = MemoryLocation(); in GetLocation()
145 Loc = MemoryLocation::get(V); in GetLocation()
208 MemoryLocation Loc; in getCallDependencyFrom()
458 MemoryLocation ArgLoc = MemoryLocation::getAfter(II->getArgOperand(1)); in getSimplePointerDependencyFrom()
465 MemoryLocation Loc; in getSimplePointerDependencyFrom()
510 MemoryLocation LoadLoc = MemoryLocation::get(LI); in getSimplePointerDependencyFrom()
577 MemoryLocation StoreLoc = MemoryLocation::get(SI); in getSimplePointerDependencyFrom()
676 MemoryLocation MemLoc; in getDependency()
[all …]
H A DScopedNoAliasAA.cpp55 AliasResult ScopedNoAliasAAResult::alias(const MemoryLocation &LocA, in alias()
56 const MemoryLocation &LocB, in alias()
77 const MemoryLocation &Loc, in getModRefInfo()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryLocation.h209 class MemoryLocation {
236 static MemoryLocation get(const LoadInst *LI);
242 return *MemoryLocation::getOrNone(Inst); in get()
274 static MemoryLocation
285 MemoryLocation() in MemoryLocation() function
293 MemoryLocation Copy(*this); in getWithNewPtr()
299 MemoryLocation Copy(*this); in getWithNewSize()
304 MemoryLocation getWithoutAATags() const { in getWithoutAATags()
305 MemoryLocation Copy(*this); in getWithoutAATags()
332 static inline MemoryLocation getEmptyKey() {
[all …]
H A DAliasAnalysis.h494 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB);
499 return alias(MemoryLocation(V1, V1Size), MemoryLocation(V2, V2Size));
510 bool isNoAlias(const MemoryLocation &LocA, const MemoryLocation &LocB) {
517 return isNoAlias(MemoryLocation(V1, V1Size), MemoryLocation(V2, V2Size));
528 bool isMustAlias(const MemoryLocation &LocA, const MemoryLocation &LocB) {
842 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
902 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB) {
927 bool isMustAlias(const MemoryLocation &LocA, const MemoryLocation &LocB) {
1030 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
1105 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
[all …]
H A DTypeBasedAliasAnalysis.h28 class MemoryLocation; variable
43 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
45 bool pointsToConstantMemory(const MemoryLocation &Loc, AAQueryInfo &AAQI,
49 ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc,
H A DCFLAndersAliasAnalysis.h29 class MemoryLocation; variable
63 AliasResult query(const MemoryLocation &, const MemoryLocation &);
64 AliasResult alias(const MemoryLocation &, const MemoryLocation &,
H A DScopedNoAliasAA.h26 class MemoryLocation; variable
41 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
43 ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc,
H A DObjCARCAliasAnalysis.h55 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
57 bool pointsToConstantMemory(const MemoryLocation &Loc, AAQueryInfo &AAQI,
64 ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc,
H A DCFLSteensAliasAnalysis.h71 AliasResult query(const MemoryLocation &LocA, const MemoryLocation &LocB);
73 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB, in alias()
H A DGlobalsModRef.h97 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
101 ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc,
H A DMemoryDependenceAnalysis.h441 MemDepResult getPointerDependencyFrom(const MemoryLocation &Loc, bool isLoad,
447 MemDepResult getPointerDependencyFrom(const MemoryLocation &Loc, bool isLoad,
455 getSimplePointerDependencyFrom(const MemoryLocation &MemLoc, bool isLoad,
485 const MemoryLocation &Loc, bool isLoad,
492 const MemoryLocation &Loc, bool isLoad,
H A DScalarEvolutionAliasAnalysis.h33 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDeadStoreElimination.cpp212 return MemoryLocation::get(SI); in getLocForWrite()
216 return MemoryLocation::getForDest(MI); in getLocForWrite()
236 return MemoryLocation(); in getLocForWrite()
319 return MemoryLocation::UnknownSize; in getPointerSize()
508 MemoryLocation MemLoc = MemoryLocation::get(SecondI); in memoryIsNotModifiedBetween()
947 const MemoryLocation &Later, const MemoryLocation &Earlier, in isOverwrite()
1129 return MemoryLocation::getOrNone(I); in getLocForWriteEx()
1205 Optional<std::pair<MemoryLocation, bool>>
1353 Optional<MemoryLocation> CurrentLoc; in getDomMemoryDef()
1894 Optional<MemoryLocation> MaybeSILoc; in eliminateDeadStores()
[all …]
H A DMemCpyOptimizer.cpp536 MemoryLocation StoreLoc = MemoryLocation::get(SI); in moveUp()
551 SmallVector<MemoryLocation, 8> MemLocs{StoreLoc}; in moveUp()
556 const MemoryLocation LoadLoc = MemoryLocation::get(LI); in moveUp()
598 auto ML = MemoryLocation::get(C); in moveUp()
686 MemoryLocation LoadLoc = MemoryLocation::get(LI); in processStore()
775 MemoryLocation StoreLoc = MemoryLocation::get(SI); in processStore()
1109 if (!AA->isNoAlias(MemoryLocation::getForDest(M), in processMemCpyMemCpyDependence()
1352 MemoryLocation MemCpyLoc = MemoryLocation::getForSource(MemCpy); in performMemCpyToMemSetOptzn()
1429 MemoryLocation DestLoc = MemoryLocation::getForDest(M); in processMemCpy()
1536 MemoryLocation SrcLoc = MemoryLocation::getForSource(M); in processMemCpy()
[all …]
H A DMergedLoadStoreMotion.cpp121 const Instruction &End, MemoryLocation Loc);
174 MemoryLocation Loc) { in isStoreSinkBarrierInRange()
196 MemoryLocation Loc0 = MemoryLocation::get(Store0); in canSinkFromBlock()
197 MemoryLocation Loc1 = MemoryLocation::get(Store1); in canSinkFromBlock()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAliasAnalysis.h22 class MemoryLocation; variable
43 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
45 bool pointsToConstantMemory(const MemoryLocation &Loc, AAQueryInfo &AAQI,
H A DAMDGPUAliasAnalysis.cpp70 AliasResult AMDGPUAAResult::alias(const MemoryLocation &LocA, in alias()
71 const MemoryLocation &LocB, in alias()
84 MemoryLocation A = LocA; in alias()
85 MemoryLocation B = LocB; in alias()
122 bool AMDGPUAAResult::pointsToConstantMemory(const MemoryLocation &Loc, in pointsToConstantMemory()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_diag.h50 typedef uptr MemoryLocation; typedef
62 MemoryLocation MemoryLoc;
69 Location(MemoryLocation Loc) : in Location()
85 MemoryLocation getMemoryLocation() const { in getMemoryLocation()
108 Range(MemoryLocation Start, MemoryLocation End, const char *Text) in Range()

1234