/art/compiler/optimizing/ |
D | intrinsics_utils.h | 54 SaveLiveRegisters(codegen, invoke_->GetLocations()); in EmitNativeCode() 65 Location out = invoke_->GetLocations()->Out(); in EmitNativeCode() 68 DCHECK(!invoke_->GetLocations()->GetLiveRegisters()->ContainsCoreRegister(out.reg())); in EmitNativeCode() 72 RestoreLiveRegisters(codegen, invoke_->GetLocations()); in EmitNativeCode()
|
D | common_arm.h | 99 return SRegisterFrom(instr->GetLocations()->Out()); in OutputSRegister() 105 return DRegisterFrom(instr->GetLocations()->Out()); in OutputDRegister() 120 return SRegisterFrom(instr->GetLocations()->InAt(input_index)); in InputSRegisterAt() 126 return DRegisterFrom(instr->GetLocations()->InAt(input_index)); in InputDRegisterAt() 145 return RegisterFrom(instr->GetLocations()->Out(), instr->GetType()); in OutputRegister() 149 return RegisterFrom(instr->GetLocations()->InAt(input_index), in InputRegisterAt() 208 return OperandFrom(instr->GetLocations()->InAt(input_index), in InputOperandAt()
|
D | code_generator_vector_x86.cc | 63 LocationSummary* locations = instruction->GetLocations(); in VisitVecReplicateScalar() 147 LocationSummary* locations = instruction->GetLocations(); in VisitVecExtractScalar() 210 instruction->GetLocations()->AddTemp(Location::RequiresFpuRegister()); in VisitVecReduce() 215 LocationSummary* locations = instruction->GetLocations(); in VisitVecReduce() 261 LocationSummary* locations = instruction->GetLocations(); in VisitVecCnv() 279 LocationSummary* locations = instruction->GetLocations(); in VisitVecNeg() 325 instruction->GetLocations()->AddTemp(Location::RequiresFpuRegister()); in VisitVecAbs() 330 LocationSummary* locations = instruction->GetLocations(); in VisitVecAbs() 366 instruction->GetLocations()->AddTemp(Location::RequiresFpuRegister()); in VisitVecNot() 371 LocationSummary* locations = instruction->GetLocations(); in VisitVecNot() [all …]
|
D | code_generator_vector_x86_64.cc | 58 LocationSummary* locations = instruction->GetLocations(); in VisitVecReplicateScalar() 135 LocationSummary* locations = instruction->GetLocations(); in VisitVecExtractScalar() 193 instruction->GetLocations()->AddTemp(Location::RequiresFpuRegister()); in VisitVecReduce() 198 LocationSummary* locations = instruction->GetLocations(); in VisitVecReduce() 244 LocationSummary* locations = instruction->GetLocations(); in VisitVecCnv() 262 LocationSummary* locations = instruction->GetLocations(); in VisitVecNeg() 308 instruction->GetLocations()->AddTemp(Location::RequiresFpuRegister()); in VisitVecAbs() 313 LocationSummary* locations = instruction->GetLocations(); in VisitVecAbs() 349 instruction->GetLocations()->AddTemp(Location::RequiresFpuRegister()); in VisitVecNot() 354 LocationSummary* locations = instruction->GetLocations(); in VisitVecNot() [all …]
|
D | code_generator_vector_arm_vixl.cc | 55 LocationSummary* locations = instruction->GetLocations(); in VisitVecReplicateScalar() 93 LocationSummary* locations = instruction->GetLocations(); in VisitVecExtractScalar() 135 LocationSummary* locations = instruction->GetLocations(); in VisitVecReduce() 172 LocationSummary* locations = instruction->GetLocations(); in VisitVecNeg() 201 LocationSummary* locations = instruction->GetLocations(); in VisitVecAbs() 228 LocationSummary* locations = instruction->GetLocations(); in VisitVecNot() 275 LocationSummary* locations = instruction->GetLocations(); in VisitVecAdd() 305 LocationSummary* locations = instruction->GetLocations(); in VisitVecSaturationAdd() 337 LocationSummary* locations = instruction->GetLocations(); in VisitVecHalvingAdd() 377 LocationSummary* locations = instruction->GetLocations(); in VisitVecSub() [all …]
|
D | ssa_liveness_analysis.cc | 54 LocationSummary* locations = current->GetLocations(); in NumberInstructions() 72 LocationSummary* locations = current->GetLocations(); in NumberInstructions() 112 bool has_in_location = current->GetLocations()->InAt(i).IsValid(); in RecursivelyProcessInputs() 113 bool has_out_location = input->GetLocations()->Out().IsValid(); in RecursivelyProcessInputs() 221 DCHECK(!current->GetLocations()->Out().IsValid()); in ComputeLiveRanges() 225 DCHECK(!user->GetLocations()->InAt(index).IsValid()); in ComputeLiveRanges() 417 LocationSummary* locations = user->GetLocations(); in FindFirstRegisterHint() 455 LocationSummary* locations = GetDefinedBy()->GetLocations(); in FindHintAtDefinition() 524 return defined_by->GetLocations()->Out(); in ToLocation()
|
D | intrinsics_arm64.cc | 119 SaveLiveRegisters(codegen, invoke_->GetLocations()); in EmitNativeCode() 137 Location out = invoke_->GetLocations()->Out(); in EmitNativeCode() 140 DCHECK(!invoke_->GetLocations()->GetLiveRegisters()->ContainsCoreRegister(out.reg())); in EmitNativeCode() 144 RestoreLiveRegisters(codegen, invoke_->GetLocations()); in EmitNativeCode() 168 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 173 DCHECK(instruction_->GetLocations()->Intrinsified()); in EmitNativeCode() 230 LocationSummary* res = invoke->GetLocations(); in TryDispatch() 275 MoveFPToInt(invoke->GetLocations(), /* is64bit= */ true, GetVIXLAssembler()); in VisitDoubleDoubleToRawLongBits() 278 MoveIntToFP(invoke->GetLocations(), /* is64bit= */ true, GetVIXLAssembler()); in VisitDoubleLongBitsToDouble() 289 MoveFPToInt(invoke->GetLocations(), /* is64bit= */ false, GetVIXLAssembler()); in VisitFloatFloatToRawIntBits() [all …]
|
D | intrinsics_arm_vixl.cc | 92 SaveLiveRegisters(codegen, invoke_->GetLocations()); in EmitNativeCode() 103 Location out = invoke_->GetLocations()->Out(); in EmitNativeCode() 106 DCHECK(!invoke_->GetLocations()->GetLiveRegisters()->ContainsCoreRegister(out.reg())); in EmitNativeCode() 110 RestoreLiveRegisters(codegen, invoke_->GetLocations()); in EmitNativeCode() 179 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 184 DCHECK(instruction_->GetLocations()->Intrinsified()); in EmitNativeCode() 252 LocationSummary* res = invoke->GetLocations(); in TryDispatch() 301 MoveFPToInt(invoke->GetLocations(), /* is64bit= */ true, GetAssembler()); in VisitDoubleDoubleToRawLongBits() 304 MoveIntToFP(invoke->GetLocations(), /* is64bit= */ true, GetAssembler()); in VisitDoubleLongBitsToDouble() 315 MoveFPToInt(invoke->GetLocations(), /* is64bit= */ false, GetAssembler()); in VisitFloatFloatToRawIntBits() [all …]
|
D | code_generator_vector_arm64.cc | 82 LocationSummary* locations = instruction->GetLocations(); in VisitVecReplicateScalar() 168 LocationSummary* locations = instruction->GetLocations(); in VisitVecExtractScalar() 223 LocationSummary* locations = instruction->GetLocations(); in VisitVecReduce() 263 LocationSummary* locations = instruction->GetLocations(); in VisitVecCnv() 281 LocationSummary* locations = instruction->GetLocations(); in VisitVecNeg() 322 LocationSummary* locations = instruction->GetLocations(); in VisitVecAbs() 361 LocationSummary* locations = instruction->GetLocations(); in VisitVecNot() 412 LocationSummary* locations = instruction->GetLocations(); in VisitVecAdd() 454 LocationSummary* locations = instruction->GetLocations(); in VisitVecSaturationAdd() 486 LocationSummary* locations = instruction->GetLocations(); in VisitVecHalvingAdd() [all …]
|
D | code_generator_vector_mips64.cc | 56 LocationSummary* locations = instruction->GetLocations(); in VisitVecReplicateScalar() 121 LocationSummary* locations = instruction->GetLocations(); in VisitVecExtractScalar() 181 LocationSummary* locations = instruction->GetLocations(); in VisitVecReduce() 236 LocationSummary* locations = instruction->GetLocations(); in VisitVecCnv() 255 LocationSummary* locations = instruction->GetLocations(); in VisitVecNeg() 302 LocationSummary* locations = instruction->GetLocations(); in VisitVecAbs() 349 LocationSummary* locations = instruction->GetLocations(); in VisitVecNot() 404 LocationSummary* locations = instruction->GetLocations(); in VisitVecAdd() 454 LocationSummary* locations = instruction->GetLocations(); in VisitVecHalvingAdd() 494 LocationSummary* locations = instruction->GetLocations(); in VisitVecSub() [all …]
|
D | code_generator_vector_mips.cc | 51 LocationSummary* locations = instruction->GetLocations(); in VisitVecReplicateScalar() 122 LocationSummary* locations = instruction->GetLocations(); in VisitVecExtractScalar() 183 LocationSummary* locations = instruction->GetLocations(); in VisitVecReduce() 238 LocationSummary* locations = instruction->GetLocations(); in VisitVecCnv() 256 LocationSummary* locations = instruction->GetLocations(); in VisitVecNeg() 303 LocationSummary* locations = instruction->GetLocations(); in VisitVecAbs() 350 LocationSummary* locations = instruction->GetLocations(); in VisitVecNot() 405 LocationSummary* locations = instruction->GetLocations(); in VisitVecAdd() 455 LocationSummary* locations = instruction->GetLocations(); in VisitVecHalvingAdd() 495 LocationSummary* locations = instruction->GetLocations(); in VisitVecSub() [all …]
|
D | common_arm64.h | 82 return RegisterFrom(instr->GetLocations()->Out(), instr->GetType()); in OutputRegister() 86 return RegisterFrom(instr->GetLocations()->InAt(input_index), in InputRegisterAt() 116 return FPRegisterFrom(instr->GetLocations()->Out(), instr->GetType()); in OutputFPRegister() 120 return FPRegisterFrom(instr->GetLocations()->InAt(input_index), in InputFPRegisterAt() 167 return OperandFrom(instr->GetLocations()->InAt(input_index), in InputOperandAt()
|
D | code_generator.cc | 110 LocationSummary* locations = instruction->GetLocations(); in CheckTypeConsistency() 560 MoveConstant(invoke->GetLocations()->GetTemp(0), invoke->GetDexMethodIndex()); in GenerateInvokeUnresolvedRuntimeCall() 597 MoveConstant(invoke->GetLocations()->GetTemp(0), invoke->GetCallSiteIndex()); in GenerateInvokeCustomCall() 658 LocationSummary* locations = field_access->GetLocations(); in GenerateUnresolvedFieldAccess() 742 LocationSummary* locations = cls->GetLocations(); in GenerateLoadClassRuntimeCall() 767 LocationSummary* locations = method_handle->GetLocations(); in GenerateLoadMethodHandleRuntimeCall() 787 LocationSummary* locations = method_type->GetLocations(); in GenerateLoadMethodTypeRuntimeCall() 863 LocationSummary* locations = instruction->GetLocations(); in AllocateLocations() 1078 LocationSummary* locations = instruction->GetLocations(); in RecordPcInfo() 1201 Location location = current_phi->GetLocations()->Out(); in RecordCatchBlockInfo() [all …]
|
D | register_allocation_resolver.cc | 61 LocationSummary* locations = instruction->GetLocations(); in Resolve() 209 LocationSummary* locations = at->GetLocations(); in Resolve() 246 LocationSummary* locations = safepoint_position->GetLocations(); in UpdateSafepointLiveRegisters() 280 LocationSummary* locations = instruction->GetLocations(); in CalculateMaximumSafepointSpillSize() 341 LocationSummary* locations = use.GetUser()->GetLocations(); in ConnectSiblings() 395 LocationSummary* locations = safepoint_position->GetLocations(); in ConnectSiblings() 466 location_source = defined_by->GetLocations()->Out(); in ConnectSplitSiblings()
|
D | code_generator_mips64.cc | 132 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 137 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode() 193 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 253 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 292 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode() 315 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 356 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 413 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 433 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 496 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() [all …]
|
D | ssa_liveness_analysis.h | 146 Location location = GetUser()->GetLocations()->InAt(GetInputIndex()); in RequiresRegister() 258 LocationSummary* GetLocations() const { in GetLocations() function 259 return instruction_->GetLocations(); in GetLocations() 318 LocationSummary* locations = instruction->GetLocations(); 596 DCHECK(defined_by_->GetLocations()->Out().IsValid()); in FirstUseAfter() 633 if (safepoint->GetLocations()->WillCall()) return true; in HasWillCallSafepoint() 907 LocationSummary* locations = defined_by_->GetLocations(); in CanUseInputRegister() 956 LocationSummary* locations = defined_by_->GetLocations(); in DefinitionRequiresRegister()
|
D | code_generator_arm_vixl.cc | 391 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode() 473 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 478 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode() 515 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 569 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 600 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 661 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 682 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 749 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 758 (instruction_->IsInvokeVirtual() && instruction_->GetLocations()->Intrinsified())) in EmitNativeCode() [all …]
|
D | register_allocator_test.cc | 585 phi->GetLocations()->UpdateOut(Location::RegisterLocation(2)); in PhiHint() 603 input1->GetLocations()->UpdateOut(Location::RegisterLocation(2)); in PhiHint() 621 input2->GetLocations()->UpdateOut(Location::RegisterLocation(2)); in PhiHint() 698 ret->GetLocations()->inputs_[0] = Location::RegisterLocation(2); in ExpectedInRegisterHint() 767 first_sub->InputAt(0)->GetLocations()->output_ = Location::RegisterLocation(2); in SameAsFirstInputHint() 768 ASSERT_EQ(first_sub->GetLocations()->Out().GetPolicy(), Location::kSameAsFirstInput); in SameAsFirstInputHint() 769 ASSERT_EQ(second_sub->GetLocations()->Out().GetPolicy(), Location::kSameAsFirstInput); in SameAsFirstInputHint()
|
D | code_generator_mips.cc | 180 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 185 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode() 240 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 300 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 336 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode() 359 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 400 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 456 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 476 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 539 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() [all …]
|
D | intrinsics.h | 84 LocationSummary* locations = invoke->GetLocations(); in INTRINSICS_LIST() 339 bool success = builder.TryDispatch(invoke) && !invoke->GetLocations()->CanCall(); in IsCallFreeIntrinsic()
|
D | code_generator.h | 907 RegisterSet* live1 = i1->GetLocations()->GetLiveRegisters(); in HaveSameLiveRegisters() 908 RegisterSet* live2 = i2->GetLocations()->GetLiveRegisters(); in HaveSameLiveRegisters()
|
D | register_allocator_linear_scan.cc | 225 LocationSummary* locations = instruction->GetLocations(); in ProcessInstruction() 636 LocationSummary* locations = defined_by->GetLocations(); in TryAllocateFreeReg()
|
D | graph_visualizer.cc | 648 LocationSummary* locations = instruction->GetLocations(); in PrintInstruction()
|