Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DMemoryDependenceAnalysis.cpp341 MemLoc, isLoad, ScanIt, BB, QueryInst, Limit); in getPointerDependencyFrom()
536 if (AA.isMustAlias(MemoryLocation(II->getArgOperand(1)), MemLoc)) in getSimplePointerDependencyFrom()
576 AliasResult R = AA.alias(LoadLoc, MemLoc); in getSimplePointerDependencyFrom()
638 if (!isModOrRefSet(AA.getModRefInfo(SI, MemLoc))) in getSimplePointerDependencyFrom()
647 AliasResult R = AA.alias(StoreLoc, MemLoc); in getSimplePointerDependencyFrom()
665 const Value *AccessPtr = GetUnderlyingObject(MemLoc.Ptr, DL); in getSimplePointerDependencyFrom()
683 ModRefInfo MR = AA.getModRefInfo(Inst, MemLoc); in getSimplePointerDependencyFrom()
686 MR = AA.callCapturesBefore(Inst, MemLoc, &DT, &OBB); in getSimplePointerDependencyFrom()
742 MemoryLocation MemLoc; in getDependency() local
743 ModRefInfo MR = GetLocation(QueryInst, MemLoc, TLI); in getDependency()
[all …]
H A DAliasSetTracker.cpp327 AliasSet &AliasSetTracker::getAliasSetFor(const MemoryLocation &MemLoc) { in getAliasSetFor() argument
329 Value * const Pointer = const_cast<Value*>(MemLoc.Ptr); in getAliasSetFor()
330 const LocationSize Size = MemLoc.Size; in getAliasSetFor()
331 const AAMDNodes &AAInfo = MemLoc.AATags; in getAliasSetFor()
H A DAliasAnalysis.cpp552 const MemoryLocation &MemLoc, in callCapturesBefore() argument
559 GetUnderlyingObject(MemLoc.Ptr, I->getModule()->getDataLayout()); in callCapturesBefore()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp708 MemoryLocation MemLoc = *MemLocOpt; in isOperatingOnInvariantMemAt() local
709 if (!AvailableInvariants.count(MemLoc)) in isOperatingOnInvariantMemAt()
714 return AvailableInvariants.lookup(MemLoc) <= GenAt; in isOperatingOnInvariantMemAt()
864 MemoryLocation MemLoc = MemoryLocation::getForArgument(CI, 1, TLI); in processNode() local
866 if (!AvailableInvariants.count(MemLoc)) in processNode()
867 AvailableInvariants.insert(MemLoc, CurrentGeneration); in processNode()
970 auto MemLoc = MemoryLocation::get(Inst); in processNode() local
971 if (!AvailableInvariants.count(MemLoc)) in processNode()
972 AvailableInvariants.insert(MemLoc, CurrentGeneration); in processNode()
H A DLICM.cpp139 static bool pointerInvalidatedByLoop(MemoryLocation MemLoc,
2050 static bool pointerInvalidatedByLoop(MemoryLocation MemLoc, in pointerInvalidatedByLoop() argument
2054 bool isInvalidatedAccordingToAST = CurAST->getAliasSetFor(MemLoc).isMod(); in pointerInvalidatedByLoop()
2082 << *(MemLoc.Ptr) << "\n"); in pointerInvalidatedByLoop()
2086 auto Res = AA->getModRefInfo(&I, MemLoc); in pointerInvalidatedByLoop()
2089 << *(MemLoc.Ptr) << "\n"); in pointerInvalidatedByLoop()
2093 LLVM_DEBUG(dbgs() << "Aliasing okay for " << *(MemLoc.Ptr) << "\n"); in pointerInvalidatedByLoop()
H A DDeadStoreElimination.cpp596 MemoryLocation MemLoc = MemoryLocation::get(SecondI); in memoryIsNotModifiedBetween() local
623 if (isModSet(AA->getModRefInfo(I, MemLoc))) in memoryIsNotModifiedBetween()
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMParallelDSP.cpp583 for (auto &MemLoc : MAC->MemLocs) { in AreAliased() local
584 if (isModOrRefSet(intersectModRef(AA->getModRefInfo(I, MemLoc), in AreAliased()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DMemoryDependenceAnalysis.h453 MemDepResult getSimplePointerDependencyFrom(const MemoryLocation &MemLoc,
H A DAliasSetTracker.h390 AliasSet &getAliasSetFor(const MemoryLocation &MemLoc);
H A DAliasAnalysis.h653 const MemoryLocation &MemLoc, DominatorTree *DT,
/freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp861 bool MemLoc = MI->getOperand(0).isReg() && MI->getOperand(1).isImm(); in emitDebugValueComment() local
862 int64_t Offset = MemLoc ? MI->getOperand(1).getImm() : 0; in emitDebugValueComment()
907 MemLoc = true; in emitDebugValueComment()
916 if (MemLoc) in emitDebugValueComment()
921 if (MemLoc) in emitDebugValueComment()