Lines Matching defs:WaterList

106     /// WaterList - A sorted list of basic blocks where islands could be placed
109 std::vector<MachineBasicBlock*> WaterList;
111 /// NewWaterList - The subset of WaterList that was created since the
519 WaterList.clear();
794 WaterList.push_back(&MBB);
962 /// CompareMBBNumbers - Little predicate function to sort the WaterList by MBB
980 // Next, update WaterList. Specifically, we need to add NewMBB as having
982 water_iterator IP = llvm::lower_bound(WaterList, NewBB, CompareMBBNumbers);
983 WaterList.insert(IP, NewBB);
1042 // Next, update WaterList. Specifically, we need to add OrigMBB as having
1046 water_iterator IP = llvm::lower_bound(WaterList, OrigBB, CompareMBBNumbers);
1049 WaterList.insert(std::next(IP), NewBB);
1051 WaterList.insert(IP, OrigBB);
1293 /// findAvailableWater - Look for an existing entry in the WaterList in which
1296 /// is set to the WaterList entry. For Thumb, prefer water that will not
1304 if (WaterList.empty())
1324 for (water_iterator IP = std::prev(WaterList.end()), B = WaterList.begin();;
1361 /// createNewWater - No existing WaterList entry will work for
1366 /// block following which the new island can be inserted (the WaterList
1578 // If the original WaterList entry was "new water" on this iteration,
1580 // updated to match the WaterList, which will be updated below.
1591 // splitBlockBeforeInstr adds to WaterList, which is important when it is
1594 // it. Check for this so it will be removed from the WaterList.
1597 IP = find(WaterList, WaterBB);
1598 if (IP != WaterList.end())
1611 // Remove the original WaterList entry; we want subsequent insertions in
1615 if (IP != WaterList.end())
1616 WaterList.erase(IP);