Lines Matching refs:MP

278     for (auto &MP : InsertedPHIs)  in insertUse()  local
279 if (MemoryPhi *Phi = cast_or_null<MemoryPhi>(MP)) in insertUse()
285 static void setMemoryPhiValueForBlock(MemoryPhi *MP, const BasicBlock *BB, in setMemoryPhiValueForBlock() argument
289 int i = MP->getBasicBlockIndex(BB); in setMemoryPhiValueForBlock()
293 for (const BasicBlock *BlockBB : llvm::drop_begin(MP->blocks(), i)) { in setMemoryPhiValueForBlock()
296 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 (const 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()
517 if (auto *MP = MSSA->getMemoryAccess(S)) in fixupDefs() local
518 setMemoryPhiValueForBlock(MP, FixupBlock, NewDef); in fixupDefs()
556 static MemoryAccess *onlySingleValue(MemoryPhi *MP) { in onlySingleValue() argument
559 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()