• Home
  • Raw
  • Download

Lines Matching refs:intervals

68   bool ValidateIntervals(const ScopedArenaVector<LiveInterval*>& intervals,  in ValidateIntervals()  argument
70 return RegisterAllocator::ValidateIntervals(ArrayRef<LiveInterval* const>(intervals), in ValidateIntervals()
106 ScopedArenaVector<LiveInterval*> intervals(GetScopedAllocator()->Adapter()); in TEST_F() local
111 intervals.push_back(BuildInterval(ranges, arraysize(ranges), GetScopedAllocator(), 0)); in TEST_F()
112 intervals.push_back(BuildInterval(ranges, arraysize(ranges), GetScopedAllocator(), 1)); in TEST_F()
113 ASSERT_TRUE(ValidateIntervals(intervals, codegen)); in TEST_F()
115 intervals[1]->SetRegister(0); in TEST_F()
116 ASSERT_FALSE(ValidateIntervals(intervals, codegen)); in TEST_F()
117 intervals.clear(); in TEST_F()
123 intervals.push_back(BuildInterval(ranges1, arraysize(ranges1), GetScopedAllocator(), 0)); in TEST_F()
125 intervals.push_back(BuildInterval(ranges2, arraysize(ranges2), GetScopedAllocator(), 1)); in TEST_F()
126 ASSERT_TRUE(ValidateIntervals(intervals, codegen)); in TEST_F()
128 intervals[1]->SetRegister(0); in TEST_F()
129 ASSERT_TRUE(ValidateIntervals(intervals, codegen)); in TEST_F()
130 intervals.clear(); in TEST_F()
136 intervals.push_back(BuildInterval(ranges1, arraysize(ranges1), GetScopedAllocator(), 0)); in TEST_F()
138 intervals.push_back(BuildInterval(ranges2, arraysize(ranges2), GetScopedAllocator(), 1)); in TEST_F()
139 ASSERT_TRUE(ValidateIntervals(intervals, codegen)); in TEST_F()
141 intervals[1]->SetRegister(0); in TEST_F()
142 ASSERT_TRUE(ValidateIntervals(intervals, codegen)); in TEST_F()
143 intervals.clear(); in TEST_F()
149 intervals.push_back(BuildInterval(ranges1, arraysize(ranges1), GetScopedAllocator(), 0)); in TEST_F()
151 intervals.push_back(BuildInterval(ranges2, arraysize(ranges2), GetScopedAllocator(), 1)); in TEST_F()
152 ASSERT_TRUE(ValidateIntervals(intervals, codegen)); in TEST_F()
154 intervals[1]->SetRegister(0); in TEST_F()
155 ASSERT_FALSE(ValidateIntervals(intervals, codegen)); in TEST_F()
156 intervals.clear(); in TEST_F()
162 intervals.push_back(BuildInterval(ranges1, arraysize(ranges1), GetScopedAllocator(), 0)); in TEST_F()
163 intervals[0]->SplitAt(43); in TEST_F()
165 intervals.push_back(BuildInterval(ranges2, arraysize(ranges2), GetScopedAllocator(), 1)); in TEST_F()
166 ASSERT_TRUE(ValidateIntervals(intervals, codegen)); in TEST_F()
168 intervals[1]->SetRegister(0); in TEST_F()
170 ASSERT_TRUE(ValidateIntervals(intervals, codegen)); in TEST_F()
172 intervals[0]->GetNextSibling()->SetRegister(0); in TEST_F()
173 ASSERT_FALSE(ValidateIntervals(intervals, codegen)); in TEST_F()
934 ScopedArenaVector<LiveInterval*> intervals(GetScopedAllocator()->Adapter()); in TEST_F() local
935 intervals.push_back(first); in TEST_F()
936 intervals.push_back(second); in TEST_F()
937 intervals.push_back(third); in TEST_F()
938 intervals.push_back(fourth); in TEST_F()
939 ASSERT_TRUE(ValidateIntervals(intervals, codegen)); in TEST_F()