Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DAliasSetTracker.cpp56 if (!any_of(MemoryLocs, [&](const MemoryLocation &MemLoc) { in mergeSetIn() argument
58 return BatchAA.isMustAlias(MemLoc, ASMemLoc); in mergeSetIn()
112 const MemoryLocation &MemLoc, in addMemoryLocation() argument
118 return AST.getAliasAnalysis().isMustAlias(MemLoc, ASMemLoc); in addMemoryLocation()
124 MemoryLocs.push_back(MemLoc); in addMemoryLocation()
154 AliasResult AliasSet::aliasesMemoryLocation(const MemoryLocation &MemLoc, in aliasesMemoryLocation() argument
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()
[all …]
H A DMemoryDependenceAnalysis.cpp241 const MemoryLocation &MemLoc, bool isLoad, BasicBlock::iterator ScanIt, in getPointerDependencyFrom() argument
254 MemLoc, isLoad, ScanIt, BB, QueryInst, Limit, BatchAA); in getPointerDependencyFrom()
269 const MemoryLocation &MemLoc, bool isLoad, BasicBlock::iterator ScanIt, in getPointerDependencyFrom() argument
272 return getPointerDependencyFrom(MemLoc, isLoad, ScanIt, BB, QueryInst, Limit, in getPointerDependencyFrom()
369 const MemoryLocation &MemLoc, in canSkipClobberingStore() argument
372 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()
385 if (BatchAA.alias(MemoryLocation::get(LI), MemLoc) != AliasResult::MustAlias) in canSkipClobberingStore()
[all …]
H A DAliasAnalysis.cpp650 const MemoryLocation &MemLoc, in callCapturesBefore() argument
656 const Value *Object = getUnderlyingObject(MemLoc.Ptr); in callCapturesBefore()
/freebsd/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.h533 const MemoryLocation &MemLoc,
536 return callCapturesBefore(I, MemLoc, DT, AAQIP);
609 const MemoryLocation &MemLoc, DominatorTree *DT,
676 const MemoryLocation &MemLoc,
678 return AA.callCapturesBefore(I, MemLoc, DT, AAQI);
H A DMemoryDependenceAnalysis.h463 getSimplePointerDependencyFrom(const MemoryLocation &MemLoc, bool isLoad,
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DStackProtector.cpp263 std::optional<MemoryLocation> MemLoc = MemoryLocation::getOrNone(I);
264 if (MemLoc && MemLoc->Size.hasValue() &&
265 !TypeSize::isKnownGE(AllocSize, MemLoc->Size.getValue()))
179 std::optional<MemoryLocation> MemLoc = MemoryLocation::getOrNone(I); HasAddressTaken() local
/freebsd/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.cpp2341 for (const auto &MemLoc : *Set) in collectPromotionCandidates()
2342 PointerMustAliases.insert(const_cast<Value *>(MemLoc.Ptr)); in collectPromotionCandidates()