Lines Matching refs:MemoryLocation
149 static MemoryLocation getLocForWrite(Instruction *Inst, AliasAnalysis &AA) {
151 return MemoryLocation::get(SI);
155 MemoryLocation Loc = MemoryLocation::getForDest(MI);
161 return MemoryLocation();
165 return MemoryLocation(); // Unhandled intrinsic.
169 return MemoryLocation(II->getArgOperand(0));
172 return MemoryLocation(II->getArgOperand(1), Len);
179 static MemoryLocation getLocForRead(Instruction *Inst,
186 return MemoryLocation::getForSource(MTI);
187 return MemoryLocation();
281 return MemoryLocation::UnknownSize;
301 static OverwriteResult isOverwrite(const MemoryLocation &Later,
302 const MemoryLocation &Earlier,
309 if (Later.Size == MemoryLocation::UnknownSize ||
310 Earlier.Size == MemoryLocation::UnknownSize)
337 if (ObjectSize != MemoryLocation::UnknownSize)
478 const MemoryLocation &InstStoreLoc,
484 MemoryLocation InstReadLoc = getLocForRead(Inst, TLI);
498 MemoryLocation DepReadLoc = getLocForRead(DepWrite, TLI);
523 MemoryLocation MemLoc = MemoryLocation::get(SecondI);
591 MemoryLocation Loc = MemoryLocation(F->getOperand(0));
639 static void removeAccessedObjects(const MemoryLocation &LoadedLoc,
659 MemoryLocation StackLoc(I, getPointerSize(I, DL, *TLI));
789 MemoryLocation LoadedLoc;
795 LoadedLoc = MemoryLocation::get(L);
797 LoadedLoc = MemoryLocation::get(V);
799 LoadedLoc = MemoryLocation::getForSource(MTI);
907 MemoryLocation Loc = getLocForWrite(Inst, *AA);
922 MemoryLocation DepLoc = getLocForWrite(DepWrite, *AA);