Home
last modified time | relevance | path

Searched refs:NewPhi (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DMemorySSAUpdater.cpp659 auto FixPhiIncomingValues = [&](MemoryPhi *Phi, MemoryPhi *NewPhi) { in updateForClonedLoop() argument
660 assert(Phi && NewPhi && "Invalid Phi nodes."); in updateForClonedLoop()
661 BasicBlock *NewPhiBB = NewPhi->getBlock(); in updateForClonedLoop()
692 NewPhi->addIncoming(IncMUD, IncBB); in updateForClonedLoop()
696 NewPhi->addIncoming(NewDefPhi, IncBB); in updateForClonedLoop()
698 NewPhi->addIncoming(IncPhi, IncBB); in updateForClonedLoop()
713 MemoryPhi *NewPhi = MSSA->createMemoryPhi(NewBlock); in updateForClonedLoop() local
714 MPhiMap[MPhi] = NewPhi; in updateForClonedLoop()
725 if (MemoryAccess *NewPhi = MPhiMap.lookup(MPhi)) in updateForClonedLoop() local
726 FixPhiIncomingValues(MPhi, cast<MemoryPhi>(NewPhi)); in updateForClonedLoop()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonVectorLoopCarriedReuse.cpp639 PHINode *NewPhi; in reuseValue() local
642 NewPhi = IRB.CreatePHI(InstInPreheader->getType(), 2); in reuseValue()
643 NewPhi->addIncoming(InstInPreheader, LoopPH); in reuseValue()
644 NewPhi->addIncoming(BEVal, BB); in reuseValue()
645 LLVM_DEBUG(dbgs() << "Adding " << *NewPhi << " to " << BB->getName() in reuseValue()
647 BEVal = NewPhi; in reuseValue()
651 Inst2Replace->replaceAllUsesWith(NewPhi); in reuseValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopInterchange.cpp1422 PHINode *NewPhi = dyn_cast<PHINode>(P.clone()); in moveLCSSAPhis() local
1423 NewPhi->setIncomingValue(0, P.getIncomingValue(0)); in moveLCSSAPhis()
1424 NewPhi->setIncomingBlock(0, OuterLatch); in moveLCSSAPhis()
1425 NewPhi->insertBefore(InnerLatch->getFirstNonPHI()); in moveLCSSAPhis()
1426 P.setIncomingValue(0, NewPhi); in moveLCSSAPhis()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DModuloSchedule.cpp551 MachineInstrBuilder NewPhi = in generateExistingPhis() local
554 NewPhi.addReg(PhiOp1).addMBB(BB1); in generateExistingPhis()
555 NewPhi.addReg(PhiOp2).addMBB(BB2); in generateExistingPhis()
557 InstrMap[NewPhi] = &*BBI; in generateExistingPhis()
667 MachineInstrBuilder NewPhi = in generatePhis() local
670 NewPhi.addReg(PhiOp1).addMBB(BB1); in generatePhis()
671 NewPhi.addReg(PhiOp2).addMBB(BB2); in generatePhis()
673 InstrMap[NewPhi] = &*BBI; in generatePhis()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp724 PHINode *NewPhi = PHINode::Create(NarrowType, NumIncomingValues, in FoldPHIArgZextsIntoPHI() local
727 NewPhi->addIncoming(NewIncoming[i], Phi.getIncomingBlock(i)); in FoldPHIArgZextsIntoPHI()
729 InsertNewInstBefore(NewPhi, Phi); in FoldPHIArgZextsIntoPHI()
730 return CastInst::CreateZExtOrBitCast(NewPhi, Phi.getType()); in FoldPHIArgZextsIntoPHI()
DInstructionCombining.cpp1114 if (Instruction *NewPhi = foldOpIntoPhi(I, PN)) in foldBinOpIntoSelectOrPhi() local
1115 return NewPhi; in foldBinOpIntoSelectOrPhi()
DInstCombineCompares.cpp718 PHINode *NewPhi = static_cast<PHINode *>(NewInsts[PHI]); in rewriteGEPAsOffset() local
725 NewPhi->addIncoming(NewIncoming, PHI->getIncomingBlock(I)); in rewriteGEPAsOffset()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp4081 PHINode *NewPhi = Builder.CreatePHI(VecTy, PH->getNumIncomingValues()); in vectorizeTree() local
4082 Value *V = NewPhi; in vectorizeTree()
4098 NewPhi->addIncoming(NewPhi->getIncomingValueForBlock(IBB), IBB); in vectorizeTree()
4105 NewPhi->addIncoming(Vec, IBB); in vectorizeTree()
4108 assert(NewPhi->getNumIncomingValues() == PH->getNumIncomingValues() && in vectorizeTree()
DLoopVectorize.cpp4005 PHINode *NewPhi = in fixNonInductionPHIs() local
4012 predecessors(NewPhi->getParent())); in fixNonInductionPHIs()
4020 Builder.SetInsertPoint(NewPhi); in fixNonInductionPHIs()
4034 NewPhi->addIncoming(NewIncV, NewPredBB); in fixNonInductionPHIs()