Lines Matching defs:DefLoc
1245 /// Returns true if \p UseInst completely overwrites \p DefLoc
1247 bool isCompleteOverwrite(const MemoryLocation &DefLoc, Instruction *DefInst,
1261 return isOverwrite(UseInst, DefInst, *CC, DefLoc, InstWriteOffset,
1267 bool isWriteAtEndOfFunction(MemoryDef *Def, const MemoryLocation &DefLoc) {
1286 if (!isGuaranteedLoopInvariant(DefLoc.Ptr))
1295 if (isReadClobber(DefLoc, UseInst)) {
1360 // Returns true if \p Use may read from \p DefLoc.
1361 bool isReadClobber(const MemoryLocation &DefLoc, Instruction *UseInst) {
1377 return isRefSet(BatchAA.getModRefInfo(UseInst, DefLoc));
1448 // Find the next clobbering Mod access for DefLoc, starting at StartAccess.
1510 // If Current is known to be on path that reads DefLoc or is a read
1925 auto DefLoc = getLocForWrite(DefI);
1926 if (!DefLoc || !isRemovable(DefI)) {
1937 const Value *UO = getUnderlyingObject(DefLoc->Ptr);
1941 if (isWriteAtEndOfFunction(Def, *DefLoc)) {