Home
last modified time | relevance | path

Searched refs:loc1 (Results 1 – 6 of 6) sorted by relevance

/art/compiler/optimizing/
Dload_store_analysis_test.cc118 size_t loc1 = heap_location_collector.FindHeapLocationIndex( in TEST_F() local
128 ASSERT_TRUE(loc1 != HeapLocationCollector::kHeapLocationNotFound); in TEST_F()
131 ASSERT_TRUE(loc1 != loc2); in TEST_F()
133 ASSERT_TRUE(loc1 != loc3); in TEST_F()
139 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
140 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc3)); in TEST_F()
141 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc3)); in TEST_F()
212 size_t loc1 = heap_location_collector.GetFieldHeapLocation(object, &get_field10->GetFieldInfo()); in TEST_F() local
217 ASSERT_TRUE(loc1 != HeapLocationCollector::kHeapLocationNotFound); in TEST_F()
220 ASSERT_TRUE(loc1 != loc2); in TEST_F()
[all …]
Dscheduler_test.cc294 size_t loc1 = HeapLocationCollector::kHeapLocationNotFound; in TestDependencyGraphOnAliasingArrayAccesses() local
298 loc1 = heap_location_collector.GetArrayHeapLocation(arr_set_0); in TestDependencyGraphOnAliasingArrayAccesses()
300 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TestDependencyGraphOnAliasingArrayAccesses()
304 loc1 = heap_location_collector.GetArrayHeapLocation(arr_set_i); in TestDependencyGraphOnAliasingArrayAccesses()
306 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TestDependencyGraphOnAliasingArrayAccesses()
312 loc1 = heap_location_collector.GetArrayHeapLocation(arr_set_i); in TestDependencyGraphOnAliasingArrayAccesses()
314 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TestDependencyGraphOnAliasingArrayAccesses()
318 loc1 = heap_location_collector.GetArrayHeapLocation(arr_set_i); in TestDependencyGraphOnAliasingArrayAccesses()
320 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TestDependencyGraphOnAliasingArrayAccesses()
327 loc1 = heap_location_collector.GetArrayHeapLocation(arr_set_i); in TestDependencyGraphOnAliasingArrayAccesses()
[all …]
Dload_store_analysis.h479 HeapLocation* loc1 = heap_locations_[index1]; in ComputeMayAlias() local
481 if (loc1->GetOffset() != loc2->GetOffset()) { in ComputeMayAlias()
486 if (loc1->GetDeclaringClassDefIndex() != loc2->GetDeclaringClassDefIndex()) { in ComputeMayAlias()
490 if (!CanReferencesAlias(loc1->GetReferenceInfo(), loc2->GetReferenceInfo())) { in ComputeMayAlias()
493 if (loc1->IsArray() && loc2->IsArray()) { in ComputeMayAlias()
494 HInstruction* idx1 = loc1->GetIndex(); in ComputeMayAlias()
496 size_t vector_length1 = loc1->GetVectorLength(); in ComputeMayAlias()
502 loc1->SetHasAliasedLocations(true); in ComputeMayAlias()
Dload_store_elimination.cc1883 HeapLocation* loc1 = heap_location_collector_.GetHeapLocation(idx1); in MayAliasOnBackEdge() local
1885 if (loc1->IsArray() && in MayAliasOnBackEdge()
1887 HeapLocationCollector::CanReferencesAlias(loc1->GetReferenceInfo(), in MayAliasOnBackEdge()
1890 if (loop_info->Contains(*loc1->GetIndex()->GetBlock()) || in MayAliasOnBackEdge()
/art/compiler/utils/arm/
Djni_macro_assembler_arm_vixl.cc428 static inline bool NoSpillGap(const ArgumentLocation& loc1, const ArgumentLocation& loc2) { in NoSpillGap() argument
429 DCHECK(!loc1.IsRegister()); in NoSpillGap()
431 uint32_t loc1_offset = loc1.GetFrameOffset().Uint32Value(); in NoSpillGap()
434 return loc1_offset + loc1.GetSize() == loc2_offset; in NoSpillGap()
/art/tools/jvmti-agents/ti-fast/
Dtifast.cc83 …ID meth1, jlocation loc1, jobject obj, jmethodID meth2, jlocation loc2), (jvmti, jni, jthreadConta…