Home | History | Annotate | Download | only in R600

Lines Matching refs:Phi

144 /// The condition for the optional "Else" region is expressed as a PHI node.
145 /// The incomming values of the PHI node are true for the "If" edge and false
163 /// consist of a network of PHI nodes where the true incoming values expresses
500 /// \brief Remove all PHI values coming from "From" into "To" and remember
507 PHINode &Phi = cast<PHINode>(*I++);
508 while (Phi.getBasicBlockIndex(From) != -1) {
509 Value *Deleted = Phi.removeIncomingValue(From, false);
510 Map[&Phi].push_back(std::make_pair(From, Deleted));
515 /// \brief Add a dummy PHI value as soon as we knew the new predecessor
520 PHINode &Phi = cast<PHINode>(*I++);
521 Value *Undef = UndefValue::get(Phi.getType());
522 Phi.addIncoming(Undef, From);
527 /// \brief Add the real PHI value as soon as everything is set up
544 PHINode *Phi = PI->first;
545 Value *Undef = UndefValue::get(Phi->getType());
546 Updater.Initialize(Phi->getType(), "");
565 int Idx = Phi->getBasicBlockIndex(*FI);
567 Phi->setIncomingValue(Idx, Updater.GetValueAtEndOfBlock(*FI));
576 /// \brief Remove phi values from all successors and then remove the terminator.
793 /// branches and PHI nodes only have undefined conditions.