Lines Matching refs:locations

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