Lines Matching defs:Phi
124 for (auto *Phi : PhisToFix) {
125 assert(IRDef2VPValue.count(Phi) && "Missing VPInstruction for PHINode.");
126 VPValue *VPVal = IRDef2VPValue[Phi];
133 Loop *L = LI->getLoopFor(Phi->getParent());
134 if (isHeaderBB(Phi->getParent(), L)) {
137 assert(Phi->getNumOperands() == 2);
140 getOrCreateVPOperand(Phi->getIncomingValueForBlock(LoopPred)),
144 getOrCreateVPOperand(Phi->getIncomingValueForBlock(LoopLatch)),
149 for (unsigned I = 0; I != Phi->getNumOperands(); ++I)
150 VPPhi->addIncoming(getOrCreateVPOperand(Phi->getIncomingValue(I)),
151 BB2VPBB[Phi->getIncomingBlock(I)]);
282 // VPInstruction in \p BB have been visited before (except for Phi nodes).
312 if (auto *Phi = dyn_cast<PHINode>(Inst)) {
313 // Phi node's operands may have not been visited at this point. We create
316 NewVPV = new VPWidenPHIRecipe(Phi, nullptr, Phi->getDebugLoc());
318 PhisToFix.push_back(Phi);