/art/compiler/optimizing/ |
D | intrinsics_x86.cc | 89 LocationSummary* locations = new (arena) LocationSummary(invoke, in CreateFPToIntLocations() local 92 locations->SetInAt(0, Location::RequiresFpuRegister()); in CreateFPToIntLocations() 93 locations->SetOut(Location::RequiresRegister()); in CreateFPToIntLocations() 95 locations->AddTemp(Location::RequiresFpuRegister()); in CreateFPToIntLocations() 100 LocationSummary* locations = new (arena) LocationSummary(invoke, in CreateIntToFPLocations() local 103 locations->SetInAt(0, Location::RequiresRegister()); in CreateIntToFPLocations() 104 locations->SetOut(Location::RequiresFpuRegister()); in CreateIntToFPLocations() 106 locations->AddTemp(Location::RequiresFpuRegister()); in CreateIntToFPLocations() 107 locations->AddTemp(Location::RequiresFpuRegister()); in CreateIntToFPLocations() 111 static void MoveFPToInt(LocationSummary* locations, bool is64bit, X86Assembler* assembler) { in MoveFPToInt() argument [all …]
|
D | intrinsics_arm.cc | 69 LocationSummary* locations = new (arena) LocationSummary(invoke, in CreateFPToIntLocations() local 72 locations->SetInAt(0, Location::RequiresFpuRegister()); in CreateFPToIntLocations() 73 locations->SetOut(Location::RequiresRegister()); in CreateFPToIntLocations() 77 LocationSummary* locations = new (arena) LocationSummary(invoke, in CreateIntToFPLocations() local 80 locations->SetInAt(0, Location::RequiresRegister()); in CreateIntToFPLocations() 81 locations->SetOut(Location::RequiresFpuRegister()); in CreateIntToFPLocations() 84 static void MoveFPToInt(LocationSummary* locations, bool is64bit, ArmAssembler* assembler) { in MoveFPToInt() argument 85 Location input = locations->InAt(0); in MoveFPToInt() 86 Location output = locations->Out(); in MoveFPToInt() 96 static void MoveIntToFP(LocationSummary* locations, bool is64bit, ArmAssembler* assembler) { in MoveIntToFP() argument [all …]
|
D | intrinsics_x86_64.cc | 83 LocationSummary* locations = new (arena) LocationSummary(invoke, in CreateFPToIntLocations() local 86 locations->SetInAt(0, Location::RequiresFpuRegister()); in CreateFPToIntLocations() 87 locations->SetOut(Location::RequiresRegister()); in CreateFPToIntLocations() 91 LocationSummary* locations = new (arena) LocationSummary(invoke, in CreateIntToFPLocations() local 94 locations->SetInAt(0, Location::RequiresRegister()); in CreateIntToFPLocations() 95 locations->SetOut(Location::RequiresFpuRegister()); in CreateIntToFPLocations() 98 static void MoveFPToInt(LocationSummary* locations, bool is64bit, X86_64Assembler* assembler) { in MoveFPToInt() argument 99 Location input = locations->InAt(0); in MoveFPToInt() 100 Location output = locations->Out(); in MoveFPToInt() 104 static void MoveIntToFP(LocationSummary* locations, bool is64bit, X86_64Assembler* assembler) { in MoveIntToFP() argument [all …]
|
D | intrinsics_mips64.cc | 142 LocationSummary* locations = new (arena) LocationSummary(invoke, in CreateFPToIntLocations() local 145 locations->SetInAt(0, Location::RequiresFpuRegister()); in CreateFPToIntLocations() 146 locations->SetOut(Location::RequiresRegister()); in CreateFPToIntLocations() 149 static void MoveFPToInt(LocationSummary* locations, bool is64bit, Mips64Assembler* assembler) { in MoveFPToInt() argument 150 FpuRegister in = locations->InAt(0).AsFpuRegister<FpuRegister>(); in MoveFPToInt() 151 GpuRegister out = locations->Out().AsRegister<GpuRegister>(); in MoveFPToInt() 179 LocationSummary* locations = new (arena) LocationSummary(invoke, in CreateIntToFPLocations() local 182 locations->SetInAt(0, Location::RequiresRegister()); in CreateIntToFPLocations() 183 locations->SetOut(Location::RequiresFpuRegister()); in CreateIntToFPLocations() 186 static void MoveIntToFP(LocationSummary* locations, bool is64bit, Mips64Assembler* assembler) { in MoveIntToFP() argument [all …]
|
D | intrinsics_arm64.cc | 170 LocationSummary* locations = new (arena) LocationSummary(invoke, in CreateFPToIntLocations() local 173 locations->SetInAt(0, Location::RequiresFpuRegister()); in CreateFPToIntLocations() 174 locations->SetOut(Location::RequiresRegister()); in CreateFPToIntLocations() 178 LocationSummary* locations = new (arena) LocationSummary(invoke, in CreateIntToFPLocations() local 181 locations->SetInAt(0, Location::RequiresRegister()); in CreateIntToFPLocations() 182 locations->SetOut(Location::RequiresFpuRegister()); in CreateIntToFPLocations() 185 static void MoveFPToInt(LocationSummary* locations, bool is64bit, vixl::MacroAssembler* masm) { in MoveFPToInt() argument 186 Location input = locations->InAt(0); in MoveFPToInt() 187 Location output = locations->Out(); in MoveFPToInt() 192 static void MoveIntToFP(LocationSummary* locations, bool is64bit, vixl::MacroAssembler* masm) { in MoveIntToFP() argument [all …]
|
D | intrinsics_mips.cc | 153 LocationSummary* locations = new (arena) LocationSummary(invoke, in CreateFPToIntLocations() local 156 locations->SetInAt(0, Location::RequiresFpuRegister()); in CreateFPToIntLocations() 157 locations->SetOut(Location::RequiresRegister()); in CreateFPToIntLocations() 160 static void MoveFPToInt(LocationSummary* locations, bool is64bit, MipsAssembler* assembler) { in MoveFPToInt() argument 161 FRegister in = locations->InAt(0).AsFpuRegister<FRegister>(); in MoveFPToInt() 164 Register out_lo = locations->Out().AsRegisterPairLow<Register>(); in MoveFPToInt() 165 Register out_hi = locations->Out().AsRegisterPairHigh<Register>(); in MoveFPToInt() 170 Register out = locations->Out().AsRegister<Register>(); in MoveFPToInt() 195 LocationSummary* locations = new (arena) LocationSummary(invoke, in CreateIntToFPLocations() local 198 locations->SetInAt(0, Location::RequiresRegister()); in CreateIntToFPLocations() [all …]
|
D | code_generator_mips64.cc | 113 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() local 123 codegen->EmitParallelMoves(locations->InAt(0), in EmitNativeCode() 126 locations->InAt(1), in EmitNativeCode() 181 LocationSummary* locations = at_->GetLocations(); in EmitNativeCode() local 185 SaveLiveRegisters(codegen, locations); in EmitNativeCode() 199 Location out = locations->Out(); in EmitNativeCode() 201 DCHECK(out.IsRegister() && !locations->GetLiveRegisters()->ContainsCoreRegister(out.reg())); in EmitNativeCode() 206 RestoreLiveRegisters(codegen, locations); in EmitNativeCode() 234 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() local 235 DCHECK(!locations->GetLiveRegisters()->ContainsCoreRegister(locations->Out().reg())); in EmitNativeCode() [all …]
|
D | code_generator_mips.cc | 152 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() local 162 codegen->EmitParallelMoves(locations->InAt(0), in EmitNativeCode() 165 locations->InAt(1), in EmitNativeCode() 222 LocationSummary* locations = at_->GetLocations(); in EmitNativeCode() local 226 SaveLiveRegisters(codegen, locations); in EmitNativeCode() 244 Location out = locations->Out(); in EmitNativeCode() 246 DCHECK(out.IsRegister() && !locations->GetLiveRegisters()->ContainsCoreRegister(out.reg())); in EmitNativeCode() 251 RestoreLiveRegisters(codegen, locations); in EmitNativeCode() 279 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() local 280 DCHECK(!locations->GetLiveRegisters()->ContainsCoreRegister(locations->Out().reg())); in EmitNativeCode() [all …]
|
D | code_generator_arm.cc | 161 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() local 172 locations->InAt(0), in EmitNativeCode() 175 locations->InAt(1), in EmitNativeCode() 202 LocationSummary* locations = at_->GetLocations(); in EmitNativeCode() local 206 SaveLiveRegisters(codegen, locations); in EmitNativeCode() 221 Location out = locations->Out(); in EmitNativeCode() 223 DCHECK(out.IsRegister() && !locations->GetLiveRegisters()->ContainsCoreRegister(out.reg())); in EmitNativeCode() 224 arm_codegen->Move32(locations->Out(), Location::RegisterLocation(R0)); in EmitNativeCode() 226 RestoreLiveRegisters(codegen, locations); in EmitNativeCode() 254 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() local [all …]
|
D | code_generator_x86.cc | 133 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() local 144 locations->InAt(0), in EmitNativeCode() 147 locations->InAt(1), in EmitNativeCode() 210 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() local 211 DCHECK(!locations->GetLiveRegisters()->ContainsCoreRegister(locations->Out().reg())); in EmitNativeCode() 215 SaveLiveRegisters(codegen, locations); in EmitNativeCode() 225 x86_codegen->Move32(locations->Out(), Location::RegisterLocation(EAX)); in EmitNativeCode() 226 RestoreLiveRegisters(codegen, locations); in EmitNativeCode() 248 LocationSummary* locations = at_->GetLocations(); in EmitNativeCode() local 251 SaveLiveRegisters(codegen, locations); in EmitNativeCode() [all …]
|
D | code_generator_x86_64.cc | 189 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() local 200 locations->InAt(0), in EmitNativeCode() 203 locations->InAt(1), in EmitNativeCode() 232 LocationSummary* locations = at_->GetLocations(); in EmitNativeCode() local 236 SaveLiveRegisters(codegen, locations); in EmitNativeCode() 252 Location out = locations->Out(); in EmitNativeCode() 255 DCHECK(out.IsRegister() && !locations->GetLiveRegisters()->ContainsCoreRegister(out.reg())); in EmitNativeCode() 259 RestoreLiveRegisters(codegen, locations); in EmitNativeCode() 287 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() local 288 DCHECK(!locations->GetLiveRegisters()->ContainsCoreRegister(locations->Out().reg())); in EmitNativeCode() [all …]
|
D | code_generator_arm64.cc | 184 void SlowPathCodeARM64::SaveLiveRegisters(CodeGenerator* codegen, LocationSummary* locations) { in SaveLiveRegisters() argument 185 RegisterSet* register_set = locations->GetLiveRegisters(); in SaveLiveRegisters() 190 if (locations->RegisterContainsObject(i)) { in SaveLiveRegisters() 191 locations->SetStackBit(stack_offset / kVRegSize); in SaveLiveRegisters() 214 void SlowPathCodeARM64::RestoreLiveRegisters(CodeGenerator* codegen, LocationSummary* locations) { in RestoreLiveRegisters() argument 215 RegisterSet* register_set = locations->GetLiveRegisters(); in RestoreLiveRegisters() 225 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() local 237 locations->InAt(0), LocationFrom(calling_convention.GetRegisterAt(0)), Primitive::kPrimInt, in EmitNativeCode() 238 locations->InAt(1), LocationFrom(calling_convention.GetRegisterAt(1)), Primitive::kPrimInt); in EmitNativeCode() 287 LocationSummary* locations = at_->GetLocations(); in EmitNativeCode() local [all …]
|
D | code_generator.cc | 97 LocationSummary* locations = instruction->GetLocations(); in CheckTypeConsistency() local 98 if (locations == nullptr) { in CheckTypeConsistency() 102 if (locations->Out().IsUnallocated() in CheckTypeConsistency() 103 && (locations->Out().GetPolicy() == Location::kSameAsFirstInput)) { in CheckTypeConsistency() 104 DCHECK(CheckType(instruction->GetType(), locations->InAt(0))) in CheckTypeConsistency() 106 << " " << locations->InAt(0); in CheckTypeConsistency() 108 DCHECK(CheckType(instruction->GetType(), locations->Out())) in CheckTypeConsistency() 110 << " " << locations->Out(); in CheckTypeConsistency() 114 DCHECK(CheckType(instruction->InputAt(i)->GetType(), locations->InAt(i))) in CheckTypeConsistency() 116 << " " << locations->InAt(i); in CheckTypeConsistency() [all …]
|
D | register_allocator.cc | 229 LocationSummary* locations = instruction->GetLocations(); in ProcessInstruction() local 232 if (locations == nullptr) return; in ProcessInstruction() 235 for (size_t i = 0; i < locations->GetTempCount(); ++i) { in ProcessInstruction() 236 Location temp = locations->GetTemp(i); in ProcessInstruction() 278 if (locations->NeedsSafepoint()) { in ProcessInstruction() 288 if (locations->OnlyCallsOnSlowPath()) { in ProcessInstruction() 304 if (locations->WillCall()) { in ProcessInstruction() 309 Location input = locations->InAt(i); in ProcessInstruction() 362 Location output = locations->Out(); in ProcessInstruction() 364 Location first = locations->InAt(0); in ProcessInstruction() [all …]
|
D | ssa_liveness_analysis.cc | 124 LocationSummary* locations = current->GetLocations(); in NumberInstructions() local 125 if (locations != nullptr && locations->Out().IsValid()) { in NumberInstructions() 142 LocationSummary* locations = current->GetLocations(); in NumberInstructions() local 143 if (locations != nullptr && locations->Out().IsValid()) { in NumberInstructions() 450 LocationSummary* locations = user->GetLocations(); in FindFirstRegisterHint() local 451 Location expected = locations->InAt(use->GetInputIndex()); in FindFirstRegisterHint() 489 LocationSummary* locations = GetDefinedBy()->GetLocations(); in FindHintAtDefinition() local 490 Location out = locations->Out(); in FindHintAtDefinition()
|
D | ssa_liveness_analysis.h | 251 LocationSummary* locations = instruction->GetLocations(); variable 259 if (locations->IsFixedInput(input_index) || locations->OutputUsesSameAs(input_index)) { 266 } else if (!locations->InAt(input_index).IsValid()) { 827 LocationSummary* locations = defined_by_->GetLocations(); in CanUseInputRegister() local 828 if (locations->OutputCanOverlapWithInputs()) { in CanUseInputRegister() 930 LocationSummary* locations = defined_by_->GetLocations(); in DefinitionRequiresRegister() local 931 Location location = locations->Out(); in DefinitionRequiresRegister() 938 && (locations->InAt(0).IsRegister() in DefinitionRequiresRegister() 939 || locations->InAt(0).IsRegisterPair() in DefinitionRequiresRegister() 940 || locations->InAt(0).GetPolicy() == Location::kRequiresRegister))) { in DefinitionRequiresRegister() [all …]
|
D | code_generator_mips.h | 229 void GenerateIntCompare(IfCondition cond, LocationSummary* locations); 231 LocationSummary* locations, 234 LocationSummary* locations, 239 LocationSummary* locations, 326 void AddLocationAsTemp(Location location, LocationSummary* locations) OVERRIDE;
|
D | register_allocator_test.cc | 842 LocationSummary* locations = new (&allocator) LocationSummary(user, LocationSummary::kNoCall); in TEST_F() local 843 locations->SetInAt(0, Location::RequiresRegister()); in TEST_F() 854 locations = new (&allocator) LocationSummary(first->GetDefinedBy(), LocationSummary::kNoCall); in TEST_F() 855 locations->SetOut(Location::RequiresRegister()); in TEST_F() 862 locations = new (&allocator) LocationSummary(second->GetDefinedBy(), LocationSummary::kNoCall); in TEST_F() 863 locations->SetOut(Location::RequiresRegister()); in TEST_F() 875 locations = new (&allocator) LocationSummary(third->GetDefinedBy(), LocationSummary::kNoCall); in TEST_F() 876 locations->SetOut(Location::RequiresRegister()); in TEST_F() 883 locations = new (&allocator) LocationSummary(fourth->GetDefinedBy(), LocationSummary::kNoCall); in TEST_F() 884 locations->SetOut(Location::RequiresRegister()); in TEST_F()
|
D | code_generator_mips64.h | 239 void GenerateIntLongCompare(IfCondition cond, bool is64bit, LocationSummary* locations); 242 LocationSummary* locations, 247 LocationSummary* locations, 318 void AddLocationAsTemp(Location location, LocationSummary* locations) OVERRIDE;
|
D | code_generator_arm.h | 176 void HandleIntegerRotate(LocationSummary* locations); 177 void HandleLongRotate(LocationSummary* locations); 223 void HandleIntegerRotate(LocationSummary* locations); 224 void HandleLongRotate(LocationSummary* locations); 310 void AddLocationAsTemp(Location location, LocationSummary* locations) OVERRIDE;
|
D | intrinsics.h | 98 LocationSummary* locations = invoke->GetLocations(); in INTRINSICS_LIST() local 107 Location actual_loc = locations->InAt(i); in INTRINSICS_LIST()
|
D | graph_visualizer.cc | 540 LocationSummary* locations = instruction->GetLocations(); in PrintInstruction() local 541 if (locations != nullptr) { in PrintInstruction() 544 DumpLocation(inputs.NewEntryStream(), locations->InAt(i)); in PrintInstruction() 548 DumpLocation(attr, locations->Out()); in PrintInstruction()
|
/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/test/555-UnsafeGetLong-regression/ |
D | info.txt | 1 Regression test for sun.misc.Unsafe.getLong's intrinsic's locations
|
/art/runtime/jit/ |
D | profile_saver.cc | 244 const std::set<std::string>& locations = it.second; in FetchAndCacheResolvedClassesAndMethods() local 247 if (locations.find(ref.dex_file->GetBaseLocation()) != locations.end()) { in FetchAndCacheResolvedClassesAndMethods() 252 if (locations.find(classes.GetBaseLocation()) != locations.end()) { in FetchAndCacheResolvedClassesAndMethods() 288 const std::set<std::string>& locations = it.second; in ProcessProfilingInfo() local 292 jit_code_cache_->GetProfiledMethods(locations, methods); in ProcessProfilingInfo()
|