Lines Matching refs:LiveInterval
25 TEST(LiveInterval, GetStart) {
31 LiveInterval* interval = BuildInterval(ranges, arraysize(ranges), &allocator);
37 LiveInterval* interval = BuildInterval(ranges, arraysize(ranges), &allocator);
42 TEST(LiveInterval, IsDeadAt) {
48 LiveInterval* interval = BuildInterval(ranges, arraysize(ranges), &allocator);
58 LiveInterval* interval = BuildInterval(ranges, arraysize(ranges), &allocator);
70 TEST(LiveInterval, Covers) {
76 LiveInterval* interval = BuildInterval(ranges, arraysize(ranges), &allocator);
86 LiveInterval* interval = BuildInterval(ranges, arraysize(ranges), &allocator);
98 TEST(LiveInterval, FirstIntersectionWith) {
104 LiveInterval* interval1 = BuildInterval(ranges1, arraysize(ranges1), &allocator);
106 LiveInterval* interval2 = BuildInterval(ranges2, arraysize(ranges2), &allocator);
113 LiveInterval* interval1 = BuildInterval(ranges1, arraysize(ranges1), &allocator);
115 LiveInterval* interval2 = BuildInterval(ranges2, arraysize(ranges2), &allocator);
122 LiveInterval* interval1 = BuildInterval(ranges1, arraysize(ranges1), &allocator);
124 LiveInterval* interval2 = BuildInterval(ranges2, arraysize(ranges2), &allocator);
131 LiveInterval* interval1 = BuildInterval(ranges1, arraysize(ranges1), &allocator);
133 LiveInterval* interval2 = BuildInterval(ranges2, arraysize(ranges2), &allocator);
140 LiveInterval* interval1 = BuildInterval(ranges1, arraysize(ranges1), &allocator);
142 LiveInterval* interval2 = BuildInterval(ranges2, arraysize(ranges2), &allocator);
149 LiveInterval* interval1 = BuildInterval(ranges1, arraysize(ranges1), &allocator);
151 LiveInterval* interval2 = BuildInterval(ranges2, arraysize(ranges2), &allocator);
158 LiveInterval* interval1 = BuildInterval(ranges1, arraysize(ranges1), &allocator);
160 LiveInterval* interval2 = BuildInterval(ranges2, arraysize(ranges2), &allocator);
166 static bool RangesEquals(LiveInterval* interval,
190 TEST(LiveInterval, SplitAt) {
197 LiveInterval* interval = BuildInterval(ranges, arraysize(ranges), &allocator);
198 LiveInterval* split = interval->SplitAt(1);
208 LiveInterval* interval = BuildInterval(ranges, arraysize(ranges), &allocator);
209 LiveInterval* split = interval->SplitAt(3);
219 LiveInterval* interval = BuildInterval(ranges, arraysize(ranges), &allocator);
220 LiveInterval* split = interval->SplitAt(1);
230 LiveInterval* interval = BuildInterval(ranges, arraysize(ranges), &allocator);
231 LiveInterval* split = interval->SplitAt(5);
241 LiveInterval* interval = BuildInterval(ranges, arraysize(ranges), &allocator);
242 LiveInterval* split = interval->SplitAt(9);
252 LiveInterval* interval = BuildInterval(ranges, arraysize(ranges), &allocator);
253 LiveInterval* split = interval->SplitAt(6);
263 LiveInterval* interval = BuildInterval(ranges, arraysize(ranges), &allocator);
264 LiveInterval* split = interval->SplitAt(4);
274 LiveInterval* interval = BuildInterval(ranges, arraysize(ranges), &allocator);
275 LiveInterval* split = interval->SplitAt(5);