Lines Matching refs:Phi
1528 PHINode *Phi = cast<PHINode>(I);
1529 if (!SE.isSCEVable(Phi->getType()))
1532 PHINode *&OrigPhiRef = ExprToIVMap[SE.getSCEV(Phi)];
1534 OrigPhiRef = Phi;
1540 if (OrigPhiRef->getType() != Phi->getType())
1547 cast<Instruction>(Phi->getIncomingValueForBlock(LatchBlock));
1551 && isExpandedAddRecExprPHI(Phi, IsomorphicInc, L)) {
1552 std::swap(OrigPhiRef, Phi);
1572 << "INDVARS: Eliminated congruent iv: " << *Phi << '\n');
1574 Phi->replaceAllUsesWith(OrigPhiRef);
1575 DeadInsts.push_back(Phi);