Home
last modified time | relevance | path

Searched refs:MemLoc (Results 1 – 11 of 11) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DAliasSetTracker.cpp124 MemoryLocs.push_back(MemLoc); in addMemoryLocation()
161 AliasResult AR = AA.alias(MemLoc, ASMemLoc); in aliasesMemoryLocation()
168 if (isModOrRefSet(AA.getModRefInfo(Inst, MemLoc))) in aliasesMemoryLocation()
205 for (const MemoryLocation &MemLoc : MemoryLocs) in getPointers() local
206 Pointers.insert(MemLoc.Ptr); in getPointers()
276 AliasSet *&MapEntry = PointerMap[MemLoc.Ptr]; in getAliasSetFor()
279 if (is_contained(MapEntry->MemoryLocs, MemLoc)) in getAliasSetFor()
293 MemLoc, MapEntry, MustAliasAll)) { in getAliasSetFor()
303 AS->addMemoryLocation(*this, MemLoc, MustAliasAll); in getAliasSetFor()
529 MemLoc.Ptr->printAsOperand(OS << "("); in print()
[all …]
H A DMemoryDependenceAnalysis.cpp372 if (!MemLoc.Size.hasValue()) in canSkipClobberingStore()
374 if (MemoryLocation::get(SI).Size != MemLoc.Size) in canSkipClobberingStore()
376 if (MemLoc.Size.isScalable()) in canSkipClobberingStore()
379 MemLoc.Size.getValue().getKnownMinValue()) in canSkipClobberingStore()
390 isModSet(BatchAA.getModRefInfo(I, MemLoc))) in canSkipClobberingStore()
486 if (BatchAA.isMustAlias(ArgLoc, MemLoc)) in getSimplePointerDependencyFrom()
494 AliasResult R = BatchAA.alias(Loc, MemLoc); in getSimplePointerDependencyFrom()
635 if (isa<SelectInst>(Inst) && MemLoc.Ptr == Inst) in getSimplePointerDependencyFrom()
651 switch (BatchAA.getModRefInfo(Inst, MemLoc)) { in getSimplePointerDependencyFrom()
707 MemoryLocation MemLoc; in getDependency() local
[all …]
H A DAliasAnalysis.cpp648 const MemoryLocation &MemLoc, in callCapturesBefore() argument
654 const Value *Object = getUnderlyingObject(MemLoc.Ptr); in callCapturesBefore()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DAliasSetTracker.h141 void addMemoryLocation(AliasSetTracker &AST, const MemoryLocation &MemLoc,
148 AliasResult aliasesMemoryLocation(const MemoryLocation &MemLoc,
205 AliasSet &getAliasSetFor(const MemoryLocation &MemLoc);
252 AliasSet *mergeAliasSetsForMemoryLocation(const MemoryLocation &MemLoc,
H A DAliasAnalysis.h521 const MemoryLocation &MemLoc,
524 return callCapturesBefore(I, MemLoc, DT, AAQIP);
599 const MemoryLocation &MemLoc, DominatorTree *DT,
666 const MemoryLocation &MemLoc,
668 return AA.callCapturesBefore(I, MemLoc, DT, AAQI);
H A DMemoryDependenceAnalysis.h463 getSimplePointerDependencyFrom(const MemoryLocation &MemLoc, bool isLoad,
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DStackProtector.cpp263 std::optional<MemoryLocation> MemLoc = MemoryLocation::getOrNone(I); in HasAddressTaken() local
264 if (MemLoc && MemLoc->Size.hasValue() && in HasAddressTaken()
265 !TypeSize::isKnownGE(AllocSize, MemLoc->Size.getValue())) in HasAddressTaken()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp1182 MemoryLocation MemLoc = *MemLocOpt; in isOperatingOnInvariantMemAt() local
1183 if (!AvailableInvariants.count(MemLoc)) in isOperatingOnInvariantMemAt()
1188 return AvailableInvariants.lookup(MemLoc) <= GenAt; in isOperatingOnInvariantMemAt()
1452 MemoryLocation MemLoc = in processNode() local
1455 if (!AvailableInvariants.count(MemLoc)) in processNode()
1456 AvailableInvariants.insert(MemLoc, CurrentGeneration); in processNode()
1568 auto MemLoc = MemoryLocation::get(&Inst); in processNode() local
1569 if (!AvailableInvariants.count(MemLoc)) in processNode()
1570 AvailableInvariants.insert(MemLoc, CurrentGeneration); in processNode()
H A DLoopVersioningLICM.cpp266 for (const auto &MemLoc : AS) { in legalLoopMemoryAccesses() local
267 const Value *Ptr = MemLoc.Ptr; in legalLoopMemoryAccesses()
H A DDeadStoreElimination.cpp416 MemoryLocation MemLoc; in memoryIsNotModifiedBetween() local
418 MemLoc = MemoryLocation::getForDest(MemSet); in memoryIsNotModifiedBetween()
420 MemLoc = MemoryLocation::get(SecondI); in memoryIsNotModifiedBetween()
422 auto *MemLocPtr = const_cast<Value *>(MemLoc.Ptr); in memoryIsNotModifiedBetween()
453 if (isModSet(AA.getModRefInfo(I, MemLoc.getWithNewPtr(Ptr)))) in memoryIsNotModifiedBetween()
H A DLICM.cpp2326 for (const auto &MemLoc : *Set) in collectPromotionCandidates()
2327 PointerMustAliases.insert(const_cast<Value *>(MemLoc.Ptr)); in collectPromotionCandidates()