Searched refs:loc1 (Results 1 – 6 of 6) sorted by relevance
/art/compiler/optimizing/ |
D | load_store_analysis_test.cc | 84 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 …]
|
D | scheduler_test.cc | 295 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 …]
|
D | load_store_analysis.h | 381 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()
|
D | code_generator_mips.cc | 1084 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 …]
|
D | code_generator_mips64.cc | 1378 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 …]
|
D | code_generator_mips64.h | 508 void SwapLocations(Location loc1, Location loc2, DataType::Type type);
|