• Home
  • Raw
  • Download

Lines Matching refs:MemoryLocation

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