Lines Matching refs:FirstDef
274 MemoryAccess *FirstDef = &*Defs->begin(); in insertUse() local
277 if (auto *MD = dyn_cast<MemoryDef>(FirstDef)) in insertUse()
278 FirstDef = MD->getDefiningAccess(); in insertUse()
280 MSSA->renamePass(MU->getBlock(), FirstDef, Visited); in insertUse()
440 MemoryAccess *FirstDef = &*MSSA->getWritableBlockDefs(StartBlock)->begin(); in insertDef() local
443 if (auto *MD = dyn_cast<MemoryDef>(FirstDef)) in insertDef()
444 FirstDef = MD->getDefiningAccess(); in insertDef()
446 MSSA->renamePass(MD->getBlock(), FirstDef, Visited); in insertDef()
501 auto *FirstDef = &*Defs->begin(); in fixupDefs() local
503 assert(!isa<MemoryPhi>(FirstDef) && in fixupDefs()
507 assert(MSSA->dominates(NewDef, FirstDef) && in fixupDefs()
513 cast<MemoryDef>(FirstDef)->setDefiningAccess(getPreviousDef(FirstDef)); in fixupDefs()