Searched refs:heap_location_collector (Results 1 – 5 of 5) sorted by relevance
/art/compiler/optimizing/ |
D | load_store_analysis_test.cc | 70 HeapLocationCollector heap_location_collector(graph_, &allocator); in TEST_F() local 71 ASSERT_EQ(heap_location_collector.GetNumberOfHeapLocations(), 0U); in TEST_F() 72 ASSERT_FALSE(heap_location_collector.HasHeapStores()); in TEST_F() 76 heap_location_collector.VisitBasicBlock(entry); in TEST_F() 77 ASSERT_EQ(heap_location_collector.GetNumberOfHeapLocations(), 3U); in TEST_F() 78 ASSERT_TRUE(heap_location_collector.HasHeapStores()); in TEST_F() 81 ReferenceInfo* ref = heap_location_collector.FindReferenceInfoOf(array); in TEST_F() 86 size_t loc1 = heap_location_collector.FindHeapLocationIndex( in TEST_F() 88 size_t loc2 = heap_location_collector.FindHeapLocationIndex( in TEST_F() 90 size_t loc3 = heap_location_collector.FindHeapLocationIndex( in TEST_F() [all …]
|
D | scheduler_test.cc | 276 HeapLocationCollector heap_location_collector(graph_, GetScopedAllocator()); in TestDependencyGraphOnAliasingArrayAccesses() local 277 heap_location_collector.VisitBasicBlock(entry); in TestDependencyGraphOnAliasingArrayAccesses() 278 heap_location_collector.BuildAliasingMatrix(); in TestDependencyGraphOnAliasingArrayAccesses() 279 TestSchedulingGraph scheduling_graph(GetScopedAllocator(), &heap_location_collector); in TestDependencyGraphOnAliasingArrayAccesses() 288 ASSERT_EQ(heap_location_collector.GetNumberOfHeapLocations(), 9U); in TestDependencyGraphOnAliasingArrayAccesses() 289 ASSERT_TRUE(heap_location_collector.HasHeapStores()); in TestDependencyGraphOnAliasingArrayAccesses() 297 loc1 = heap_location_collector.GetArrayHeapLocation(arr_set_0); in TestDependencyGraphOnAliasingArrayAccesses() 298 loc2 = heap_location_collector.GetArrayHeapLocation(arr_set_1); in TestDependencyGraphOnAliasingArrayAccesses() 299 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TestDependencyGraphOnAliasingArrayAccesses() 303 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 566 heap_location_collector = &lsa.GetHeapLocationCollector(); in Schedule() 571 Schedule(block, heap_location_collector); in Schedule() 577 const HeapLocationCollector* heap_location_collector) { in Schedule() argument 582 SchedulingGraph scheduling_graph(&allocator, heap_location_collector); in Schedule()
|
D | load_store_elimination.cc | 925 const HeapLocationCollector& heap_location_collector = lsa.GetHeapLocationCollector(); in Run() local 926 if (heap_location_collector.GetNumberOfHeapLocations() == 0) { in Run() 931 LSEVisitor lse_visitor(graph_, heap_location_collector, side_effects_, stats_); in Run()
|