/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 | intrinsics_mips64.cc | 101 SaveLiveRegisters(codegen, invoke_->GetLocations()); in EmitNativeCode() 114 Location out = invoke_->GetLocations()->Out(); in EmitNativeCode() 117 DCHECK(!invoke_->GetLocations()->GetLiveRegisters()->ContainsCoreRegister(out.reg())); in EmitNativeCode() 121 RestoreLiveRegisters(codegen, invoke_->GetLocations()); in EmitNativeCode() 138 LocationSummary* res = invoke->GetLocations(); in TryDispatch() 168 MoveFPToInt(invoke->GetLocations(), /* is64bit */ true, GetAssembler()); in VisitDoubleDoubleToRawLongBits() 177 MoveFPToInt(invoke->GetLocations(), /* is64bit */ false, GetAssembler()); in VisitFloatFloatToRawIntBits() 204 MoveIntToFP(invoke->GetLocations(), /* is64bit */ true, GetAssembler()); in VisitDoubleLongBitsToDouble() 213 MoveIntToFP(invoke->GetLocations(), /* is64bit */ false, GetAssembler()); in VisitFloatIntBitsToFloat() 254 GenReverseBytes(invoke->GetLocations(), DataType::Type::kInt32, GetAssembler()); in VisitIntegerReverseBytes() [all …]
|
D | intrinsics_mips.cc | 112 SaveLiveRegisters(codegen, invoke_->GetLocations()); in EmitNativeCode() 125 Location out = invoke_->GetLocations()->Out(); in EmitNativeCode() 128 DCHECK(!invoke_->GetLocations()->GetLiveRegisters()->ContainsCoreRegister(out.reg())); in EmitNativeCode() 132 RestoreLiveRegisters(codegen, invoke_->GetLocations()); in EmitNativeCode() 149 LocationSummary* res = invoke->GetLocations(); in TryDispatch() 184 MoveFPToInt(invoke->GetLocations(), /* is64bit */ true, GetAssembler()); in VisitDoubleDoubleToRawLongBits() 193 MoveFPToInt(invoke->GetLocations(), /* is64bit */ false, GetAssembler()); in VisitFloatFloatToRawIntBits() 225 MoveIntToFP(invoke->GetLocations(), /* is64bit */ true, GetAssembler()); in VisitDoubleLongBitsToDouble() 234 MoveIntToFP(invoke->GetLocations(), /* is64bit */ false, GetAssembler()); in VisitFloatIntBitsToFloat() 406 GenReverse(invoke->GetLocations(), in VisitIntegerReverseBytes() [all …]
|
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 | 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 | 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() 259 LocationSummary* locations = instruction->GetLocations(); in VisitVecCnv() 277 LocationSummary* locations = instruction->GetLocations(); in VisitVecNeg() 323 instruction->GetLocations()->AddTemp(Location::RequiresFpuRegister()); in VisitVecAbs() 328 LocationSummary* locations = instruction->GetLocations(); in VisitVecAbs() 364 instruction->GetLocations()->AddTemp(Location::RequiresFpuRegister()); in VisitVecNot() 369 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 | 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 VisitVecHalvingAdd() 345 LocationSummary* locations = instruction->GetLocations(); in VisitVecSub() 375 LocationSummary* locations = instruction->GetLocations(); in VisitVecMul() [all …]
|
D | intrinsics_arm_vixl.cc | 96 SaveLiveRegisters(codegen, invoke_->GetLocations()); in EmitNativeCode() 107 Location out = invoke_->GetLocations()->Out(); in EmitNativeCode() 110 DCHECK(!invoke_->GetLocations()->GetLiveRegisters()->ContainsCoreRegister(out.reg())); in EmitNativeCode() 114 RestoreLiveRegisters(codegen, invoke_->GetLocations()); in EmitNativeCode() 183 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 188 DCHECK(instruction_->GetLocations()->Intrinsified()); in EmitNativeCode() 256 LocationSummary* res = invoke->GetLocations(); in TryDispatch() 305 MoveFPToInt(invoke->GetLocations(), /* is64bit */ true, GetAssembler()); in VisitDoubleDoubleToRawLongBits() 308 MoveIntToFP(invoke->GetLocations(), /* is64bit */ true, GetAssembler()); in VisitDoubleLongBitsToDouble() 319 MoveFPToInt(invoke->GetLocations(), /* is64bit */ false, GetAssembler()); in VisitFloatFloatToRawIntBits() [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() 213 DCHECK(!current->GetLocations()->Out().IsValid()); in ComputeLiveRanges() 217 DCHECK(!user->GetLocations()->InAt(index).IsValid()); in ComputeLiveRanges() 399 LocationSummary* locations = user->GetLocations(); in FindFirstRegisterHint() 437 LocationSummary* locations = GetDefinedBy()->GetLocations(); in FindHintAtDefinition() 506 return defined_by->GetLocations()->Out(); in ToLocation()
|
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() 276 LocationSummary* locations = instruction->GetLocations(); in VisitVecCnv() 294 LocationSummary* locations = instruction->GetLocations(); in VisitVecNeg() 340 instruction->GetLocations()->AddTemp(Location::RequiresFpuRegister()); in VisitVecAbs() 345 LocationSummary* locations = instruction->GetLocations(); in VisitVecAbs() 381 instruction->GetLocations()->AddTemp(Location::RequiresFpuRegister()); in VisitVecNot() 386 LocationSummary* locations = instruction->GetLocations(); in VisitVecNot() [all …]
|
D | intrinsics_x86.cc | 64 LocationSummary* res = invoke->GetLocations(); in TryDispatch() 92 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 97 DCHECK(instruction_->GetLocations()->Intrinsified()); in EmitNativeCode() 238 MoveFPToInt(invoke->GetLocations(), /* is64bit */ true, GetAssembler()); in VisitDoubleDoubleToRawLongBits() 241 MoveIntToFP(invoke->GetLocations(), /* is64bit */ true, GetAssembler()); in VisitDoubleLongBitsToDouble() 252 MoveFPToInt(invoke->GetLocations(), /* is64bit */ false, GetAssembler()); in VisitFloatFloatToRawIntBits() 255 MoveIntToFP(invoke->GetLocations(), /* is64bit */ false, GetAssembler()); in VisitFloatIntBitsToFloat() 304 GenReverseBytes(invoke->GetLocations(), DataType::Type::kInt32, GetAssembler()); in VisitIntegerReverseBytes() 312 LocationSummary* locations = invoke->GetLocations(); in VisitLongReverseBytes() 333 GenReverseBytes(invoke->GetLocations(), DataType::Type::kInt16, GetAssembler()); in VisitShortReverseBytes() [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() 446 LocationSummary* locations = instruction->GetLocations(); in VisitVecHalvingAdd() 486 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() 447 LocationSummary* locations = instruction->GetLocations(); in VisitVecHalvingAdd() 487 LocationSummary* locations = instruction->GetLocations(); in VisitVecSub() [all …]
|
D | code_generator_vector_arm64.cc | 72 LocationSummary* locations = instruction->GetLocations(); in VisitVecReplicateScalar() 158 LocationSummary* locations = instruction->GetLocations(); in VisitVecExtractScalar() 213 LocationSummary* locations = instruction->GetLocations(); in VisitVecReduce() 253 LocationSummary* locations = instruction->GetLocations(); in VisitVecCnv() 271 LocationSummary* locations = instruction->GetLocations(); in VisitVecNeg() 312 LocationSummary* locations = instruction->GetLocations(); in VisitVecAbs() 351 LocationSummary* locations = instruction->GetLocations(); in VisitVecNot() 402 LocationSummary* locations = instruction->GetLocations(); in VisitVecAdd() 444 LocationSummary* locations = instruction->GetLocations(); in VisitVecHalvingAdd() 484 LocationSummary* locations = instruction->GetLocations(); in VisitVecSub() [all …]
|
D | code_generator_x86.cc | 67 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode() 131 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 138 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode() 149 Location array_loc = array_length->GetLocations()->InAt(0); in EmitNativeCode() 191 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 228 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 263 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 313 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 382 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 403 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() 116 return FPRegisterFrom(instr->GetLocations()->Out(), instr->GetType()); in OutputFPRegister() 120 return FPRegisterFrom(instr->GetLocations()->InAt(input_index), in InputFPRegisterAt() 175 return OperandFrom(instr->GetLocations()->InAt(input_index), in InputOperandAt()
|
D | code_generator.cc | 111 LocationSummary* locations = instruction->GetLocations(); in CheckTypeConsistency() 539 MoveConstant(invoke->GetLocations()->GetTemp(0), invoke->GetDexMethodIndex()); in GenerateInvokeUnresolvedRuntimeCall() 567 MoveConstant(invoke->GetLocations()->GetTemp(0), static_cast<int32_t>(invoke->GetType())); in GenerateInvokePolymorphicCall() 628 LocationSummary* locations = field_access->GetLocations(); in GenerateUnresolvedFieldAccess() 711 LocationSummary* locations = cls->GetLocations(); in GenerateLoadClassRuntimeCall() 754 LocationSummary* locations = instruction->GetLocations(); in AllocateLocations() 989 LocationSummary* locations = instruction->GetLocations(); in RecordPcInfo() 1138 Location location = current_phi->GetLocations()->Out(); in RecordCatchBlockInfo() 1413 LocationSummary* locations = suspend_check->GetLocations(); in ClearSpillSlotsFromLoopPhisInStackMap() 1447 DCHECK(instruction->GetLocations()->WillCall()) in ValidateInvokeRuntime() [all …]
|
D | code_generator_x86_64.cc | 71 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode() 147 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 185 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 190 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode() 200 Location array_loc = array_length->GetLocations()->InAt(0); in EmitNativeCode() 250 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 299 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 332 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 397 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 418 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 | code_generator_mips64.cc | 123 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 128 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode() 189 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 244 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 283 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode() 306 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 347 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 404 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 424 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 487 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() [all …]
|
D | code_generator_arm_vixl.cc | 121 DCHECK_NE(instruction->GetLocations()->GetTempCount(), 0u); in ExcludeIPAndBakerCcEntrypointRegister() 122 DCHECK(RegisterFrom(instruction->GetLocations()->GetTemp( in ExcludeIPAndBakerCcEntrypointRegister() 123 instruction->GetLocations()->GetTempCount() - 1u)).Is(kBakerCcEntrypointRegister)); in ExcludeIPAndBakerCcEntrypointRegister() 410 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode() 492 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 497 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode() 533 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 584 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 615 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 676 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() [all …]
|
D | code_generator_mips.cc | 171 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 176 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode() 236 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 291 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 327 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode() 350 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 391 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 447 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 467 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 530 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() [all …]
|
D | ssa_liveness_analysis.h | 146 Location location = GetUser()->GetLocations()->InAt(GetInputIndex()); in RequiresRegister() 245 LocationSummary* GetLocations() const { in GetLocations() function 246 return instruction_->GetLocations(); in GetLocations() 306 LocationSummary* locations = instruction->GetLocations(); 590 DCHECK(defined_by_->GetLocations()->Out().IsValid()); in FirstUseAfter() 627 if (safepoint->GetLocations()->WillCall()) return true; in HasWillCallSafepoint() 901 LocationSummary* locations = defined_by_->GetLocations(); in CanUseInputRegister() 950 LocationSummary* locations = defined_by_->GetLocations(); in DefinitionRequiresRegister()
|
D | code_generator_arm64.cc | 257 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 263 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode() 323 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 373 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 408 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode() 431 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 472 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 529 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 549 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 701 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() [all …]
|