Lines Matching refs:MemoryLocation

190 static MemoryLocation getLocForWrite(Instruction *Inst) {  in getLocForWrite()
193 return MemoryLocation::get(SI); in getLocForWrite()
197 MemoryLocation Loc = MemoryLocation::getForDest(MI); in getLocForWrite()
204 return MemoryLocation(); // Unhandled intrinsic. in getLocForWrite()
206 return MemoryLocation(II->getArgOperand(0)); in getLocForWrite()
209 return MemoryLocation(II->getArgOperand(1), Len); in getLocForWrite()
216 return MemoryLocation(CS.getArgument(0)); in getLocForWrite()
217 return MemoryLocation(); in getLocForWrite()
222 static MemoryLocation getLocForRead(Instruction *Inst, in getLocForRead()
229 return MemoryLocation::getForSource(MTI); in getLocForRead()
230 return MemoryLocation(); in getLocForRead()
305 MemoryLocation Loc = getLocForWrite(I); in getStoredPointerOperand()
321 return MemoryLocation::UnknownSize; in getPointerSize()
343 static OverwriteResult isOverwrite(const MemoryLocation &Later, in isOverwrite()
344 const MemoryLocation &Earlier, in isOverwrite()
384 if (ObjectSize != MemoryLocation::UnknownSize) in isOverwrite()
541 const MemoryLocation &InstStoreLoc, in isPossibleSelfRead()
547 MemoryLocation InstReadLoc = getLocForRead(Inst, TLI); in isPossibleSelfRead()
571 MemoryLocation DepReadLoc = getLocForRead(DepWrite, TLI); in isPossibleSelfRead()
596 MemoryLocation MemLoc = MemoryLocation::get(SecondI); in memoryIsNotModifiedBetween()
664 MemoryLocation Loc = MemoryLocation(F->getOperand(0)); in handleFree()
717 static void removeAccessedObjects(const MemoryLocation &LoadedLoc, in removeAccessedObjects()
738 MemoryLocation StackLoc(I, getPointerSize(I, DL, *TLI, F)); in removeAccessedObjects()
872 MemoryLocation LoadedLoc; in handleEndBlock()
878 LoadedLoc = MemoryLocation::get(L); in handleEndBlock()
880 LoadedLoc = MemoryLocation::get(V); in handleEndBlock()
1005 MemoryLocation Loc = getLocForWrite(EarlierWrite); in removePartiallyOverlappedStores()
1124 MemoryLocation Loc = getLocForWrite(Inst); in eliminateDeadStores()
1148 MemoryLocation DepLoc = getLocForWrite(DepWrite); in eliminateDeadStores()