/art/compiler/optimizing/ |
D | code_generator_vector_x86.cc | 29 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(instruction); in VisitVecReplicateScalar() local 36 locations->AddTemp(Location::RequiresFpuRegister()); in VisitVecReplicateScalar() 45 locations->SetInAt(0, is_zero ? Location::ConstantLocation(input->AsConstant()) in VisitVecReplicateScalar() 47 locations->SetOut(Location::RequiresFpuRegister()); in VisitVecReplicateScalar() 51 locations->SetInAt(0, is_zero ? Location::ConstantLocation(input->AsConstant()) in VisitVecReplicateScalar() 53 locations->SetOut(is_zero ? Location::RequiresFpuRegister() in VisitVecReplicateScalar() 63 LocationSummary* locations = instruction->GetLocations(); in VisitVecReplicateScalar() local 64 XmmRegister dst = locations->Out().AsFpuRegister<XmmRegister>(); in VisitVecReplicateScalar() 78 __ movd(dst, locations->InAt(0).AsRegister<Register>()); in VisitVecReplicateScalar() 86 __ movd(dst, locations->InAt(0).AsRegister<Register>()); in VisitVecReplicateScalar() [all …]
|
D | code_generator_vector_x86_64.cc | 29 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(instruction); in VisitVecReplicateScalar() local 40 locations->SetInAt(0, is_zero ? Location::ConstantLocation(input->AsConstant()) in VisitVecReplicateScalar() 42 locations->SetOut(Location::RequiresFpuRegister()); in VisitVecReplicateScalar() 46 locations->SetInAt(0, is_zero ? Location::ConstantLocation(input->AsConstant()) in VisitVecReplicateScalar() 48 locations->SetOut(is_zero ? Location::RequiresFpuRegister() in VisitVecReplicateScalar() 58 LocationSummary* locations = instruction->GetLocations(); in VisitVecReplicateScalar() local 59 XmmRegister dst = locations->Out().AsFpuRegister<XmmRegister>(); in VisitVecReplicateScalar() 73 __ movd(dst, locations->InAt(0).AsRegister<CpuRegister>(), /*64-bit*/ false); in VisitVecReplicateScalar() 81 __ movd(dst, locations->InAt(0).AsRegister<CpuRegister>(), /*64-bit*/ false); in VisitVecReplicateScalar() 87 __ movd(dst, locations->InAt(0).AsRegister<CpuRegister>(), /*64-bit*/ false); in VisitVecReplicateScalar() [all …]
|
D | code_generator_vector_arm_vixl.cc | 37 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(instruction); in VisitVecReplicateScalar() local 45 locations->SetInAt(0, Location::RequiresRegister()); in VisitVecReplicateScalar() 46 locations->SetOut(Location::RequiresFpuRegister()); in VisitVecReplicateScalar() 55 LocationSummary* locations = instruction->GetLocations(); in VisitVecReplicateScalar() local 56 vixl32::DRegister dst = DRegisterFrom(locations->Out()); in VisitVecReplicateScalar() 80 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(instruction); in VisitVecExtractScalar() local 83 locations->SetInAt(0, Location::RequiresFpuRegister()); in VisitVecExtractScalar() 84 locations->SetOut(Location::RequiresRegister()); in VisitVecExtractScalar() 93 LocationSummary* locations = instruction->GetLocations(); in VisitVecExtractScalar() local 94 vixl32::DRegister src = DRegisterFrom(locations->InAt(0)); in VisitVecExtractScalar() [all …]
|
D | code_generator_vector_arm64.cc | 51 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(instruction); in VisitVecReplicateScalar() local 61 locations->SetInAt(0, ARM64EncodableConstantOrRegister(input, instruction)); in VisitVecReplicateScalar() 62 locations->SetOut(Location::RequiresFpuRegister()); in VisitVecReplicateScalar() 68 locations->SetInAt(0, Location::ConstantLocation(input->AsConstant())); in VisitVecReplicateScalar() 69 locations->SetOut(Location::RequiresFpuRegister()); in VisitVecReplicateScalar() 71 locations->SetInAt(0, Location::RequiresFpuRegister()); in VisitVecReplicateScalar() 72 locations->SetOut(Location::RequiresFpuRegister(), Location::kNoOutputOverlap); in VisitVecReplicateScalar() 82 LocationSummary* locations = instruction->GetLocations(); in VisitVecReplicateScalar() local 83 Location src_loc = locations->InAt(0); in VisitVecReplicateScalar() 84 VRegister dst = VRegisterFrom(locations->Out()); in VisitVecReplicateScalar() [all …]
|
D | intrinsics_arm_vixl.cc | 179 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() local 180 DCHECK(locations->CanCall()); in EmitNativeCode() 191 Location dest_pos = locations->InAt(3); in EmitNativeCode() 192 vixl32::Register src_curr_addr = RegisterFrom(locations->GetTemp(0)); in EmitNativeCode() 193 vixl32::Register dst_curr_addr = RegisterFrom(locations->GetTemp(1)); in EmitNativeCode() 194 vixl32::Register src_stop_addr = RegisterFrom(locations->GetTemp(2)); in EmitNativeCode() 195 vixl32::Register tmp = RegisterFrom(locations->GetTemp(3)); in EmitNativeCode() 260 LocationSummary* locations = in CreateFPToIntLocations() local 262 locations->SetInAt(0, Location::RequiresFpuRegister()); in CreateFPToIntLocations() 263 locations->SetOut(Location::RequiresRegister()); in CreateFPToIntLocations() [all …]
|
D | code_generator.cc | 103 LocationSummary* locations = instruction->GetLocations(); in CheckTypeConsistency() local 104 if (locations == nullptr) { in CheckTypeConsistency() 108 if (locations->Out().IsUnallocated() in CheckTypeConsistency() 109 && (locations->Out().GetPolicy() == Location::kSameAsFirstInput)) { in CheckTypeConsistency() 110 DCHECK(CheckType(instruction->GetType(), locations->InAt(0))) in CheckTypeConsistency() 112 << " " << locations->InAt(0); in CheckTypeConsistency() 114 DCHECK(CheckType(instruction->GetType(), locations->Out())) in CheckTypeConsistency() 116 << " " << locations->Out(); in CheckTypeConsistency() 121 DCHECK(CheckType(inputs[i]->GetType(), locations->InAt(i))) in CheckTypeConsistency() 122 << inputs[i]->GetType() << " " << locations->InAt(i); in CheckTypeConsistency() [all …]
|
D | register_allocation_resolver.cc | 61 LocationSummary* locations = instruction->GetLocations(); in Resolve() local 62 Location location = locations->Out(); in Resolve() 68 locations->UpdateOut(location); in Resolve() 72 locations->UpdateOut(location); in Resolve() 133 if (locations->InAt(0).IsUnallocated()) { in Resolve() 134 locations->SetInAt(0, source); in Resolve() 136 DCHECK(locations->InAt(0).Equals(source)); in Resolve() 139 locations->UpdateOut(source); in Resolve() 209 LocationSummary* locations = at->GetLocations(); in Resolve() local 212 locations->SetTempAt(temp_index, Location::RegisterLocation(temp->GetRegister())); in Resolve() [all …]
|
D | ssa_liveness_analysis.cc | 54 LocationSummary* locations = current->GetLocations(); in NumberInstructions() local 55 if (locations != nullptr && locations->Out().IsValid()) { in NumberInstructions() 72 LocationSummary* locations = current->GetLocations(); in NumberInstructions() local 73 if (locations != nullptr && locations->Out().IsValid()) { in NumberInstructions() 417 LocationSummary* locations = user->GetLocations(); in FindFirstRegisterHint() local 418 Location expected = locations->InAt(use.GetInputIndex()); in FindFirstRegisterHint() 455 LocationSummary* locations = GetDefinedBy()->GetLocations(); in FindHintAtDefinition() local 456 Location out = locations->Out(); in FindHintAtDefinition()
|
D | code_generator.h | 98 virtual void SaveLiveRegisters(CodeGenerator* codegen, LocationSummary* locations); 100 virtual void RestoreLiveRegisters(CodeGenerator* codegen, LocationSummary* locations); 220 virtual void AddLocationAsTemp(Location location, LocationSummary* locations) = 0; 304 uint32_t GetSlowPathSpills(LocationSummary* locations, bool core_registers) const { in GetSlowPathSpills() argument 305 DCHECK(locations->OnlyCallsOnSlowPath() || in GetSlowPathSpills() 306 (locations->Intrinsified() && locations->CallsOnMainAndSlowPath() && in GetSlowPathSpills() 307 !locations->HasCustomSlowPathCallingConvention())); in GetSlowPathSpills() 309 ? locations->GetLiveRegisters()->GetCoreRegisters() in GetSlowPathSpills() 310 : locations->GetLiveRegisters()->GetFloatingPointRegisters(); in GetSlowPathSpills() 311 if (locations->HasCustomSlowPathCallingConvention()) { in GetSlowPathSpills() [all …]
|
D | ssa_liveness_analysis.h | 318 LocationSummary* locations = instruction->GetLocations(); variable 326 if (locations->IsFixedInput(input_index) || locations->OutputUsesSameAs(input_index)) { 333 } else if (!locations->InAt(input_index).IsValid()) { 907 LocationSummary* locations = defined_by_->GetLocations(); in CanUseInputRegister() local 908 if (locations->OutputCanOverlapWithInputs()) { in CanUseInputRegister() 956 LocationSummary* locations = defined_by_->GetLocations(); in DefinitionRequiresRegister() local 957 Location location = locations->Out(); in DefinitionRequiresRegister() 964 && (locations->InAt(0).IsRegister() in DefinitionRequiresRegister() 965 || locations->InAt(0).IsRegisterPair() in DefinitionRequiresRegister() 966 || locations->InAt(0).GetPolicy() == Location::kRequiresRegister))) { in DefinitionRequiresRegister() [all …]
|
D | register_allocator_linear_scan.cc | 225 LocationSummary* locations = instruction->GetLocations(); in ProcessInstruction() local 228 if (locations == nullptr) return; in ProcessInstruction() 231 for (size_t i = 0; i < locations->GetTempCount(); ++i) { in ProcessInstruction() 232 Location temp = locations->GetTemp(i); in ProcessInstruction() 274 if (locations->NeedsSafepoint()) { in ProcessInstruction() 286 if (locations->WillCall()) { in ProcessInstruction() 290 for (size_t i = 0; i < locations->GetInputCount(); ++i) { in ProcessInstruction() 291 Location input = locations->InAt(i); in ProcessInstruction() 344 Location output = locations->Out(); in ProcessInstruction() 346 Location first = locations->InAt(0); in ProcessInstruction() [all …]
|
D | intrinsics.cc | 246 LocationSummary* locations = new (allocator) LocationSummary(invoke, call_kind, kIntrinsified); in ComputeIntegerValueOfLocations() local 248 locations->SetInAt(0, Location::RegisterOrConstant(invoke->InputAt(0))); in ComputeIntegerValueOfLocations() 249 locations->AddTemp(first_argument_location); in ComputeIntegerValueOfLocations() 250 locations->SetOut(return_location); in ComputeIntegerValueOfLocations() 252 locations->SetInAt(0, Location::ConstantLocation(invoke->InputAt(0)->AsConstant())); in ComputeIntegerValueOfLocations() 253 locations->SetOut(Location::RequiresRegister()); in ComputeIntegerValueOfLocations()
|
D | register_allocator_graph_color.cc | 809 LocationSummary* locations = instruction->GetLocations(); in ProcessInstruction() local 810 if (locations == nullptr) { in ProcessInstruction() 813 if (locations->NeedsSafepoint() && codegen_->IsLeafMethod()) { in ProcessInstruction() 817 DCHECK_EQ(locations->GetTempCount(), 0u); in ProcessInstruction() 838 DCHECK(!locations->Out().IsValid()); in ProcessInstruction() 878 LocationSummary* locations = instruction->GetLocations(); in CheckForFixedInputs() local 880 for (size_t i = 0; i < locations->GetInputCount(); ++i) { in CheckForFixedInputs() 881 Location input = locations->InAt(i); in CheckForFixedInputs() 951 LocationSummary* locations = instruction->GetLocations(); in CheckForTempLiveIntervals() local 953 for (size_t i = 0; i < locations->GetTempCount(); ++i) { in CheckForTempLiveIntervals() [all …]
|
D | register_allocator_test.cc | 867 LocationSummary* locations = new (GetAllocator()) LocationSummary(user, LocationSummary::kNoCall); in TEST_F() local 868 locations->SetInAt(0, Location::RequiresRegister()); in TEST_F() 879 locations = new (GetAllocator()) LocationSummary(first->GetDefinedBy(), LocationSummary::kNoCall); in TEST_F() 880 locations->SetOut(Location::RequiresRegister()); in TEST_F() 887 locations = in TEST_F() 889 locations->SetOut(Location::RequiresRegister()); in TEST_F() 901 locations = new (GetAllocator()) LocationSummary(third->GetDefinedBy(), LocationSummary::kNoCall); in TEST_F() 902 locations->SetOut(Location::RequiresRegister()); in TEST_F() 909 locations = in TEST_F() 911 locations->SetOut(Location::RequiresRegister()); in TEST_F()
|
D | code_generator_arm_vixl.h | 230 void SaveLiveRegisters(CodeGenerator* codegen, LocationSummary* locations) override; 231 void RestoreLiveRegisters(CodeGenerator* codegen, LocationSummary* locations) override; 284 void HandleIntegerRotate(LocationSummary* locations); 285 void HandleLongRotate(LocationSummary* locations); 358 void GenerateMinMaxInt(LocationSummary* locations, bool is_min); 359 void GenerateMinMaxLong(LocationSummary* locations, bool is_min); 438 void AddLocationAsTemp(Location location, LocationSummary* locations) override;
|
D | intrinsics.h | 84 LocationSummary* locations = invoke->GetLocations(); in INTRINSICS_LIST() local 93 Location actual_loc = locations->InAt(i); in INTRINSICS_LIST()
|
D | graph_visualizer.cc | 651 LocationSummary* locations = instruction->GetLocations(); in PrintInstruction() local 652 if (locations != nullptr) { in PrintInstruction() 654 for (size_t i = 0, e = locations->GetInputCount(); i < e; ++i) { in PrintInstruction() 655 DumpLocation(input_list.NewEntryStream(), locations->InAt(i)); in PrintInstruction() 659 DumpLocation(attr, locations->Out()); in PrintInstruction()
|
D | code_generator_x86_64.h | 231 void GenerateMinMaxInt(LocationSummary* locations, bool is_min, DataType::Type type); 232 void GenerateMinMaxFP(LocationSummary* locations, bool is_min, DataType::Type type); 316 void AddLocationAsTemp(Location location, LocationSummary* locations) override;
|
/art/test/510-checker-try-catch/smali/ |
D | RegisterAllocator.smali | 23 ## CHECK-DAG: Phi reg:0 is_catch_phi:true locations:{{\[.*\]}}-><<SlotA1:\d+>>(sp) 24 ## CHECK-DAG: Phi reg:0 is_catch_phi:true locations:{{\[.*\]}}-><<SlotA2:\d+>>(sp) 25 ## CHECK-DAG: Phi reg:1 is_catch_phi:true locations:{{\[.*\]}}-><<SlotB:\d+>>(sp) 61 ## CHECK-DAG: Phi reg:0 is_catch_phi:true locations:{{\[.*\]}}->2x<<SlotB1:\d+>>(sp) 62 ## CHECK-DAG: Phi reg:0 is_catch_phi:true locations:{{\[.*\]}}->2x<<SlotB2:\d+>>(sp) 63 ## CHECK-DAG: Phi reg:2 is_catch_phi:true locations:{{\[.*\]}}-><<SlotA:\d+>>(sp)
|
/art/tools/ |
D | host_bcp.sh | 21 Extracts boot class path locations from <image> and outputs the appropriate 23 --runtime-arg -Xbootclasspath-locations:... 92 --runtime-arg -Xbootclasspath-locations:${BCPL}
|
D | art | 229 # -Xbootclasspath-locations argument is stored in DEX2OAT_BCP_LOCS 247 -Xbootclasspath-locations:*) 249 # Remove '-Xbootclasspath-locations:' from the argument. 250 DEX2OAT_BCP_LOCS=${DEX2OAT_BCP_LOCS##-Xbootclasspath-locations:} 526 echo "Cannot use -Xbootclasspath-locations without -Xbootclasspath" 568 EXTRA_OPTIONS+=("-Xbootclasspath-locations:$DEX2OAT_BCP_LOCS") 570 "-Xbootclasspath-locations:$DEX2OAT_BCP_LOCS")
|
/art/runtime/jit/ |
D | profile_saver.cc | 453 const std::set<std::string>& locations = it.second; in FetchAndCacheResolvedClassesAndMethods() local 454 VLOG(profiler) << "Locations for " << it.first << " " << android::base::Join(locations, ':'); in FetchAndCacheResolvedClassesAndMethods() 462 << " found=" << (locations.find(base_location) != locations.end()) in FetchAndCacheResolvedClassesAndMethods() 464 if (locations.find(base_location) != locations.end()) { in FetchAndCacheResolvedClassesAndMethods() 480 << " found=" << (locations.find(base_location) != locations.end()) in FetchAndCacheResolvedClassesAndMethods() 482 if (locations.find(base_location) != locations.end()) { in FetchAndCacheResolvedClassesAndMethods() 494 if (locations.find(base_location) != locations.end()) { in FetchAndCacheResolvedClassesAndMethods() 545 const std::set<std::string>& locations = it.second; in ProcessProfilingInfo() local 547 << android::base::Join(locations, ":"); in ProcessProfilingInfo() 552 jit_code_cache_->GetProfiledMethods(locations, profile_methods); in ProcessProfilingInfo() [all …]
|
/art/test/614-checker-dump-constant-location/ |
D | info.txt | 2 locations in parallel moves.
|
/art/test/555-UnsafeGetLong-regression/ |
D | info.txt | 1 Regression test for sun.misc.Unsafe.getLong's intrinsic's locations
|
/art/build/ |
D | Android.oat.mk | 108 --runtime-arg -Xbootclasspath-locations:$$(subst $$(space),:,$$(strip \ 224 --runtime-arg -Xbootclasspath-locations:$$(subst $$(space),:,$$(strip \
|