Lines Matching refs:IncomingValues
602 /// undef. Update IncomingValues based on the selected value.
606 /// \param IncomingValues A map from block-to-value for other phi inputs
611 IncomingValueMap &IncomingValues) {
613 assert((!IncomingValues.count(BB) ||
614 IncomingValues.find(BB)->second == OldVal) &&
617 IncomingValues.insert(std::make_pair(BB, OldVal));
621 IncomingValueMap::const_iterator It = IncomingValues.find(BB);
622 if (It != IncomingValues.end()) return It->second;
634 /// \param IncomingValues [out] The map from block to value for this phi.
636 IncomingValueMap &IncomingValues) {
642 IncomingValues.insert(std::make_pair(BB, V));
650 /// \param IncomingValues A map from block to value.
652 const IncomingValueMap &IncomingValues) {
659 IncomingValueMap::const_iterator It = IncomingValues.find(BB);
660 if (It == IncomingValues.end()) continue;
679 IncomingValueMap IncomingValues;
690 gatherIncomingValuesToPhi(PN, IncomingValues);
705 IncomingValues);
717 IncomingValues);
725 replaceUndefValuesInPhi(PN, IncomingValues);