Lines Matching defs:WaterList
113 /// WaterList - A sorted list of basic blocks where islands could be placed
116 std::vector<MachineBasicBlock *> WaterList;
118 /// NewWaterList - The subset of WaterList that was created since the
359 WaterList.clear();
497 WaterList.push_back(&MBB);
610 /// CompareMBBNumbers - Little predicate function to sort the WaterList by MBB
629 // Next, update WaterList. Specifically, we need to add NewMBB as having
631 water_iterator IP = llvm::lower_bound(WaterList, NewBB, compareMbbNumbers);
632 WaterList.insert(IP, NewBB);
683 // Next, update WaterList. Specifically, we need to add OrigMBB as having
687 water_iterator IP = llvm::lower_bound(WaterList, OrigBB, compareMbbNumbers);
690 WaterList.insert(std::next(IP), NewBB);
692 WaterList.insert(IP, OrigBB);
911 /// findAvailableWater - Look for an existing entry in the WaterList in which
914 /// is set to the WaterList entry.
921 if (WaterList.empty())
925 for (water_iterator IP = std::prev(WaterList.end()), B = WaterList.begin();;
957 /// createNewWater - No existing WaterList entry will work for
962 /// block following which the new island can be inserted (the WaterList
1089 // If the original WaterList entry was "new water" on this iteration,
1091 // updated to match the WaterList, which will be updated below.
1101 // splitBlockBeforeInstr adds to WaterList, which is important when it is
1104 // it. Check for this so it will be removed from the WaterList.
1107 IP = llvm::find(WaterList, WaterBB);
1108 if (IP != WaterList.end())
1115 // Remove the original WaterList entry; we want subsequent insertions in
1119 if (IP != WaterList.end())
1120 WaterList.erase(IP);