Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dload_store_analysis_test.cc84 size_t loc1 = heap_location_collector.FindHeapLocationIndex(ref, field, c1, vec, class_def); in TEST_F() local
91 ASSERT_TRUE(loc1 != HeapLocationCollector::kHeapLocationNotFound); in TEST_F()
94 ASSERT_TRUE(loc1 != loc2); in TEST_F()
96 ASSERT_TRUE(loc1 != loc3); in TEST_F()
102 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
103 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc3)); in TEST_F()
104 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc3)); in TEST_F()
171 size_t loc1 = heap_location_collector.GetFieldHeapLocation(object, &get_field10->GetFieldInfo()); in TEST_F() local
176 ASSERT_TRUE(loc1 != HeapLocationCollector::kHeapLocationNotFound); in TEST_F()
179 ASSERT_TRUE(loc1 != loc2); in TEST_F()
[all …]
Dscheduler_test.cc295 size_t loc1 = HeapLocationCollector::kHeapLocationNotFound; in TestDependencyGraphOnAliasingArrayAccesses() local
299 loc1 = heap_location_collector.GetArrayHeapLocation(arr, c0); in TestDependencyGraphOnAliasingArrayAccesses()
301 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TestDependencyGraphOnAliasingArrayAccesses()
305 loc1 = heap_location_collector.GetArrayHeapLocation(arr, i); in TestDependencyGraphOnAliasingArrayAccesses()
307 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TestDependencyGraphOnAliasingArrayAccesses()
311 loc1 = heap_location_collector.GetArrayHeapLocation(arr, i); in TestDependencyGraphOnAliasingArrayAccesses()
313 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TestDependencyGraphOnAliasingArrayAccesses()
317 loc1 = heap_location_collector.GetArrayHeapLocation(arr, i); in TestDependencyGraphOnAliasingArrayAccesses()
319 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TestDependencyGraphOnAliasingArrayAccesses()
323 loc1 = heap_location_collector.GetArrayHeapLocation(arr, i); in TestDependencyGraphOnAliasingArrayAccesses()
[all …]
Dload_store_analysis.h381 HeapLocation* loc1 = heap_locations_[index1]; in ComputeMayAlias() local
383 if (loc1->GetOffset() != loc2->GetOffset()) { in ComputeMayAlias()
388 if (loc1->GetDeclaringClassDefIndex() != loc2->GetDeclaringClassDefIndex()) { in ComputeMayAlias()
392 if (!CanReferencesAlias(loc1->GetReferenceInfo(), loc2->GetReferenceInfo())) { in ComputeMayAlias()
395 if (loc1->IsArray() && loc2->IsArray()) { in ComputeMayAlias()
396 HInstruction* idx1 = loc1->GetIndex(); in ComputeMayAlias()
398 size_t vector_length1 = loc1->GetVectorLength(); in ComputeMayAlias()
404 loc1->SetHasAliasedLocations(true); in ComputeMayAlias()
Dcode_generator_mips.cc1084 Location loc1 = move->GetDestination(); in EmitSwap() local
1087 DCHECK(!loc1.IsConstant()); in EmitSwap()
1090 if (loc1.Equals(loc2)) { in EmitSwap()
1094 if (loc1.IsRegister() && loc2.IsRegister()) { in EmitSwap()
1096 Register r1 = loc1.AsRegister<Register>(); in EmitSwap()
1101 } else if (loc1.IsFpuRegister() && loc2.IsFpuRegister()) { in EmitSwap()
1103 __ MoveV(static_cast<VectorRegister>(FTMP), VectorRegisterFrom(loc1)); in EmitSwap()
1104 __ MoveV(VectorRegisterFrom(loc1), VectorRegisterFrom(loc2)); in EmitSwap()
1107 FRegister f1 = loc1.AsFpuRegister<FRegister>(); in EmitSwap()
1120 } else if ((loc1.IsRegister() && loc2.IsFpuRegister()) || in EmitSwap()
[all …]
Dcode_generator_mips64.cc1378 void CodeGeneratorMIPS64::SwapLocations(Location loc1, Location loc2, DataType::Type type) { in SwapLocations() argument
1379 DCHECK(!loc1.IsConstant()); in SwapLocations()
1382 if (loc1.Equals(loc2)) { in SwapLocations()
1386 bool is_slot1 = loc1.IsStackSlot() || loc1.IsDoubleStackSlot(); in SwapLocations()
1388 bool is_simd1 = loc1.IsSIMDStackSlot(); in SwapLocations()
1390 bool is_fp_reg1 = loc1.IsFpuRegister(); in SwapLocations()
1393 if (loc2.IsRegister() && loc1.IsRegister()) { in SwapLocations()
1395 GpuRegister r1 = loc1.AsRegister<GpuRegister>(); in SwapLocations()
1403 __ MoveV(static_cast<VectorRegister>(FTMP), VectorRegisterFrom(loc1)); in SwapLocations()
1404 __ MoveV(VectorRegisterFrom(loc1), VectorRegisterFrom(loc2)); in SwapLocations()
[all …]
Dcode_generator_mips64.h508 void SwapLocations(Location loc1, Location loc2, DataType::Type type);