Lines Matching refs:MemLoc
265 /// would fully overlap MemLoc if done as a wider legal integer load.
268 /// base/offs of memloc is needed.
269 static bool isLoadLoadClobberIfExtendedToFullWidth(const MemoryLocation &MemLoc,
275 // If we haven't already computed the base/offset of MemLoc, do so now.
277 MemLocBase = GetPointerBaseWithConstantOffset(MemLoc.Ptr, MemLocOffs, DL);
280 MemLocBase, MemLocOffs, MemLoc.Size, LI);
317 // the bits required by MemLoc.
319 // If MemLoc is before LI, then no widening of LI will help us out.
331 // If no amount of rounding up will let MemLoc fit into LI, then bail out.
354 // If a load of this width would include all of MemLoc, then we succeed.
380 const MemoryLocation &MemLoc, bool isLoad, BasicBlock::iterator ScanIt,
392 return getSimplePointerDependencyFrom(MemLoc, isLoad, ScanIt, BB, QueryInst);
449 const MemoryLocation &MemLoc, bool isLoad, BasicBlock::iterator ScanIt,
525 if (AA->isMustAlias(MemoryLocation(II->getArgOperand(1)), MemLoc))
573 AliasResult R = AA->alias(LoadLoc, MemLoc);
585 isLoadLoadClobberIfExtendedToFullWidth(MemLoc, MemLocBase,
654 if (AA->getModRefInfo(SI, MemLoc) == MRI_NoModRef)
662 AliasResult R = AA->alias(StoreLoc, MemLoc);
682 const Value *AccessPtr = GetUnderlyingObject(MemLoc.Ptr, DL);
702 ModRefInfo MR = AA->getModRefInfo(Inst, MemLoc);
705 MR = AA->callCapturesBefore(Inst, MemLoc, DT, &OBB);
762 MemoryLocation MemLoc;
763 ModRefInfo MR = GetLocation(QueryInst, MemLoc, *TLI);
764 if (MemLoc.Ptr) {
771 MemLoc, isLoad, ScanPos->getIterator(), QueryParent, QueryInst);