Home
last modified time | relevance | path

Searched refs:loc2 (Results 1 – 7 of 7) sorted by relevance

/art/compiler/optimizing/
Dload_store_analysis_test.cc87 size_t loc2 = heap_location_collector.FindHeapLocationIndex( in TEST_F() local
96 ASSERT_TRUE(loc2 != HeapLocationCollector::kHeapLocationNotFound); in TEST_F()
98 ASSERT_TRUE(loc1 != loc2); in TEST_F()
99 ASSERT_TRUE(loc2 != loc3); in TEST_F()
106 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
176 size_t loc2 = heap_location_collector.GetFieldHeapLocation(object, &get_field20->GetFieldInfo()); in TEST_F() local
181 ASSERT_TRUE(loc2 != HeapLocationCollector::kHeapLocationNotFound); in TEST_F()
183 ASSERT_TRUE(loc1 != loc2); in TEST_F()
185 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
250 size_t loc2 = HeapLocationCollector::kHeapLocationNotFound; in TEST_F() local
[all …]
Dscheduler_test.cc301 size_t loc2 = HeapLocationCollector::kHeapLocationNotFound; in TestDependencyGraphOnAliasingArrayAccesses() local
305 loc2 = heap_location_collector.GetArrayHeapLocation(arr_set_1); in TestDependencyGraphOnAliasingArrayAccesses()
306 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TestDependencyGraphOnAliasingArrayAccesses()
311 loc2 = heap_location_collector.GetArrayHeapLocation(arr_set_j); in TestDependencyGraphOnAliasingArrayAccesses()
312 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TestDependencyGraphOnAliasingArrayAccesses()
319 loc2 = heap_location_collector.GetArrayHeapLocation(arr_set_add0); in TestDependencyGraphOnAliasingArrayAccesses()
320 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TestDependencyGraphOnAliasingArrayAccesses()
325 loc2 = heap_location_collector.GetArrayHeapLocation(arr_set_sub0); in TestDependencyGraphOnAliasingArrayAccesses()
326 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TestDependencyGraphOnAliasingArrayAccesses()
334 loc2 = heap_location_collector.GetArrayHeapLocation(arr_set_add1); in TestDependencyGraphOnAliasingArrayAccesses()
[all …]
Dload_store_analysis.h404 HeapLocation* loc2 = heap_locations_[index2]; in ComputeMayAlias() local
405 if (loc1->GetOffset() != loc2->GetOffset()) { in ComputeMayAlias()
410 if (loc1->GetDeclaringClassDefIndex() != loc2->GetDeclaringClassDefIndex()) { in ComputeMayAlias()
414 if (!CanReferencesAlias(loc1->GetReferenceInfo(), loc2->GetReferenceInfo())) { in ComputeMayAlias()
417 if (loc1->IsArray() && loc2->IsArray()) { in ComputeMayAlias()
419 HInstruction* idx2 = loc2->GetIndex(); in ComputeMayAlias()
421 size_t vector_length2 = loc2->GetVectorLength(); in ComputeMayAlias()
427 loc2->SetHasAliasedLocations(true); in ComputeMayAlias()
Dcode_generator_mips.cc1093 Location loc2 = move->GetSource(); in EmitSwap() local
1096 DCHECK(!loc2.IsConstant()); in EmitSwap()
1098 if (loc1.Equals(loc2)) { in EmitSwap()
1102 if (loc1.IsRegister() && loc2.IsRegister()) { in EmitSwap()
1105 Register r2 = loc2.AsRegister<Register>(); in EmitSwap()
1109 } else if (loc1.IsFpuRegister() && loc2.IsFpuRegister()) { in EmitSwap()
1112 __ MoveV(VectorRegisterFrom(loc1), VectorRegisterFrom(loc2)); in EmitSwap()
1113 __ MoveV(VectorRegisterFrom(loc2), static_cast<VectorRegister>(FTMP)); in EmitSwap()
1116 FRegister f2 = loc2.AsFpuRegister<FRegister>(); in EmitSwap()
1128 } else if ((loc1.IsRegister() && loc2.IsFpuRegister()) || in EmitSwap()
[all …]
Dcode_generator_mips64.cc1386 void CodeGeneratorMIPS64::SwapLocations(Location loc1, Location loc2, DataType::Type type) { in SwapLocations() argument
1388 DCHECK(!loc2.IsConstant()); in SwapLocations()
1390 if (loc1.Equals(loc2)) { in SwapLocations()
1395 bool is_slot2 = loc2.IsStackSlot() || loc2.IsDoubleStackSlot(); in SwapLocations()
1397 bool is_simd2 = loc2.IsSIMDStackSlot(); in SwapLocations()
1399 bool is_fp_reg2 = loc2.IsFpuRegister(); in SwapLocations()
1401 if (loc2.IsRegister() && loc1.IsRegister()) { in SwapLocations()
1404 GpuRegister r2 = loc2.AsRegister<GpuRegister>(); in SwapLocations()
1412 __ MoveV(VectorRegisterFrom(loc1), VectorRegisterFrom(loc2)); in SwapLocations()
1413 __ MoveV(VectorRegisterFrom(loc2), static_cast<VectorRegister>(FTMP)); in SwapLocations()
[all …]
Dcode_generator_mips64.h510 void SwapLocations(Location loc1, Location loc2, DataType::Type type);
/art/tools/jvmti-agents/ti-fast/
Dtifast.cc79 …t obj, jmethodID meth2, jlocation loc2), (jvmti, jni, jthreadContainer{.thread = thread}, meth1, l…