Lines Matching refs:locations
110 LocationSummary* locations = instruction->GetLocations(); in CheckTypeConsistency() local
111 if (locations == nullptr) { in CheckTypeConsistency()
115 if (locations->Out().IsUnallocated() in CheckTypeConsistency()
116 && (locations->Out().GetPolicy() == Location::kSameAsFirstInput)) { in CheckTypeConsistency()
117 DCHECK(CheckType(instruction->GetType(), locations->InAt(0))) in CheckTypeConsistency()
119 << " " << locations->InAt(0); in CheckTypeConsistency()
121 DCHECK(CheckType(instruction->GetType(), locations->Out())) in CheckTypeConsistency()
123 << " " << locations->Out(); in CheckTypeConsistency()
128 DCHECK(CheckType(inputs[i]->GetType(), locations->InAt(i))) in CheckTypeConsistency()
129 << inputs[i]->GetType() << " " << locations->InAt(i); in CheckTypeConsistency()
500 LocationSummary* locations = new (allocator) LocationSummary(invoke, in CreateCommonInvokeLocationSummary() local
505 locations->SetInAt(i, visitor->GetNextLocation(input->GetType())); in CreateCommonInvokeLocationSummary()
508 locations->SetOut(visitor->GetReturnLocation(invoke->GetType())); in CreateCommonInvokeLocationSummary()
514 locations->SetInAt(call->GetSpecialInputIndex(), visitor->GetMethodLocation()); in CreateCommonInvokeLocationSummary()
517 locations->AddTemp(visitor->GetMethodLocation()); in CreateCommonInvokeLocationSummary()
518 locations->SetInAt(call->GetSpecialInputIndex(), Location::RequiresRegister()); in CreateCommonInvokeLocationSummary()
521 locations->AddTemp(visitor->GetMethodLocation()); in CreateCommonInvokeLocationSummary()
525 locations->AddTemp(visitor->GetMethodLocation()); in CreateCommonInvokeLocationSummary()
612 LocationSummary* locations = in CreateUnresolvedFieldLocationSummary() local
615 locations->AddTemp(calling_convention.GetFieldIndexLocation()); in CreateUnresolvedFieldLocationSummary()
619 locations->SetInAt(0, calling_convention.GetObjectLocation()); in CreateUnresolvedFieldLocationSummary()
633 locations->SetOut(calling_convention.GetFpuLocation(field_type)); in CreateUnresolvedFieldLocationSummary()
635 locations->SetOut(calling_convention.GetReturnLocation(field_type)); in CreateUnresolvedFieldLocationSummary()
643 AddLocationAsTemp(calling_convention.GetSetValueLocation(field_type, is_instance), locations); in CreateUnresolvedFieldLocationSummary()
644 locations->SetInAt(set_index, calling_convention.GetFpuLocation(field_type)); in CreateUnresolvedFieldLocationSummary()
646 locations->SetInAt(set_index, in CreateUnresolvedFieldLocationSummary()
658 LocationSummary* locations = field_access->GetLocations(); in GenerateUnresolvedFieldAccess() local
660 MoveConstant(locations->GetTemp(0), field_index); in GenerateUnresolvedFieldAccess()
673 locations->InAt(is_instance ? 1 : 0), in GenerateUnresolvedFieldAccess()
723 MoveLocation(locations->Out(), calling_convention.GetReturnLocation(field_type), field_type); in GenerateUnresolvedFieldAccess()
732 LocationSummary* locations = new (cls->GetBlock()->GetGraph()->GetAllocator()) LocationSummary( in CreateLoadClassRuntimeCallLocationSummary() local
734 locations->SetInAt(0, Location::NoLocation()); in CreateLoadClassRuntimeCallLocationSummary()
735 locations->AddTemp(runtime_type_index_location); in CreateLoadClassRuntimeCallLocationSummary()
736 locations->SetOut(runtime_return_location); in CreateLoadClassRuntimeCallLocationSummary()
742 LocationSummary* locations = cls->GetLocations(); in GenerateLoadClassRuntimeCall() local
743 MoveConstant(locations->GetTemp(0), cls->GetTypeIndex().index_); in GenerateLoadClassRuntimeCall()
758 LocationSummary* locations = in CreateLoadMethodHandleRuntimeCallLocationSummary() local
761 locations->SetInAt(0, Location::NoLocation()); in CreateLoadMethodHandleRuntimeCallLocationSummary()
762 locations->AddTemp(runtime_proto_index_location); in CreateLoadMethodHandleRuntimeCallLocationSummary()
763 locations->SetOut(runtime_return_location); in CreateLoadMethodHandleRuntimeCallLocationSummary()
767 LocationSummary* locations = method_handle->GetLocations(); in GenerateLoadMethodHandleRuntimeCall() local
768 MoveConstant(locations->GetTemp(0), method_handle->GetMethodHandleIndex()); in GenerateLoadMethodHandleRuntimeCall()
778 LocationSummary* locations = in CreateLoadMethodTypeRuntimeCallLocationSummary() local
781 locations->SetInAt(0, Location::NoLocation()); in CreateLoadMethodTypeRuntimeCallLocationSummary()
782 locations->AddTemp(runtime_proto_index_location); in CreateLoadMethodTypeRuntimeCallLocationSummary()
783 locations->SetOut(runtime_return_location); in CreateLoadMethodTypeRuntimeCallLocationSummary()
787 LocationSummary* locations = method_type->GetLocations(); in GenerateLoadMethodTypeRuntimeCall() local
788 MoveConstant(locations->GetTemp(0), method_type->GetProtoIndex().index_); in GenerateLoadMethodTypeRuntimeCall()
863 LocationSummary* locations = instruction->GetLocations(); in AllocateLocations() local
865 if (locations != nullptr) { in AllocateLocations()
866 if (locations->CanCall()) { in AllocateLocations()
868 } else if (locations->Intrinsified() && in AllocateLocations()
1078 LocationSummary* locations = instruction->GetLocations(); in RecordPcInfo() local
1079 uint32_t register_mask = locations->GetRegisterMask(); in RecordPcInfo()
1080 DCHECK_EQ(register_mask & ~locations->GetLiveRegisters()->GetCoreRegisters(), 0u); in RecordPcInfo()
1081 if (locations->OnlyCallsOnSlowPath()) { in RecordPcInfo()
1087 uint32_t spills = GetSlowPathSpills(locations, /* core_registers= */ true); in RecordPcInfo()
1120 locations->GetStackMask(), in RecordPcInfo()
1422 LocationSummary* locations = in CreateThrowingSlowPathLocations() local
1425 locations->SetCustomSlowPathCallerSaves(caller_saves); // Default: no caller-save registers. in CreateThrowingSlowPathLocations()
1428 return locations; in CreateThrowingSlowPathLocations()
1443 LocationSummary* locations = suspend_check->GetLocations(); in ClearSpillSlotsFromLoopPhisInStackMap() local
1455 locations->ClearStackBit(dest.GetStackIndex() / kVRegSize); in ClearSpillSlotsFromLoopPhisInStackMap()
1554 void SlowPathCode::SaveLiveRegisters(CodeGenerator* codegen, LocationSummary* locations) { in SaveLiveRegisters() argument
1557 const uint32_t core_spills = codegen->GetSlowPathSpills(locations, /* core_registers= */ true); in SaveLiveRegisters()
1560 if (locations->RegisterContainsObject(i)) { in SaveLiveRegisters()
1561 locations->SetStackBit(stack_offset / kVRegSize); in SaveLiveRegisters()
1569 const uint32_t fp_spills = codegen->GetSlowPathSpills(locations, /* core_registers= */ false); in SaveLiveRegisters()
1578 void SlowPathCode::RestoreLiveRegisters(CodeGenerator* codegen, LocationSummary* locations) { in RestoreLiveRegisters() argument
1581 const uint32_t core_spills = codegen->GetSlowPathSpills(locations, /* core_registers= */ true); in RestoreLiveRegisters()
1588 const uint32_t fp_spills = codegen->GetSlowPathSpills(locations, /* core_registers= */ false); in RestoreLiveRegisters()
1634 LocationSummary* locations = new (allocator) LocationSummary(invoke, in CreateSystemArrayCopyLocationSummary() local
1638 locations->SetInAt(0, Location::RequiresRegister()); in CreateSystemArrayCopyLocationSummary()
1639 locations->SetInAt(1, Location::RegisterOrConstant(invoke->InputAt(1))); in CreateSystemArrayCopyLocationSummary()
1640 locations->SetInAt(2, Location::RequiresRegister()); in CreateSystemArrayCopyLocationSummary()
1641 locations->SetInAt(3, Location::RegisterOrConstant(invoke->InputAt(3))); in CreateSystemArrayCopyLocationSummary()
1642 locations->SetInAt(4, Location::RegisterOrConstant(invoke->InputAt(4))); in CreateSystemArrayCopyLocationSummary()
1644 locations->AddTemp(Location::RequiresRegister()); in CreateSystemArrayCopyLocationSummary()
1645 locations->AddTemp(Location::RequiresRegister()); in CreateSystemArrayCopyLocationSummary()
1646 locations->AddTemp(Location::RequiresRegister()); in CreateSystemArrayCopyLocationSummary()