Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dload_store_analysis_test.cc112 size_t loc2 = heap_location_collector.FindHeapLocationIndex( in TEST_F() local
121 ASSERT_TRUE(loc2 != HeapLocationCollector::kHeapLocationNotFound); in TEST_F()
123 ASSERT_TRUE(loc1 != loc2); in TEST_F()
124 ASSERT_TRUE(loc2 != loc3); in TEST_F()
131 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
205 size_t loc2 = heap_location_collector.GetFieldHeapLocation(object, &get_field20->GetFieldInfo()); in TEST_F() local
210 ASSERT_TRUE(loc2 != HeapLocationCollector::kHeapLocationNotFound); in TEST_F()
212 ASSERT_TRUE(loc1 != loc2); in TEST_F()
214 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
284 size_t loc2 = HeapLocationCollector::kHeapLocationNotFound; in TEST_F() local
[all …]
Dscheduler_test.cc295 size_t loc2 = HeapLocationCollector::kHeapLocationNotFound; in TestDependencyGraphOnAliasingArrayAccesses() local
299 loc2 = heap_location_collector.GetArrayHeapLocation(arr_set_1); in TestDependencyGraphOnAliasingArrayAccesses()
300 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TestDependencyGraphOnAliasingArrayAccesses()
305 loc2 = heap_location_collector.GetArrayHeapLocation(arr_set_j); in TestDependencyGraphOnAliasingArrayAccesses()
306 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TestDependencyGraphOnAliasingArrayAccesses()
313 loc2 = heap_location_collector.GetArrayHeapLocation(arr_set_add0); in TestDependencyGraphOnAliasingArrayAccesses()
314 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TestDependencyGraphOnAliasingArrayAccesses()
319 loc2 = heap_location_collector.GetArrayHeapLocation(arr_set_sub0); in TestDependencyGraphOnAliasingArrayAccesses()
320 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TestDependencyGraphOnAliasingArrayAccesses()
328 loc2 = heap_location_collector.GetArrayHeapLocation(arr_set_add1); in TestDependencyGraphOnAliasingArrayAccesses()
[all …]
Dload_store_analysis.h402 HeapLocation* loc2 = heap_locations_[index2]; in ComputeMayAlias() local
403 if (loc1->GetOffset() != loc2->GetOffset()) { in ComputeMayAlias()
408 if (loc1->GetDeclaringClassDefIndex() != loc2->GetDeclaringClassDefIndex()) { in ComputeMayAlias()
412 if (!CanReferencesAlias(loc1->GetReferenceInfo(), loc2->GetReferenceInfo())) { in ComputeMayAlias()
415 if (loc1->IsArray() && loc2->IsArray()) { in ComputeMayAlias()
417 HInstruction* idx2 = loc2->GetIndex(); in ComputeMayAlias()
419 size_t vector_length2 = loc2->GetVectorLength(); in ComputeMayAlias()
425 loc2->SetHasAliasedLocations(true); in ComputeMayAlias()
Dcode_generator_riscv64.cc1093 Location loc2(double_slot ? Location::DoubleStackSlot(index2) : Location::StackSlot(index2)); in Exchange() local
1105 codegen_->MoveLocation(tmp2, loc2, tmp2_type); in Exchange()
1107 codegen_->MoveLocation(loc2, tmp, tmp_type); in Exchange()
7046 void CodeGeneratorRISCV64::SwapLocations(Location loc1, Location loc2, DataType::Type type) { in SwapLocations() argument
7048 DCHECK(!loc2.IsConstant()); in SwapLocations()
7050 if (loc1.Equals(loc2)) { in SwapLocations()
7055 bool is_slot2 = loc2.IsStackSlot() || loc2.IsDoubleStackSlot(); in SwapLocations()
7057 bool is_simd2 = loc2.IsSIMDStackSlot(); in SwapLocations()
7059 bool is_fp_reg2 = loc2.IsFpuRegister(); in SwapLocations()
7062 (loc2.IsRegister() && loc1.IsRegister()) || in SwapLocations()
[all …]
Dload_store_elimination.cc1847 HeapLocation* loc2 = heap_location_collector_.GetHeapLocation(idx2); in MayAliasOnBackEdge() local
1849 loc2->IsArray() && in MayAliasOnBackEdge()
1851 loc2->GetReferenceInfo())) { in MayAliasOnBackEdge()
1854 loop_info->Contains(*loc2->GetIndex()->GetBlock())) { in MayAliasOnBackEdge()
Dcode_generator_riscv64.h782 void SwapLocations(Location loc1, Location loc2, DataType::Type type);
/art/tools/jvmti-agents/ti-fast/
Dtifast.cc84 …t obj, jmethodID meth2, jlocation loc2), (jvmti, jni, jthreadContainer{.thread = thread}, meth1, l…
/art/compiler/utils/arm/
Djni_macro_assembler_arm_vixl.cc352 static inline bool NoSpillGap(const ArgumentLocation& loc1, const ArgumentLocation& loc2) { in NoSpillGap() argument
354 DCHECK(!loc2.IsRegister()); in NoSpillGap()
356 uint32_t loc2_offset = loc2.GetFrameOffset().Uint32Value(); in NoSpillGap()