Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dload_store_analysis_test.cc110 size_t loc1 = heap_location_collector.FindHeapLocationIndex( in TEST_F() local
120 ASSERT_TRUE(loc1 != HeapLocationCollector::kHeapLocationNotFound); in TEST_F()
123 ASSERT_TRUE(loc1 != loc2); in TEST_F()
125 ASSERT_TRUE(loc1 != loc3); in TEST_F()
131 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
132 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc3)); in TEST_F()
133 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc3)); in TEST_F()
204 size_t loc1 = heap_location_collector.GetFieldHeapLocation(object, &get_field10->GetFieldInfo()); in TEST_F() local
209 ASSERT_TRUE(loc1 != HeapLocationCollector::kHeapLocationNotFound); in TEST_F()
212 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.h401 HeapLocation* loc1 = heap_locations_[index1]; 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()
416 HInstruction* idx1 = loc1->GetIndex(); in ComputeMayAlias()
418 size_t vector_length1 = loc1->GetVectorLength(); in ComputeMayAlias()
424 loc1->SetHasAliasedLocations(true); in ComputeMayAlias()
Dcode_generator_riscv64.cc1092 Location loc1(double_slot ? Location::DoubleStackSlot(index1) : Location::StackSlot(index1)); in Exchange() local
1104 codegen_->MoveLocation(tmp, loc1, tmp_type); in Exchange()
1119 codegen_->MoveLocation(loc1, tmp2, tmp2_type); in Exchange()
7046 void CodeGeneratorRISCV64::SwapLocations(Location loc1, Location loc2, DataType::Type type) { in SwapLocations() argument
7047 DCHECK(!loc1.IsConstant()); in SwapLocations()
7050 if (loc1.Equals(loc2)) { in SwapLocations()
7054 bool is_slot1 = loc1.IsStackSlot() || loc1.IsDoubleStackSlot(); in SwapLocations()
7056 bool is_simd1 = loc1.IsSIMDStackSlot(); in SwapLocations()
7058 bool is_fp_reg1 = loc1.IsFpuRegister(); in SwapLocations()
7062 (loc2.IsRegister() && loc1.IsRegister()) || in SwapLocations()
[all …]
Dload_store_elimination.cc1846 HeapLocation* loc1 = heap_location_collector_.GetHeapLocation(idx1); in MayAliasOnBackEdge() local
1848 if (loc1->IsArray() && in MayAliasOnBackEdge()
1850 HeapLocationCollector::CanReferencesAlias(loc1->GetReferenceInfo(), in MayAliasOnBackEdge()
1853 if (loop_info->Contains(*loc1->GetIndex()->GetBlock()) || in MayAliasOnBackEdge()
Dcode_generator_riscv64.h782 void SwapLocations(Location loc1, Location loc2, DataType::Type type);
/art/compiler/utils/arm/
Djni_macro_assembler_arm_vixl.cc352 static inline bool NoSpillGap(const ArgumentLocation& loc1, const ArgumentLocation& loc2) { in NoSpillGap() argument
353 DCHECK(!loc1.IsRegister()); in NoSpillGap()
355 uint32_t loc1_offset = loc1.GetFrameOffset().Uint32Value(); in NoSpillGap()
357 return loc1_offset + loc1.GetSize() == loc2_offset; in NoSpillGap()
/art/tools/jvmti-agents/ti-fast/
Dtifast.cc84 …ID meth1, jlocation loc1, jobject obj, jmethodID meth2, jlocation loc2), (jvmti, jni, jthreadConta…