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,
334 // Check if SI that may alias with MemLoc can be safely skipped. This is
335 // possible in case if SI can only must alias or no alias with MemLoc (no
336 // partial overlapping possible) and it writes the same value that MemLoc
340 const MemoryLocation &MemLoc,
343 if (!MemLoc.Size.hasValue())
345 if (MemoryLocation::get(SI).Size != MemLoc.Size)
347 if (MemLoc.Size.isScalable())
350 MemLoc.Size.getValue().getKnownMinValue())
356 if (BatchAA.alias(MemoryLocation::get(LI), MemLoc) != AliasResult::MustAlias)
361 isModSet(BatchAA.getModRefInfo(I, MemLoc)))
368 const MemoryLocation &MemLoc, bool isLoad, BasicBlock::iterator ScanIt,
373 MemLoc.Ptr->getPointerAlignment(BB->getDataLayout());
457 if (BatchAA.isMustAlias(ArgLoc, MemLoc))
465 AliasResult R = BatchAA.alias(Loc, MemLoc);
511 AliasResult R = BatchAA.alias(LoadLoc, MemLoc);
570 if (!isModOrRefSet(BatchAA.getModRefInfo(SI, MemLoc)))
579 AliasResult R = BatchAA.alias(StoreLoc, MemLoc);
587 if (canSkipClobberingStore(SI, MemLoc, MemLocAlign, BatchAA, *Limit))
599 const Value *AccessPtr = getUnderlyingObject(MemLoc.Ptr);
604 // If we found a select instruction for MemLoc pointer, return it as Def
606 if (isa<SelectInst>(Inst) && MemLoc.Ptr == Inst)
622 switch (BatchAA.getModRefInfo(Inst, MemLoc)) {
678 MemoryLocation MemLoc;
679 ModRefInfo MR = GetLocation(QueryInst, MemLoc, TLI);
680 if (MemLoc.Ptr) {
687 getPointerDependencyFrom(MemLoc, isLoad, ScanPos->getIterator(),