Lines Matching refs:MP
231 static void setMemoryPhiValueForBlock(MemoryPhi *MP, const BasicBlock *BB, in setMemoryPhiValueForBlock() argument
235 int i = MP->getBasicBlockIndex(BB); in setMemoryPhiValueForBlock()
239 for (auto BBIter = MP->block_begin() + i; BBIter != MP->block_end(); in setMemoryPhiValueForBlock()
243 MP->setIncomingValue(i, NewDef); in setMemoryPhiValueForBlock()
318 for (auto &MP : InsertedPHIs) { in insertDef() local
319 MemoryPhi *Phi = dyn_cast_or_null<MemoryPhi>(MP); in insertDef()
351 if (auto *MP = MSSA->getMemoryAccess(S)) in fixupDefs() local
352 setMemoryPhiValueForBlock(MP, NewDef->getBlock(), NewDef); in fixupDefs()
382 if (auto *MP = MSSA->getMemoryAccess(S)) in fixupDefs() local
383 setMemoryPhiValueForBlock(MP, FixupBlock, NewDef); in fixupDefs()
1005 static MemoryAccess *onlySingleValue(MemoryPhi *MP) { in onlySingleValue() argument
1008 for (auto &Arg : MP->operands()) { in onlySingleValue()
1061 if (MemoryPhi *MP = dyn_cast<MemoryPhi>(MA)) { in removeMemoryAccess() local
1067 NewDefTarget = onlySingleValue(MP); in removeMemoryAccess()
1068 assert((NewDefTarget || MP->use_empty()) && in removeMemoryAccess()
1111 if (MemoryPhi *MP = MSSA->getMemoryAccess(Succ)) { in removeBlocks() local
1112 MP->unorderedDeleteIncomingBlock(BB); in removeBlocks()
1113 if (MP->getNumIncomingValues() == 1) in removeBlocks()
1114 removeMemoryAccess(MP); in removeBlocks()