Lines Matching defs:MemLoc
421 MemoryLocation MemLoc;
423 MemLoc = MemoryLocation::getForDest(MemSet);
425 MemLoc = MemoryLocation::get(SecondI);
427 auto *MemLocPtr = const_cast<Value *>(MemLoc.Ptr);
458 if (isModSet(AA.getModRefInfo(I, MemLoc.getWithNewPtr(Ptr))))
814 // A memory location wrapper that represents a MemoryLocation, `MemLoc`,
817 MemoryLocationWrapper(MemoryLocation MemLoc, MemoryDef *MemDef,
819 : MemLoc(MemLoc), MemDef(MemDef),
821 assert(MemLoc.Ptr && "MemLoc should be not null");
822 UnderlyingObject = getUnderlyingObject(MemLoc.Ptr);
826 MemoryLocation MemLoc;
839 for (auto &[MemLoc, DefByInitializesAttr] : MemLocations)
841 MemoryLocationWrapper(MemLoc, MemDef, DefByInitializesAttr));
1212 for (auto &MemLoc : getInitializesArgMemLoc(I)) {
1213 Locations.push_back(std::make_pair(MemLoc, true));
2254 // Try to eliminate dead defs that access `KillingLocWrapper.MemLoc` and are
2373 KillingLocWrapper.MemDef, Current, KillingLocWrapper.MemLoc,
2434 KillingLocWrapper.MemLoc, DeadLocWrapper.MemLoc,
2438 OR = isPartialOverwrite(KillingLocWrapper.MemLoc, DeadLocWrapper.MemLoc,