Lines Matching refs:Dom
742 DomPair &Dom = NearestDom[ParentVNI->id];
749 Dom = DomPair(ValMBB, VNI->def);
759 if (!Dom.first) {
761 Dom = DomPair(ValMBB, VNI->def);
762 } else if (Dom.first == ValMBB) {
764 if (!Dom.second.isValid() || VNI->def < Dom.second)
765 Dom.second = VNI->def;
769 MDT.findNearestCommonDominator(Dom.first, ValMBB);
772 Dom = DomPair(ValMBB, VNI->def);
773 else if (Near != Dom.first)
775 Dom = DomPair(Near, SlotIndex());
780 << " hoist to BB#" << Dom.first->getNumber() << ' '
781 << Dom.second << '\n');
786 DomPair &Dom = NearestDom[i];
787 if (!Dom.first || Dom.second.isValid())
789 // This value needs a hoisted copy inserted at the end of Dom.first.
792 // Get a less loopy dominator than Dom.first.
793 Dom.first = findShallowDominator(Dom.first, DefMBB);
794 SlotIndex Last = LIS.getMBBEndIdx(Dom.first).getPrevSlot();
795 Dom.second =
796 defFromParent(0, ParentVNI, Last, *Dom.first,
797 SA.getLastSplitPointIter(Dom.first))->def;
807 const DomPair &Dom = NearestDom[ParentVNI->id];
808 if (!Dom.first || Dom.second == VNI->def)