Lines Matching refs:locations

78   LocationSummary* locations = instruction->GetLocations();  in CheckTypeConsistency()  local
79 if (locations == nullptr) { in CheckTypeConsistency()
83 if (locations->Out().IsUnallocated() in CheckTypeConsistency()
84 && (locations->Out().GetPolicy() == Location::kSameAsFirstInput)) { in CheckTypeConsistency()
85 DCHECK(CheckType(instruction->GetType(), locations->InAt(0))) in CheckTypeConsistency()
87 << " " << locations->InAt(0); in CheckTypeConsistency()
89 DCHECK(CheckType(instruction->GetType(), locations->Out())) in CheckTypeConsistency()
91 << " " << locations->Out(); in CheckTypeConsistency()
95 DCHECK(CheckType(instruction->InputAt(i)->GetType(), locations->InAt(i))) in CheckTypeConsistency()
97 << " " << locations->InAt(i); in CheckTypeConsistency()
315 LocationSummary* locations = instruction->GetLocations(); in AllocateRegistersLocally() local
316 if (locations == nullptr) return; in AllocateRegistersLocally()
331 for (size_t i = 0, e = locations->GetInputCount(); i < e; ++i) { in AllocateRegistersLocally()
332 BlockIfInRegister(locations->InAt(i)); in AllocateRegistersLocally()
335 for (size_t i = 0, e = locations->GetTempCount(); i < e; ++i) { in AllocateRegistersLocally()
336 Location loc = locations->GetTemp(i); in AllocateRegistersLocally()
339 Location result_location = locations->Out(); in AllocateRegistersLocally()
340 if (locations->OutputCanOverlapWithInputs()) { in AllocateRegistersLocally()
347 for (size_t i = 0, e = locations->GetInputCount(); i < e; ++i) { in AllocateRegistersLocally()
348 Location loc = locations->InAt(i); in AllocateRegistersLocally()
363 locations->SetInAt(i, loc); in AllocateRegistersLocally()
368 for (size_t i = 0, e = locations->GetTempCount(); i < e; ++i) { in AllocateRegistersLocally()
369 Location loc = locations->GetTemp(i); in AllocateRegistersLocally()
386 locations->SetTempAt(i, loc); in AllocateRegistersLocally()
397 result_location = locations->InAt(0); in AllocateRegistersLocally()
400 locations->UpdateOut(result_location); in AllocateRegistersLocally()
434 LocationSummary* locations = instruction->GetLocations(); in AllocateLocations() local
436 if (locations != nullptr && locations->CanCall()) { in AllocateLocations()
674 LocationSummary* locations = instruction->GetLocations(); in RecordPcInfo() local
678 uint32_t register_mask = locations->GetRegisterMask(); in RecordPcInfo()
679 if (locations->OnlyCallsOnSlowPath()) { in RecordPcInfo()
692 locations->GetStackMask(), in RecordPcInfo()
885 LocationSummary* locations = suspend_check->GetLocations(); in ClearSpillSlotsFromLoopPhisInStackMap() local
898 locations->ClearStackBit(interval->GetSpillSlot() / kVRegSize); in ClearSpillSlotsFromLoopPhisInStackMap()
919 void SlowPathCode::SaveLiveRegisters(CodeGenerator* codegen, LocationSummary* locations) { in SaveLiveRegisters() argument
920 RegisterSet* register_set = locations->GetLiveRegisters(); in SaveLiveRegisters()
926 if (locations->RegisterContainsObject(i)) { in SaveLiveRegisters()
927 locations->SetStackBit(stack_offset / kVRegSize); in SaveLiveRegisters()
949 void SlowPathCode::RestoreLiveRegisters(CodeGenerator* codegen, LocationSummary* locations) { in RestoreLiveRegisters() argument
950 RegisterSet* register_set = locations->GetLiveRegisters(); in RestoreLiveRegisters()