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/ |
D | MemorySSAUpdater.cpp | 659 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/ |
D | HexagonVectorLoopCarriedReuse.cpp | 639 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/ |
D | LoopInterchange.cpp | 1422 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/ |
D | ModuloSchedule.cpp | 551 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/ |
D | InstCombinePHI.cpp | 724 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()
|
D | InstructionCombining.cpp | 1114 if (Instruction *NewPhi = foldOpIntoPhi(I, PN)) in foldBinOpIntoSelectOrPhi() local 1115 return NewPhi; in foldBinOpIntoSelectOrPhi()
|
D | InstCombineCompares.cpp | 718 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/ |
D | SLPVectorizer.cpp | 4081 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()
|
D | LoopVectorize.cpp | 4005 PHINode *NewPhi = in fixNonInductionPHIs() local 4012 predecessors(NewPhi->getParent())); in fixNonInductionPHIs() 4020 Builder.SetInsertPoint(NewPhi); in fixNonInductionPHIs() 4034 NewPhi->addIncoming(NewIncV, NewPredBB); in fixNonInductionPHIs()
|