Home | History | Annotate | Download | only in Scalar

Lines Matching refs:Phi

1301   // Perform PHI construction.
1304 // If new PHI nodes were created, notify alias analysis.
1333 /// non-local by performing PHI construction.
1349 // If we had a phi translation failure, we'll have a single entry which is a
1379 // the pointer operand of the load if PHI translation occurs. Make sure
1491 // load, then it is fully redundant and we can use PHI insertion to compute
1496 // Perform PHI construction.
1610 // Do PHI translation to get its value in the predecessor if necessary. The
1626 // If we couldn't find or insert a computation of this phi translated value,
1629 DEBUG(dbgs() << "COULDN'T INSERT PHI TRANSLATED VALUE OF: "
1666 // and using PHI construction to get the value in the other predecessors, do
1705 // Perform PHI construction.
2390 // Don't do PRE on compares. The PHI would prevent CodeGenPrepare from
2500 // Create a PHI to make the value available in this block.
2501 PHINode* Phi = PHINode::Create(CurInst->getType(), predMap.size(),
2502 CurInst->getName() + ".pre-phi",
2506 Phi->addIncoming(V, predMap[i].second);
2508 Phi->addIncoming(PREInstr, PREPred);
2511 VN.add(Phi, ValNo);
2512 addToLeaderTable(ValNo, Phi, CurrentBlock);
2513 Phi->setDebugLoc(CurInst->getDebugLoc());
2514 CurInst->replaceAllUsesWith(Phi);
2515 if (Phi->getType()->getScalarType()->isPointerTy()) {
2516 // Because we have added a PHI-use of the pointer value, it has now
2519 for (unsigned ii = 0, ee = Phi->getNumIncomingValues(); ii != ee;
2522 VN.getAliasAnalysis()->addEscapingUse(Phi->getOperandUse(jj));
2526 MD->invalidateCachedPointerInfo(Phi);
2565 // Needed for value numbering with phi construction to work.