Home | History | Annotate | Download | only in service

Lines Matching refs:GetPointsToSet

66         points_to_analysis_->GetPointsToSet(instruction).element(index);
134 EXPECT_EQ(1, points_to_analysis_->GetPointsToSet(constant1).size());
136 points_to_analysis_->GetPointsToSet(constant1).element({}), {constant1});
138 points_to_analysis_->GetPointsToSet(constant1).tuple_sources({}).empty());
139 EXPECT_TRUE(points_to_analysis_->GetPointsToSet(tuple).IsDistinct());
141 EXPECT_EQ(1, points_to_analysis_->GetPointsToSet(constant2).size());
143 points_to_analysis_->GetPointsToSet(constant2).element({}), {constant2});
145 points_to_analysis_->GetPointsToSet(constant2).tuple_sources({}).empty());
147 EXPECT_EQ(3, points_to_analysis_->GetPointsToSet(tuple).size());
148 EXPECT_FALSE(points_to_analysis_->GetPointsToSet(tuple).IsAmbiguous());
149 EXPECT_THAT(points_to_analysis_->GetPointsToSet(tuple).tuple_sources({}),
153 points_to_analysis_->GetPointsToSet(tuple).CreateFlattenedSet(),
156 points_to_analysis_->GetPointsToSet(tuple).element({}), {tuple});
158 points_to_analysis_->GetPointsToSet(tuple).element({0}), {constant1});
160 points_to_analysis_->GetPointsToSet(tuple).element({1}), {constant2});
163 points_to_analysis_->GetPointsToSet(tuple);
193 points_to_analysis_->GetPointsToSet(constant1).element({}), {constant1});
195 points_to_analysis_->GetPointsToSet(constant2).element({}), {constant2});
197 points_to_analysis_->GetPointsToSet(constant3).element({}), {constant3});
199 EXPECT_EQ(3, points_to_analysis_->GetPointsToSet(inner_tuple).size());
200 EXPECT_FALSE(points_to_analysis_->GetPointsToSet(inner_tuple).IsAmbiguous());
201 EXPECT_TRUE(points_to_analysis_->GetPointsToSet(inner_tuple).IsDistinct());
203 points_to_analysis_->GetPointsToSet(inner_tuple).CreateFlattenedSet(),
206 points_to_analysis_->GetPointsToSet(inner_tuple).element({}),
209 points_to_analysis_->GetPointsToSet(inner_tuple).tuple_sources({}),
212 EXPECT_EQ(5, points_to_analysis_->GetPointsToSet(tuple).size());
213 EXPECT_FALSE(points_to_analysis_->GetPointsToSet(tuple).IsAmbiguous());
215 points_to_analysis_->GetPointsToSet(tuple).CreateFlattenedSet(),
218 EXPECT_THAT(points_to_analysis_->GetPointsToSet(tuple).tuple_sources({}),
220 EXPECT_THAT(points_to_analysis_->GetPointsToSet(tuple).tuple_sources({0}),
223 points_to_analysis_->GetPointsToSet(tuple).tuple_sources({1}).empty());
226 points_to_analysis_->GetPointsToSet(tuple).element({0}), {inner_tuple});
228 points_to_analysis_->GetPointsToSet(tuple).element({0, 0}), {constant1});
230 points_to_analysis_->GetPointsToSet(tuple).element({0, 1}), {constant2});
232 points_to_analysis_->GetPointsToSet(tuple).element({1}), {constant3});
257 auto& points_to_set = points_to_analysis_->GetPointsToSet(get_tuple_element);
279 EXPECT_EQ(2, points_to_analysis_->GetPointsToSet(tuple).size());
280 EXPECT_FALSE(points_to_analysis_->GetPointsToSet(tuple).IsAmbiguous());
281 EXPECT_FALSE(points_to_analysis_->GetPointsToSet(tuple).IsDistinct());
283 points_to_analysis_->GetPointsToSet(tuple).element({}), {tuple});
285 points_to_analysis_->GetPointsToSet(tuple).CreateFlattenedSet(),
304 EXPECT_FALSE(points_to_analysis_->GetPointsToSet(copy).IsAmbiguous());
305 EXPECT_TRUE(points_to_analysis_->GetPointsToSet(copy).IsDistinct());
307 points_to_analysis_->GetPointsToSet(tuple).CreateFlattenedSet(),
310 points_to_analysis_->GetPointsToSet(copy).element({}), {copy});
312 points_to_analysis_->GetPointsToSet(copy).CreateFlattenedSet(),
327 EXPECT_FALSE(points_to_analysis_->GetPointsToSet(send).IsAmbiguous());
328 EXPECT_TRUE(points_to_analysis_->GetPointsToSet(send).IsDistinct());
329 EXPECT_FALSE(points_to_analysis_->GetPointsToSet(send_done).IsAmbiguous());
330 EXPECT_TRUE(points_to_analysis_->GetPointsToSet(send_done).IsDistinct());
333 points_to_analysis_->GetPointsToSet(send).element({}), {send});
335 points_to_analysis_->GetPointsToSet(send).element({0}), {constant});
337 points_to_analysis_->GetPointsToSet(send_done).CreateFlattenedSet(),
351 EXPECT_FALSE(points_to_analysis_->GetPointsToSet(recv).IsAmbiguous());
352 EXPECT_TRUE(points_to_analysis_->GetPointsToSet(recv).IsDistinct());
353 EXPECT_FALSE(points_to_analysis_->GetPointsToSet(recv_done).IsAmbiguous());
354 EXPECT_TRUE(points_to_analysis_->GetPointsToSet(recv_done).IsDistinct());
357 points_to_analysis_->GetPointsToSet(recv).element({}), {recv});
381 auto& points_to_set = points_to_analysis_->GetPointsToSet(select);
414 ExpectHasBuffers(points_to_analysis_->GetPointsToSet(param0).element({}),
416 ExpectHasBuffers(points_to_analysis_->GetPointsToSet(param0).element({0}),
418 ExpectHasBuffers(points_to_analysis_->GetPointsToSet(param0).element({1}),
424 ExpectHasBuffers(points_to_analysis_->GetPointsToSet(select).element({}),
426 ExpectHasBuffers(points_to_analysis_->GetPointsToSet(select).element({0}),
428 ExpectHasBuffers(points_to_analysis_->GetPointsToSet(select).element({1}),
432 ExpectHasBuffers(points_to_analysis_->GetPointsToSet(copy).element({}),
434 ExpectHasBuffers(points_to_analysis_->GetPointsToSet(copy).element({0}),
436 ExpectHasBuffers(points_to_analysis_->GetPointsToSet(copy).element({1}),
459 auto& points_to_set = points_to_analysis_->GetPointsToSet(select);
495 auto& points_to_set = points_to_analysis_->GetPointsToSet(select);
532 EXPECT_EQ(1, points_to_analysis_->GetPointsToSet(bitcast).size());
534 points_to_analysis_->GetPointsToSet(bitcast).element({}), {constant2});
536 points_to_analysis_->GetPointsToSet(bitcast).tuple_sources({}).empty());
538 EXPECT_EQ(3, points_to_analysis_->GetPointsToSet(tuple).size());
539 EXPECT_FALSE(points_to_analysis_->GetPointsToSet(tuple).IsAmbiguous());
540 EXPECT_THAT(points_to_analysis_->GetPointsToSet(tuple).tuple_sources({}),
544 points_to_analysis_->GetPointsToSet(tuple).CreateFlattenedSet(),
547 points_to_analysis_->GetPointsToSet(tuple).element({}), {tuple});
549 points_to_analysis_->GetPointsToSet(tuple).element({0}), {constant1});
551 points_to_analysis_->GetPointsToSet(tuple).element({1}), {constant2});
566 auto& points_to_set = points_to_analysis_->GetPointsToSet(copy);
660 points_to_analysis_->GetPointsToSet(fusion_param).element({}),
663 points_to_analysis_->GetPointsToSet(fusion_param).element({0}),
666 points_to_analysis_->GetPointsToSet(fusion_param).element({1}),
669 points_to_analysis_->GetPointsToSet(fusion_param).element({2}),
675 points_to_analysis_->GetPointsToSet(fused_gte0).element({}),
680 points_to_analysis_->GetPointsToSet(fused_gte1).element({}),
685 points_to_analysis_->GetPointsToSet(fused_gte2).element({}),