Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryDependenceAnalysis.cpp260 MemLoc, isLoad, ScanIt, BB, QueryInst, Limit, BatchAA); in getPointerDependencyFrom()
459 if (BatchAA.isMustAlias(ArgLoc, MemLoc)) in getSimplePointerDependencyFrom()
467 AliasResult R = BatchAA.alias(Loc, MemLoc); in getSimplePointerDependencyFrom()
513 AliasResult R = BatchAA.alias(LoadLoc, MemLoc); in getSimplePointerDependencyFrom()
571 if (!isModOrRefSet(BatchAA.getModRefInfo(SI, MemLoc))) in getSimplePointerDependencyFrom()
580 AliasResult R = BatchAA.alias(StoreLoc, MemLoc); in getSimplePointerDependencyFrom()
616 ModRefInfo MR = BatchAA.getModRefInfo(Inst, MemLoc); in getSimplePointerDependencyFrom()
619 MR = BatchAA.callCapturesBefore(Inst, MemLoc, &DT); in getSimplePointerDependencyFrom()
676 MemoryLocation MemLoc; in getDependency() local
677 ModRefInfo MR = GetLocation(QueryInst, MemLoc, TLI); in getDependency()
[all …]
H A DAliasSetTracker.cpp346 AliasSet &AliasSetTracker::getAliasSetFor(const MemoryLocation &MemLoc) { in getAliasSetFor() argument
348 Value * const Pointer = const_cast<Value*>(MemLoc.Ptr); in getAliasSetFor()
349 const LocationSize Size = MemLoc.Size; in getAliasSetFor()
350 const AAMDNodes &AAInfo = MemLoc.AATags; in getAliasSetFor()
H A DAliasAnalysis.cpp720 const MemoryLocation &MemLoc, in callCapturesBefore() argument
726 const Value *Object = getUnderlyingObject(MemLoc.Ptr); in callCapturesBefore()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DStackProtector.cpp173 Optional<MemoryLocation> MemLoc = MemoryLocation::getOrNone(I); in HasAddressTaken() local
174 if (MemLoc.hasValue() && MemLoc->Size.hasValue() && in HasAddressTaken()
175 MemLoc->Size.getValue() > AllocSize) in HasAddressTaken()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp1038 MemoryLocation MemLoc = *MemLocOpt; in isOperatingOnInvariantMemAt() local
1039 if (!AvailableInvariants.count(MemLoc)) in isOperatingOnInvariantMemAt()
1044 return AvailableInvariants.lookup(MemLoc) <= GenAt; in isOperatingOnInvariantMemAt()
1285 MemoryLocation MemLoc = in processNode() local
1288 if (!AvailableInvariants.count(MemLoc)) in processNode()
1289 AvailableInvariants.insert(MemLoc, CurrentGeneration); in processNode()
1395 auto MemLoc = MemoryLocation::get(&Inst); in processNode() local
1396 if (!AvailableInvariants.count(MemLoc)) in processNode()
1397 AvailableInvariants.insert(MemLoc, CurrentGeneration); in processNode()
H A DLICM.cpp170 static bool pointerInvalidatedByLoop(MemoryLocation MemLoc,
2379 static bool pointerInvalidatedByLoop(MemoryLocation MemLoc, in pointerInvalidatedByLoop() argument
2383 bool isInvalidatedAccordingToAST = CurAST->getAliasSetFor(MemLoc).isMod(); in pointerInvalidatedByLoop()
2411 << *(MemLoc.Ptr) << "\n"); in pointerInvalidatedByLoop()
2415 auto Res = AA->getModRefInfo(&I, MemLoc); in pointerInvalidatedByLoop()
2418 << *(MemLoc.Ptr) << "\n"); in pointerInvalidatedByLoop()
2422 LLVM_DEBUG(dbgs() << "Aliasing okay for " << *(MemLoc.Ptr) << "\n"); in pointerInvalidatedByLoop()
H A DDeadStoreElimination.cpp508 MemoryLocation MemLoc = MemoryLocation::get(SecondI); in memoryIsNotModifiedBetween() local
509 auto *MemLocPtr = const_cast<Value *>(MemLoc.Ptr); in memoryIsNotModifiedBetween()
540 if (isModSet(AA.getModRefInfo(I, MemLoc.getWithNewPtr(Ptr)))) in memoryIsNotModifiedBetween()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DAliasAnalysis.h798 const MemoryLocation &MemLoc,
801 return callCapturesBefore(I, MemLoc, DT, AAQIP);
872 const MemoryLocation &MemLoc, DominatorTree *DT,
936 const MemoryLocation &MemLoc,
938 return AA.callCapturesBefore(I, MemLoc, DT, AAQI);
H A DMemoryDependenceAnalysis.h455 getSimplePointerDependencyFrom(const MemoryLocation &MemLoc, bool isLoad,
H A DAliasSetTracker.h394 AliasSet &getAliasSetFor(const MemoryLocation &MemLoc);