/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 | 90 return SRegisterFrom(instr->GetLocations()->Out()); in OutputSRegister() 96 return DRegisterFrom(instr->GetLocations()->Out()); in OutputDRegister() 111 return SRegisterFrom(instr->GetLocations()->InAt(input_index)); in InputSRegisterAt() 117 return DRegisterFrom(instr->GetLocations()->InAt(input_index)); in InputDRegisterAt() 136 return RegisterFrom(instr->GetLocations()->Out(), instr->GetType()); in OutputRegister() 140 return RegisterFrom(instr->GetLocations()->InAt(input_index), in InputRegisterAt() 199 return OperandFrom(instr->GetLocations()->InAt(input_index), in InputOperandAt()
|
D | intrinsics_arm64.cc | 120 SaveLiveRegisters(codegen, invoke_->GetLocations()); in EmitNativeCode() 138 Location out = invoke_->GetLocations()->Out(); in EmitNativeCode() 141 DCHECK(!invoke_->GetLocations()->GetLiveRegisters()->ContainsCoreRegister(out.reg())); in EmitNativeCode() 145 RestoreLiveRegisters(codegen, invoke_->GetLocations()); in EmitNativeCode() 169 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 174 DCHECK(instruction_->GetLocations()->Intrinsified()); in EmitNativeCode() 231 LocationSummary* res = invoke->GetLocations(); in TryDispatch() 276 MoveFPToInt(invoke->GetLocations(), /* is64bit= */ true, GetVIXLAssembler()); in VisitDoubleDoubleToRawLongBits() 279 MoveIntToFP(invoke->GetLocations(), /* is64bit= */ true, GetVIXLAssembler()); in VisitDoubleLongBitsToDouble() 290 MoveFPToInt(invoke->GetLocations(), /* is64bit= */ false, GetVIXLAssembler()); in VisitFloatFloatToRawIntBits() [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 | code_generator_vector_x86_64.cc | 58 LocationSummary* locations = instruction->GetLocations(); in VisitVecReplicateScalar() 136 LocationSummary* locations = instruction->GetLocations(); in VisitVecExtractScalar() 194 instruction->GetLocations()->AddTemp(Location::RequiresFpuRegister()); in VisitVecReduce() 199 LocationSummary* locations = instruction->GetLocations(); in VisitVecReduce() 245 LocationSummary* locations = instruction->GetLocations(); in VisitVecCnv() 263 LocationSummary* locations = instruction->GetLocations(); in VisitVecNeg() 309 instruction->GetLocations()->AddTemp(Location::RequiresFpuRegister()); in VisitVecAbs() 314 LocationSummary* locations = instruction->GetLocations(); in VisitVecAbs() 350 instruction->GetLocations()->AddTemp(Location::RequiresFpuRegister()); in VisitVecNot() 355 LocationSummary* locations = instruction->GetLocations(); in VisitVecNot() [all …]
|
D | code_generator_vector_x86.cc | 63 LocationSummary* locations = instruction->GetLocations(); in VisitVecReplicateScalar() 148 LocationSummary* locations = instruction->GetLocations(); in VisitVecExtractScalar() 211 instruction->GetLocations()->AddTemp(Location::RequiresFpuRegister()); in VisitVecReduce() 216 LocationSummary* locations = instruction->GetLocations(); in VisitVecReduce() 262 LocationSummary* locations = instruction->GetLocations(); in VisitVecCnv() 280 LocationSummary* locations = instruction->GetLocations(); in VisitVecNeg() 326 instruction->GetLocations()->AddTemp(Location::RequiresFpuRegister()); in VisitVecAbs() 331 LocationSummary* locations = instruction->GetLocations(); in VisitVecAbs() 367 instruction->GetLocations()->AddTemp(Location::RequiresFpuRegister()); in VisitVecNot() 372 LocationSummary* locations = instruction->GetLocations(); in VisitVecNot() [all …]
|
D | intrinsics_x86_64.cc | 57 LocationSummary* res = invoke->GetLocations(); in TryDispatch() 85 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 90 DCHECK(instruction_->GetLocations()->Intrinsified()); in EmitNativeCode() 165 MoveFPToInt(invoke->GetLocations(), /* is64bit= */ true, GetAssembler()); in VisitDoubleDoubleToRawLongBits() 168 MoveIntToFP(invoke->GetLocations(), /* is64bit= */ true, GetAssembler()); in VisitDoubleLongBitsToDouble() 179 MoveFPToInt(invoke->GetLocations(), /* is64bit= */ false, GetAssembler()); in VisitFloatFloatToRawIntBits() 182 MoveIntToFP(invoke->GetLocations(), /* is64bit= */ false, GetAssembler()); in VisitFloatIntBitsToFloat() 220 GenReverseBytes(invoke->GetLocations(), DataType::Type::kInt32, GetAssembler()); in VisitIntegerReverseBytes() 228 GenReverseBytes(invoke->GetLocations(), DataType::Type::kInt64, GetAssembler()); in VisitLongReverseBytes() 236 GenReverseBytes(invoke->GetLocations(), DataType::Type::kInt16, GetAssembler()); in VisitShortReverseBytes() [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 | intrinsics_x86.cc | 59 LocationSummary* res = invoke->GetLocations(); in TryDispatch() 87 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 92 DCHECK(instruction_->GetLocations()->Intrinsified()); in EmitNativeCode() 233 MoveFPToInt(invoke->GetLocations(), /* is64bit= */ true, GetAssembler()); in VisitDoubleDoubleToRawLongBits() 236 MoveIntToFP(invoke->GetLocations(), /* is64bit= */ true, GetAssembler()); in VisitDoubleLongBitsToDouble() 247 MoveFPToInt(invoke->GetLocations(), /* is64bit= */ false, GetAssembler()); in VisitFloatFloatToRawIntBits() 250 MoveIntToFP(invoke->GetLocations(), /* is64bit= */ false, GetAssembler()); in VisitFloatIntBitsToFloat() 299 GenReverseBytes(invoke->GetLocations(), DataType::Type::kInt32, GetAssembler()); in VisitIntegerReverseBytes() 307 LocationSummary* locations = invoke->GetLocations(); in VisitLongReverseBytes() 328 GenReverseBytes(invoke->GetLocations(), DataType::Type::kInt16, GetAssembler()); in VisitShortReverseBytes() [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_x86.cc | 82 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode() 146 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 153 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode() 164 Location array_loc = array_length->GetLocations()->InAt(0); in EmitNativeCode() 206 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 243 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 276 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 328 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 397 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 418 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() [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() 121 return FPRegisterFrom(instr->GetLocations()->Out(), instr->GetType()); in OutputFPRegister() 125 return FPRegisterFrom(instr->GetLocations()->InAt(input_index), in InputFPRegisterAt() 172 return OperandFrom(instr->GetLocations()->InAt(input_index), in InputOperandAt()
|
D | code_generator.cc | 103 LocationSummary* locations = instruction->GetLocations(); in CheckTypeConsistency() 554 MoveConstant(invoke->GetLocations()->GetTemp(0), invoke->GetDexMethodIndex()); in GenerateInvokeUnresolvedRuntimeCall() 591 MoveConstant(invoke->GetLocations()->GetTemp(0), invoke->GetCallSiteIndex()); in GenerateInvokeCustomCall() 602 instruction->GetLocations()->SetInAt(instruction->FormatIndex(), in CreateStringBuilderAppendLocations() 703 LocationSummary* locations = field_access->GetLocations(); in GenerateUnresolvedFieldAccess() 787 LocationSummary* locations = cls->GetLocations(); in GenerateLoadClassRuntimeCall() 812 LocationSummary* locations = method_handle->GetLocations(); in GenerateLoadMethodHandleRuntimeCall() 832 LocationSummary* locations = method_type->GetLocations(); in GenerateLoadMethodTypeRuntimeCall() 908 LocationSummary* locations = instruction->GetLocations(); in AllocateLocations() 1154 LocationSummary* locations = instruction->GetLocations(); in RecordPcInfo() [all …]
|
D | code_generator_x86_64.cc | 81 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode() 157 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 195 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 200 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode() 210 Location array_loc = array_length->GetLocations()->InAt(0); in EmitNativeCode() 258 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 310 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 343 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 408 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 429 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() [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 | 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 | 392 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode() 474 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 479 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode() 516 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 570 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 601 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 662 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 683 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 750 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 759 (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 | register_allocator_graph_color.cc | 809 LocationSummary* locations = instruction->GetLocations(); in ProcessInstruction() 824 if (instruction->GetLocations()->WillCall()) { in ProcessInstruction() 878 LocationSummary* locations = instruction->GetLocations(); in CheckForFixedInputs() 899 Location out = interval->GetDefinedBy()->GetLocations()->Out(); in CheckForFixedOutput() 904 out = instruction->GetLocations()->InAt(0); in CheckForFixedOutput() 951 LocationSummary* locations = instruction->GetLocations(); in CheckForTempLiveIntervals() 992 LocationSummary* locations = instruction->GetLocations(); in CheckForSafepoint() 1150 LocationSummary* locations = defined_by->GetLocations(); in CheckInputOutputCanOverlap() 1377 Location out = defined_by->GetLocations()->Out(); in FindCoalesceOpportunities() 1400 LocationSummary* locations = defined_by->GetLocations(); in FindCoalesceOpportunities() [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_arm64.cc | 252 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 258 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode() 313 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 368 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 403 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode() 426 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 467 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 524 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 544 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 634 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() [all …]
|
D | code_generator.h | 942 RegisterSet* live1 = i1->GetLocations()->GetLiveRegisters(); in HaveSameLiveRegisters() 943 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 | 651 LocationSummary* locations = instruction->GetLocations(); in PrintInstruction()
|