Lines Matching defs:NewDef
284 // Set every incoming edge {BB, MP->getBlock()} of MemoryPhi MP to NewDef.
286 MemoryAccess *NewDef) {
296 MP->setIncomingValue(i, NewDef);
466 MemoryAccess *NewDef = dyn_cast_or_null<MemoryAccess>(Var);
467 if (!NewDef)
470 auto *Defs = MSSA->getWritableBlockDefs(NewDef->getBlock());
471 auto DefIter = NewDef->getDefsIterator();
474 if (MemoryPhi *Phi = dyn_cast<MemoryPhi>(NewDef))
479 cast<MemoryDef>(DefIter)->setDefiningAccess(NewDef);
486 for (const auto *S : successors(NewDef->getBlock())) {
488 setMemoryPhiValueForBlock(MP, NewDef->getBlock(), NewDef);
504 assert(MSSA->dominates(NewDef, FirstDef) &&
518 setMemoryPhiValueForBlock(MP, FixupBlock, NewDef);