Home | History | Annotate | Download | only in Scalar

Lines Matching defs:Phi

1304   // Perform PHI construction.
1307 // If new PHI nodes were created, notify alias analysis.
1403 // the pointer operand of the load if PHI translation occurs. Make sure
1620 // Do PHI translation to get its value in the predecessor if necessary. The
1631 // If we couldn't find or insert a computation of this phi translated value,
1634 DEBUG(dbgs() << "COULDN'T INSERT PHI TRANSLATED VALUE OF: "
1655 // and using PHI construction to get the value in the other predecessors, do
1695 // Perform PHI construction.
1708 /// non-local by performing PHI construction.
1721 // If we had a phi translation failure, we'll have a single entry which is a
1755 // load, then it is fully redundant and we can use PHI insertion to compute
1760 // Perform PHI construction.
2494 // Don't do PRE on compares. The PHI would prevent CodeGenPrepare from
2555 // and we just need to insert a phi node. Otherwise, perform
2588 // Create a PHI to make the value available in this block.
2589 PHINode *Phi =
2591 CurInst->getName() + ".pre-phi", CurrentBlock->begin());
2594 Phi->addIncoming(V, predMap[i].second);
2596 Phi->addIncoming(PREInstr, PREPred);
2599 VN.add(Phi, ValNo);
2600 addToLeaderTable(ValNo, Phi, CurrentBlock);
2601 Phi->setDebugLoc(CurInst->getDebugLoc());
2602 CurInst->replaceAllUsesWith(Phi);
2603 if (Phi->getType()->getScalarType()->isPointerTy()) {
2604 // Because we have added a PHI-use of the pointer value, it has now
2607 for (unsigned ii = 0, ee = Phi->getNumIncomingValues(); ii != ee; ++ii) {
2609 VN.getAliasAnalysis()->addEscapingUse(Phi->getOperandUse(jj));
2613 MD->invalidateCachedPointerInfo(Phi);
2690 // Needed for value numbering with phi construction to work.
2731 /// live successors, update their phi nodes by replacing the operands
2765 // S could be proved dead later on. That is why we don't update phi
2778 // For the dead blocks' live successors, update their phi nodes by replacing
2800 PHINode &Phi = cast<PHINode>(*II);
2801 Phi.setIncomingValue(Phi.getBasicBlockIndex(P),
2802 UndefValue::get(Phi.getType()));