Lines Matching refs:locations
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()
303 LocationSummary* locations = new (allocator) LocationSummary(invoke, LocationSummary::kCall); in CreateCommonInvokeLocationSummary() local
307 locations->SetInAt(i, visitor->GetNextLocation(input->GetType())); in CreateCommonInvokeLocationSummary()
310 locations->SetOut(visitor->GetReturnLocation(invoke->GetType())); in CreateCommonInvokeLocationSummary()
316 locations->SetInAt(call->GetSpecialInputIndex(), visitor->GetMethodLocation()); in CreateCommonInvokeLocationSummary()
319 locations->AddTemp(visitor->GetMethodLocation()); in CreateCommonInvokeLocationSummary()
320 locations->SetInAt(call->GetSpecialInputIndex(), Location::RequiresRegister()); in CreateCommonInvokeLocationSummary()
323 locations->AddTemp(visitor->GetMethodLocation()); in CreateCommonInvokeLocationSummary()
327 locations->AddTemp(visitor->GetMethodLocation()); in CreateCommonInvokeLocationSummary()
366 LocationSummary* locations = in CreateUnresolvedFieldLocationSummary() local
369 locations->AddTemp(calling_convention.GetFieldIndexLocation()); in CreateUnresolvedFieldLocationSummary()
373 locations->SetInAt(0, calling_convention.GetObjectLocation()); in CreateUnresolvedFieldLocationSummary()
387 locations->SetOut(calling_convention.GetFpuLocation(field_type)); in CreateUnresolvedFieldLocationSummary()
389 locations->SetOut(calling_convention.GetReturnLocation(field_type)); in CreateUnresolvedFieldLocationSummary()
397 AddLocationAsTemp(calling_convention.GetSetValueLocation(field_type, is_instance), locations); in CreateUnresolvedFieldLocationSummary()
398 locations->SetInAt(set_index, calling_convention.GetFpuLocation(field_type)); in CreateUnresolvedFieldLocationSummary()
400 locations->SetInAt(set_index, in CreateUnresolvedFieldLocationSummary()
412 LocationSummary* locations = field_access->GetLocations(); in GenerateUnresolvedFieldAccess() local
414 MoveConstant(locations->GetTemp(0), field_index); in GenerateUnresolvedFieldAccess()
427 locations->InAt(is_instance ? 1 : 0), in GenerateUnresolvedFieldAccess()
476 MoveLocation(locations->Out(), calling_convention.GetReturnLocation(field_type), field_type); in GenerateUnresolvedFieldAccess()
493 LocationSummary* locations = new (allocator) LocationSummary(cls, call_kind); in CreateLoadClassLocationSummary() local
495 locations->SetInAt(0, Location::NoLocation()); in CreateLoadClassLocationSummary()
496 locations->AddTemp(runtime_type_index_location); in CreateLoadClassLocationSummary()
497 locations->SetOut(runtime_return_location); in CreateLoadClassLocationSummary()
499 locations->SetInAt(0, Location::RequiresRegister()); in CreateLoadClassLocationSummary()
500 locations->SetOut(Location::RequiresRegister()); in CreateLoadClassLocationSummary()
531 LocationSummary* locations = instruction->GetLocations(); in AllocateLocations() local
533 if (locations != nullptr) { in AllocateLocations()
534 if (locations->CanCall()) { in AllocateLocations()
536 } else if (locations->Intrinsified() && in AllocateLocations()
750 LocationSummary* locations = instruction->GetLocations(); in RecordPcInfo() local
752 uint32_t register_mask = locations->GetRegisterMask(); in RecordPcInfo()
753 if (locations->OnlyCallsOnSlowPath()) { in RecordPcInfo()
766 locations->GetStackMask(), in RecordPcInfo()
783 dex_pc, native_pc, register_mask, locations->GetStackMask(), outer_environment_size, 0); in RecordPcInfo()
1121 LocationSummary* locations = suspend_check->GetLocations(); in ClearSpillSlotsFromLoopPhisInStackMap() local
1134 locations->ClearStackBit(interval->GetSpillSlot() / kVRegSize); in ClearSpillSlotsFromLoopPhisInStackMap()
1192 void SlowPathCode::SaveLiveRegisters(CodeGenerator* codegen, LocationSummary* locations) { in SaveLiveRegisters() argument
1193 RegisterSet* live_registers = locations->GetLiveRegisters(); in SaveLiveRegisters()
1200 if (locations->RegisterContainsObject(i)) { in SaveLiveRegisters()
1201 locations->SetStackBit(stack_offset / kVRegSize); in SaveLiveRegisters()
1223 void SlowPathCode::RestoreLiveRegisters(CodeGenerator* codegen, LocationSummary* locations) { in RestoreLiveRegisters() argument
1224 RegisterSet* live_registers = locations->GetLiveRegisters(); in RestoreLiveRegisters()
1286 LocationSummary* locations = new (allocator) LocationSummary(invoke, in CreateSystemArrayCopyLocationSummary() local
1290 locations->SetInAt(0, Location::RequiresRegister()); in CreateSystemArrayCopyLocationSummary()
1291 locations->SetInAt(1, Location::RegisterOrConstant(invoke->InputAt(1))); in CreateSystemArrayCopyLocationSummary()
1292 locations->SetInAt(2, Location::RequiresRegister()); in CreateSystemArrayCopyLocationSummary()
1293 locations->SetInAt(3, Location::RegisterOrConstant(invoke->InputAt(3))); in CreateSystemArrayCopyLocationSummary()
1294 locations->SetInAt(4, Location::RegisterOrConstant(invoke->InputAt(4))); in CreateSystemArrayCopyLocationSummary()
1296 locations->AddTemp(Location::RequiresRegister()); in CreateSystemArrayCopyLocationSummary()
1297 locations->AddTemp(Location::RequiresRegister()); in CreateSystemArrayCopyLocationSummary()
1298 locations->AddTemp(Location::RequiresRegister()); in CreateSystemArrayCopyLocationSummary()