Lines Matching refs:MP

284     for (auto &MP : InsertedPHIs)  in insertUse()  local
285 if (MemoryPhi *Phi = cast_or_null<MemoryPhi>(MP)) in insertUse()
291 static void setMemoryPhiValueForBlock(MemoryPhi *MP, const BasicBlock *BB, in setMemoryPhiValueForBlock() argument
295 int i = MP->getBasicBlockIndex(BB); in setMemoryPhiValueForBlock()
299 for (auto BBIter = MP->block_begin() + i; BBIter != MP->block_end(); in setMemoryPhiValueForBlock()
303 MP->setIncomingValue(i, NewDef); in setMemoryPhiValueForBlock()
447 for (auto &MP : InsertedPHIs) { in insertDef() local
448 MemoryPhi *Phi = dyn_cast_or_null<MemoryPhi>(MP); in insertDef()
454 for (auto &MP : ExistingPhis) { in insertDef() local
455 MemoryPhi *Phi = dyn_cast_or_null<MemoryPhi>(MP); in insertDef()
487 if (auto *MP = MSSA->getMemoryAccess(S)) in fixupDefs() local
488 setMemoryPhiValueForBlock(MP, NewDef->getBlock(), NewDef); in fixupDefs()
518 if (auto *MP = MSSA->getMemoryAccess(S)) in fixupDefs() local
519 setMemoryPhiValueForBlock(MP, FixupBlock, NewDef); in fixupDefs()
557 static MemoryAccess *onlySingleValue(MemoryPhi *MP) { in onlySingleValue() argument
560 for (auto &Arg : MP->operands()) { in onlySingleValue()
1311 if (MemoryPhi *MP = dyn_cast<MemoryPhi>(MA)) { in removeMemoryAccess() local
1317 NewDefTarget = onlySingleValue(MP); in removeMemoryAccess()
1318 assert((NewDefTarget || MP->use_empty()) && in removeMemoryAccess()
1347 if (MemoryPhi *MP = dyn_cast<MemoryPhi>(U.getUser())) in removeMemoryAccess() local
1348 PhisToCheck.insert(MP); in removeMemoryAccess()
1366 if (MemoryPhi *MP = in removeMemoryAccess() local
1368 tryRemoveTrivialPhi(MP); in removeMemoryAccess()
1380 if (MemoryPhi *MP = MSSA->getMemoryAccess(Succ)) { in removeBlocks() local
1381 MP->unorderedDeleteIncomingBlock(BB); in removeBlocks()
1382 tryRemoveTrivialPhi(MP); in removeBlocks()