Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DPHIElimination.cpp230 static bool allPhiOperandsUndefined(const MachineInstr &MPhi, in allPhiOperandsUndefined() argument
232 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() local
249 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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
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()
391 NonOptPhis.insert(MPhi); in insertDef()
393 for (auto &MPhi : NewInsertedPHIs) { in insertDef() local
394 auto *BBIDF = MPhi->getBlock(); in insertDef()
397 MPhi->addIncoming(getPreviousDefFromEnd(Pred, CachedPreviousDef), Pred); in insertDef()
404 for (auto &MPhi : NewInsertedPHIs) { in insertDef() local
405 InsertedPHIs.push_back(&*MPhi); in insertDef()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp308 if (auto *MPhi = MSSAU->getMemorySSA()->getMemoryAccess(Succ)) in AddPredecessorToBlock() local
309 MPhi->addIncoming(MPhi->getIncomingValueForBlock(ExistPred), NewPred); in AddPredecessorToBlock()