Searched refs:heap_location_collector (Results 1 – 5 of 5) 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() 85 size_t loc1 = heap_location_collector.FindHeapLocationIndex( in TEST_F() 87 size_t loc2 = heap_location_collector.FindHeapLocationIndex( in TEST_F() 89 size_t loc3 = heap_location_collector.FindHeapLocationIndex( in TEST_F() [all …]
|
D | scheduler_test.cc | 275 HeapLocationCollector heap_location_collector(graph_); in TestDependencyGraphOnAliasingArrayAccesses() local 276 heap_location_collector.VisitBasicBlock(entry); in TestDependencyGraphOnAliasingArrayAccesses() 277 heap_location_collector.BuildAliasingMatrix(); in TestDependencyGraphOnAliasingArrayAccesses() 278 TestSchedulingGraph scheduling_graph(GetScopedAllocator(), &heap_location_collector); in TestDependencyGraphOnAliasingArrayAccesses() 287 ASSERT_EQ(heap_location_collector.GetNumberOfHeapLocations(), 9U); in TestDependencyGraphOnAliasingArrayAccesses() 288 ASSERT_TRUE(heap_location_collector.HasHeapStores()); in TestDependencyGraphOnAliasingArrayAccesses() 296 loc1 = heap_location_collector.GetArrayHeapLocation(arr_set_0); in TestDependencyGraphOnAliasingArrayAccesses() 297 loc2 = heap_location_collector.GetArrayHeapLocation(arr_set_1); in TestDependencyGraphOnAliasingArrayAccesses() 298 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TestDependencyGraphOnAliasingArrayAccesses() 302 loc1 = heap_location_collector.GetArrayHeapLocation(arr_set_i); in TestDependencyGraphOnAliasingArrayAccesses() [all …]
|
D | scheduler.h | 273 explicit SideEffectDependencyAnalysis(const HeapLocationCollector* heap_location_collector) in SideEffectDependencyAnalysis() argument 274 : memory_dependency_analysis_(heap_location_collector) {} in SideEffectDependencyAnalysis() 301 explicit MemoryDependencyAnalysis(const HeapLocationCollector* heap_location_collector) in MemoryDependencyAnalysis() argument 302 : heap_location_collector_(heap_location_collector) {} in MemoryDependencyAnalysis() 324 const HeapLocationCollector* heap_location_collector) in SchedulingGraph() argument 328 side_effect_dependency_analysis_(heap_location_collector) {} in SchedulingGraph() 514 void Schedule(HBasicBlock* block, const HeapLocationCollector* heap_location_collector);
|
D | scheduler.cc | 561 const HeapLocationCollector* heap_location_collector = nullptr; in Schedule() local 565 heap_location_collector = &lsa.GetHeapLocationCollector(); in Schedule() 570 Schedule(block, heap_location_collector); in Schedule() 576 const HeapLocationCollector* heap_location_collector) { in Schedule() argument 581 SchedulingGraph scheduling_graph(&allocator, heap_location_collector); in Schedule()
|
D | load_store_elimination.cc | 933 const HeapLocationCollector& heap_location_collector = lsa_.GetHeapLocationCollector(); in Run() local 934 if (heap_location_collector.GetNumberOfHeapLocations() == 0) { in Run() 939 LSEVisitor lse_visitor(graph_, heap_location_collector, side_effects_, stats_); in Run()
|