Lines Matching refs:MemoryLocation

84     void RemoveAccessedObjects(const MemoryLocation &LoadedLoc,
203 static MemoryLocation getLocForWrite(Instruction *Inst, AliasAnalysis &AA) { in getLocForWrite()
205 return MemoryLocation::get(SI); in getLocForWrite()
209 MemoryLocation Loc = MemoryLocation::getForDest(MI); in getLocForWrite()
215 return MemoryLocation(); in getLocForWrite()
219 return MemoryLocation(); // Unhandled intrinsic. in getLocForWrite()
223 return MemoryLocation(II->getArgOperand(0)); in getLocForWrite()
226 return MemoryLocation(II->getArgOperand(1), Len); in getLocForWrite()
233 static MemoryLocation getLocForRead(Instruction *Inst, in getLocForRead()
240 return MemoryLocation::getForSource(MTI); in getLocForRead()
241 return MemoryLocation(); in getLocForRead()
326 return MemoryLocation::UnknownSize; in getPointerSize()
342 static OverwriteResult isOverwrite(const MemoryLocation &Later, in isOverwrite()
343 const MemoryLocation &Earlier, in isOverwrite()
355 if (Later.Size == MemoryLocation::UnknownSize || in isOverwrite()
356 Earlier.Size == MemoryLocation::UnknownSize) in isOverwrite()
366 if (Later.Size == MemoryLocation::UnknownSize || in isOverwrite()
367 Earlier.Size == MemoryLocation::UnknownSize) in isOverwrite()
383 if (ObjectSize != MemoryLocation::UnknownSize) in isOverwrite()
450 const MemoryLocation &InstStoreLoc, in isPossibleSelfRead()
456 MemoryLocation InstReadLoc = getLocForRead(Inst, TLI); in isPossibleSelfRead()
470 MemoryLocation DepReadLoc = getLocForRead(DepWrite, TLI); in isPossibleSelfRead()
563 MemoryLocation Loc = getLocForWrite(Inst, *AA); in runOnBasicBlock()
578 MemoryLocation DepLoc = getLocForWrite(DepWrite, *AA); in runOnBasicBlock()
674 MemoryLocation MemLoc = MemoryLocation::get(SecondI); in MemoryIsNotModifiedBetween()
740 MemoryLocation Loc = MemoryLocation(F->getOperand(0)); in HandleFree()
903 MemoryLocation LoadedLoc; in handleEndBlock()
909 LoadedLoc = MemoryLocation::get(L); in handleEndBlock()
911 LoadedLoc = MemoryLocation::get(V); in handleEndBlock()
913 LoadedLoc = MemoryLocation::getForSource(MTI); in handleEndBlock()
939 void DSE::RemoveAccessedObjects(const MemoryLocation &LoadedLoc, in RemoveAccessedObjects()
958 MemoryLocation StackLoc(I, getPointerSize(I, DL, *TLI)); in RemoveAccessedObjects()