Home | History | Annotate | Download | only in Scalar

Lines Matching defs:Phi

1297   // Perform PHI construction.
1300 // If new PHI nodes were created, notify alias analysis.
1397 // the pointer operand of the load if PHI translation occurs. Make sure
1613 // Do PHI translation to get its value in the predecessor if necessary. The
1624 // If we couldn't find or insert a computation of this phi translated value,
1627 DEBUG(dbgs() << "COULDN'T INSERT PHI TRANSLATED VALUE OF: "
1648 // and using PHI construction to get the value in the other predecessors, do
1686 // Perform PHI construction.
1699 /// non-local by performing PHI construction.
1713 // If we had a phi translation failure, we'll have a single entry which is a
1738 // load, then it is fully redundant and we can use PHI insertion to compute
1743 // Perform PHI construction.
2461 // Don't do PRE on compares. The PHI would prevent CodeGenPrepare from
2571 // Create a PHI to make the value available in this block.
2572 PHINode* Phi = PHINode::Create(CurInst->getType(), predMap.size(),
2573 CurInst->getName() + ".pre-phi",
2577 Phi->addIncoming(V, predMap[i].second);
2579 Phi->addIncoming(PREInstr, PREPred);
2582 VN.add(Phi, ValNo);
2583 addToLeaderTable(ValNo, Phi, CurrentBlock);
2584 Phi->setDebugLoc(CurInst->getDebugLoc());
2585 CurInst->replaceAllUsesWith(Phi);
2586 if (Phi->getType()->getScalarType()->isPointerTy()) {
2587 // Because we have added a PHI-use of the pointer value, it has now
2590 for (unsigned ii = 0, ee = Phi->getNumIncomingValues(); ii != ee;
2593 VN.getAliasAnalysis()->addEscapingUse(Phi->getOperandUse(jj));
2597 MD->invalidateCachedPointerInfo(Phi);
2645 // Needed for value numbering with phi construction to work.
2694 // live successors, update their phi nodes by replacing the operands
2729 // S could be proved dead later on. That is why we don't update phi
2742 // For the dead blocks' live successors, update their phi nodes by replacing
2764 PHINode &Phi = cast<PHINode>(*II);
2765 Phi.setIncomingValue(Phi.getBasicBlockIndex(P),
2766 UndefValue::get(Phi.getType()));