Home | History | Annotate | Download | only in Scalar

Lines Matching defs:Phi

1288   // Perform PHI construction.
1291 // If new PHI nodes were created, notify alias analysis.
1320 /// non-local by performing PHI construction.
1336 // If we had a phi translation failure, we'll have a single entry which is a
1366 // the pointer operand of the load if PHI translation occurs. Make sure
1478 // load, then it is fully redundant and we can use PHI insertion to compute
1483 // Perform PHI construction.
1621 // Do PHI translation to get its value in the predecessor if necessary. The
1637 // If we couldn't find or insert a computation of this phi translated value,
1640 DEBUG(dbgs() << "COULDN'T INSERT PHI TRANSLATED VALUE OF: "
1677 // and using PHI construction to get the value in the other predecessors, do
1716 // Perform PHI construction.
1956 // If From occurs as a phi node operand then the use implicitly lives in the
2339 // Don't do PRE on compares. The PHI would prevent CodeGenPrepare from
2447 // Create a PHI to make the value available in this block.
2449 PHINode* Phi = PHINode::Create(CurInst->getType(), std::distance(PB, PE),
2450 CurInst->getName() + ".pre-phi",
2454 Phi->addIncoming(predMap[P], P);
2457 VN.add(Phi, ValNo);
2458 addToLeaderTable(ValNo, Phi, CurrentBlock);
2459 Phi->setDebugLoc(CurInst->getDebugLoc());
2460 CurInst->replaceAllUsesWith(Phi);
2461 if (Phi->getType()->isPointerTy()) {
2462 // Because we have added a PHI-use of the pointer value, it has now
2465 for (unsigned ii = 0, ee = Phi->getNumIncomingValues(); ii != ee;
2468 VN.getAliasAnalysis()->addEscapingUse(Phi->getOperandUse(jj));
2472 MD->invalidateCachedPointerInfo(Phi);
2511 // Needed for value numbering with phi construction to work.