Lines Matching refs:Def
1625 /// Returns true if \p Def is not read before returning from the function.
1626 bool isWriteAtEndOfFunction(MemoryDef *Def) {
1627 LLVM_DEBUG(dbgs() << " Check if def " << *Def << " ("
1628 << *Def->getMemoryInst()
1631 auto MaybeLoc = getLocForWriteEx(Def->getMemoryInst());
1645 PushMemUses(Def);
1847 // 1 = Def(LoE) ; <----- DomDef stores [0,1]
1848 // 2 = Def(1) ; (2, 1) = NoAlias, stores [2,3]
1850 // (The Use points to the *first* Def it may alias)
1851 // 3 = Def(1) ; <---- Current (3, 2) = NoAlias, (3,1) = MayAlias,
2033 MemoryDef *Def = MemDefs[I];
2034 if (SkipStores.find(Def) != SkipStores.end() ||
2035 !isRemovable(Def->getMemoryInst()))
2040 if (isWriteAtEndOfFunction(Def)) {
2041 Instruction *DefI = Def->getMemoryInst();
2066 /// \returns true if \p Def is a no-op store, either because it
2068 bool storeIsNoop(MemoryDef *Def, MemoryLocation DefLoc, const Value *DefUO) {
2069 StoreInst *Store = dyn_cast<StoreInst>(Def->getMemoryInst());
2078 return LoadAccess == Def->getDefiningAccess();
2087 // If UnderlyingDef is the clobbering access of Def, no instructions
2090 MSSA.getSkipSelfWalker()->getClobberingMemoryAccess(Def);