Searched refs:heap_location_collector (Results 1 – 4 of 4) sorted by relevance
/art/compiler/optimizing/ |
D | load_store_analysis_test.cc | 69 HeapLocationCollector heap_location_collector(graph_); in TEST_F() local 70 ASSERT_EQ(heap_location_collector.GetNumberOfHeapLocations(), 0U); in TEST_F() 71 ASSERT_FALSE(heap_location_collector.HasHeapStores()); in TEST_F() 75 heap_location_collector.VisitBasicBlock(entry); in TEST_F() 76 ASSERT_EQ(heap_location_collector.GetNumberOfHeapLocations(), 3U); in TEST_F() 77 ASSERT_TRUE(heap_location_collector.HasHeapStores()); in TEST_F() 80 ReferenceInfo* ref = heap_location_collector.FindReferenceInfoOf(array); in TEST_F() 84 size_t loc1 = heap_location_collector.FindHeapLocationIndex(ref, field, c1, vec, class_def); in TEST_F() 85 size_t loc2 = heap_location_collector.FindHeapLocationIndex(ref, field, c2, vec, class_def); in TEST_F() 86 size_t loc3 = heap_location_collector.FindHeapLocationIndex(ref, field, index, vec, class_def); in TEST_F() [all …]
|
D | scheduler_test.cc | 278 HeapLocationCollector heap_location_collector(graph_); in TestDependencyGraphOnAliasingArrayAccesses() local 279 heap_location_collector.VisitBasicBlock(entry); in TestDependencyGraphOnAliasingArrayAccesses() 280 heap_location_collector.BuildAliasingMatrix(); in TestDependencyGraphOnAliasingArrayAccesses() 281 scheduling_graph.SetHeapLocationCollector(heap_location_collector); in TestDependencyGraphOnAliasingArrayAccesses() 290 ASSERT_EQ(heap_location_collector.GetNumberOfHeapLocations(), 9U); in TestDependencyGraphOnAliasingArrayAccesses() 291 ASSERT_TRUE(heap_location_collector.HasHeapStores()); in TestDependencyGraphOnAliasingArrayAccesses() 299 loc1 = heap_location_collector.GetArrayHeapLocation(arr, c0); in TestDependencyGraphOnAliasingArrayAccesses() 300 loc2 = heap_location_collector.GetArrayHeapLocation(arr, c1); in TestDependencyGraphOnAliasingArrayAccesses() 301 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TestDependencyGraphOnAliasingArrayAccesses() 305 loc1 = heap_location_collector.GetArrayHeapLocation(arr, i); in TestDependencyGraphOnAliasingArrayAccesses() [all …]
|
D | scheduler.h | 276 void SetHeapLocationCollector(const HeapLocationCollector& heap_location_collector) { in SetHeapLocationCollector() argument 277 heap_location_collector_ = &heap_location_collector; in SetHeapLocationCollector()
|
D | load_store_elimination.cc | 958 const HeapLocationCollector& heap_location_collector = lsa_.GetHeapLocationCollector(); in Run() local 959 if (heap_location_collector.GetNumberOfHeapLocations() == 0) { in Run() 969 LSEVisitor lse_visitor(graph_, heap_location_collector, side_effects_, stats_); in Run()
|