Lines Matching defs:MemLoc

241     const MemoryLocation &MemLoc, bool isLoad, BasicBlock::iterator ScanIt,
254 MemLoc, isLoad, ScanIt, BB, QueryInst, Limit, BatchAA);
269 const MemoryLocation &MemLoc, bool isLoad, BasicBlock::iterator ScanIt,
272 return getPointerDependencyFrom(MemLoc, isLoad, ScanIt, BB, QueryInst, Limit,
363 // Check if SI that may alias with MemLoc can be safely skipped. This is
364 // possible in case if SI can only must alias or no alias with MemLoc (no
365 // partial overlapping possible) and it writes the same value that MemLoc
369 const MemoryLocation &MemLoc,
372 if (!MemLoc.Size.hasValue())
374 if (MemoryLocation::get(SI).Size != MemLoc.Size)
376 if (MemLoc.Size.isScalable())
379 MemLoc.Size.getValue().getKnownMinValue())
385 if (BatchAA.alias(MemoryLocation::get(LI), MemLoc) != AliasResult::MustAlias)
390 isModSet(BatchAA.getModRefInfo(I, MemLoc)))
397 const MemoryLocation &MemLoc, bool isLoad, BasicBlock::iterator ScanIt,
402 MemLoc.Ptr->getPointerAlignment(BB->getDataLayout());
486 if (BatchAA.isMustAlias(ArgLoc, MemLoc))
494 AliasResult R = BatchAA.alias(Loc, MemLoc);
540 AliasResult R = BatchAA.alias(LoadLoc, MemLoc);
599 if (!isModOrRefSet(BatchAA.getModRefInfo(SI, MemLoc)))
608 AliasResult R = BatchAA.alias(StoreLoc, MemLoc);
616 if (canSkipClobberingStore(SI, MemLoc, MemLocAlign, BatchAA, *Limit))
628 const Value *AccessPtr = getUnderlyingObject(MemLoc.Ptr);
633 // If we found a select instruction for MemLoc pointer, return it as Def
635 if (isa<SelectInst>(Inst) && MemLoc.Ptr == Inst)
651 switch (BatchAA.getModRefInfo(Inst, MemLoc)) {
707 MemoryLocation MemLoc;
708 ModRefInfo MR = GetLocation(QueryInst, MemLoc, TLI);
709 if (MemLoc.Ptr) {
716 getPointerDependencyFrom(MemLoc, isLoad, ScanPos->getIterator(),