Home
last modified time | relevance | path

Searched refs:MPhi (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMemorySSAUpdater.cpp380 auto *MPhi = MSSA->getMemoryAccess(BBIDF); in insertDef() local
381 if (!MPhi) { in insertDef()
382 MPhi = MSSA->createMemoryPhi(BBIDF); in insertDef()
383 NewInsertedPHIs.push_back(MPhi); in insertDef()
385 ExistingPhis.insert(MPhi); in insertDef()
393 NonOptPhis.insert(MPhi); in insertDef()
395 for (auto &MPhi : NewInsertedPHIs) { in insertDef() local
396 auto *BBIDF = MPhi->getBlock(); in insertDef()
399 MPhi->addIncoming(getPreviousDefFromEnd(Pred, CachedPreviousDef), Pred); in insertDef()
406 for (auto &MPhi : NewInsertedPHIs) { in insertDef() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DPHIElimination.cpp324 static bool allPhiOperandsUndefined(const MachineInstr &MPhi, in allPhiOperandsUndefined() argument
326 for (unsigned I = 1, E = MPhi.getNumOperands(); I != E; I += 2) { in allPhiOperandsUndefined()
327 const MachineOperand &MO = MPhi.getOperand(I); in allPhiOperandsUndefined()
342 MachineInstr *MPhi = MBB.remove(&*MBB.begin()); in LowerPHINode() local
344 unsigned NumSrcs = (MPhi->getNumOperands() - 1) / 2; in LowerPHINode()
345 Register DestReg = MPhi->getOperand(0).getReg(); in LowerPHINode()
346 assert(MPhi->getOperand(0).getSubReg() == 0 && "Can't handle sub-reg PHIs"); in LowerPHINode()
347 bool isDead = MPhi->getOperand(0).isDead(); in LowerPHINode()
360 if (allPhiOperandsUndefined(*MPhi, *MRI)) in LowerPHINode()
363 PHICopy = BuildMI(MBB, AfterPHIsIt, MPhi->getDebugLoc(), in LowerPHINode()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp379 if (auto *MPhi = MSSAU->getMemorySSA()->getMemoryAccess(Succ)) in AddPredecessorToBlock() local
380 MPhi->addIncoming(MPhi->getIncomingValueForBlock(ExistPred), NewPred); in AddPredecessorToBlock()