Searched refs:MPhi (Results 1 – 3 of 3) sorted by relevance
230 static bool allPhiOperandsUndefined(const MachineInstr &MPhi, in allPhiOperandsUndefined() argument232 for (unsigned I = 1, E = MPhi.getNumOperands(); I != E; I += 2) { in allPhiOperandsUndefined()233 const MachineOperand &MO = MPhi.getOperand(I); in allPhiOperandsUndefined()247 MachineInstr *MPhi = MBB.remove(&*MBB.begin()); in LowerPHINode() local249 unsigned NumSrcs = (MPhi->getNumOperands() - 1) / 2; in LowerPHINode()250 Register DestReg = MPhi->getOperand(0).getReg(); in LowerPHINode()251 assert(MPhi->getOperand(0).getSubReg() == 0 && "Can't handle sub-reg PHIs"); in LowerPHINode()252 bool isDead = MPhi->getOperand(0).isDead(); in LowerPHINode()264 if (allPhiOperandsUndefined(*MPhi, *MRI)) in LowerPHINode()267 PHICopy = BuildMI(MBB, AfterPHIsIt, MPhi->getDebugLoc(), in LowerPHINode()[all …]
380 auto *MPhi = MSSA->getMemoryAccess(BBIDF); in insertDef() local381 if (!MPhi) { in insertDef()382 MPhi = MSSA->createMemoryPhi(BBIDF); in insertDef()383 NewInsertedPHIs.push_back(MPhi); in insertDef()391 NonOptPhis.insert(MPhi); in insertDef()393 for (auto &MPhi : NewInsertedPHIs) { in insertDef() local394 auto *BBIDF = MPhi->getBlock(); in insertDef()397 MPhi->addIncoming(getPreviousDefFromEnd(Pred, CachedPreviousDef), Pred); in insertDef()404 for (auto &MPhi : NewInsertedPHIs) { in insertDef() local405 InsertedPHIs.push_back(&*MPhi); in insertDef()[all …]
308 if (auto *MPhi = MSSAU->getMemorySSA()->getMemoryAccess(Succ)) in AddPredecessorToBlock() local309 MPhi->addIncoming(MPhi->getIncomingValueForBlock(ExistPred), NewPred); in AddPredecessorToBlock()