Lines Matching refs:locations
132 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() local
142 codegen->EmitParallelMoves(locations->InAt(0), in EmitNativeCode()
145 locations->InAt(1), in EmitNativeCode()
193 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() local
194 Location out = locations->Out(); in EmitNativeCode()
201 SaveLiveRegisters(codegen, locations); in EmitNativeCode()
213 Location source = instruction_->IsLoadClass() ? out : locations->InAt(0); in EmitNativeCode()
225 DCHECK(out.IsRegister() && !locations->GetLiveRegisters()->ContainsCoreRegister(out.reg())); in EmitNativeCode()
231 RestoreLiveRegisters(codegen, locations); in EmitNativeCode()
253 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() local
254 DCHECK(!locations->GetLiveRegisters()->ContainsCoreRegister(locations->Out().reg())); in EmitNativeCode()
259 SaveLiveRegisters(codegen, locations); in EmitNativeCode()
269 mips64_codegen->MoveLocation(locations->Out(), in EmitNativeCode()
272 RestoreLiveRegisters(codegen, locations); in EmitNativeCode()
315 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() local
318 SaveLiveRegisters(codegen, locations); // Only saves live vector registers for SIMD. in EmitNativeCode()
321 RestoreLiveRegisters(codegen, locations); // Only restores live vector registers for SIMD. in EmitNativeCode()
356 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() local
360 || !locations->GetLiveRegisters()->ContainsCoreRegister(locations->Out().reg())); in EmitNativeCode()
365 SaveLiveRegisters(codegen, locations); in EmitNativeCode()
371 codegen->EmitParallelMoves(locations->InAt(0), in EmitNativeCode()
374 locations->InAt(1), in EmitNativeCode()
382 mips64_codegen->MoveLocation(locations->Out(), ret_loc, ret_type); in EmitNativeCode()
390 RestoreLiveRegisters(codegen, locations); in EmitNativeCode()
413 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() local
414 SaveLiveRegisters(codegen, locations); in EmitNativeCode()
433 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() local
435 SaveLiveRegisters(codegen, locations); in EmitNativeCode()
440 locations->InAt(0), in EmitNativeCode()
445 locations->InAt(1), in EmitNativeCode()
450 locations->InAt(2), in EmitNativeCode()
459 RestoreLiveRegisters(codegen, locations); in EmitNativeCode()
496 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() local
498 DCHECK(locations->CanCall()); in EmitNativeCode()
499 DCHECK(!locations->GetLiveRegisters()->ContainsCoreRegister(ref_reg)) << ref_reg; in EmitNativeCode()
591 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() local
593 DCHECK(locations->CanCall()); in EmitNativeCode()
594 DCHECK(!locations->GetLiveRegisters()->ContainsCoreRegister(ref_reg)) << ref_reg; in EmitNativeCode()
749 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() local
752 DCHECK(locations->CanCall()); in EmitNativeCode()
753 DCHECK(!locations->GetLiveRegisters()->ContainsCoreRegister(reg_out)); in EmitNativeCode()
764 SaveLiveRegisters(codegen, locations); in EmitNativeCode()
775 DCHECK(locations->GetLiveRegisters()->ContainsCoreRegister(index_reg)); in EmitNativeCode()
863 RestoreLiveRegisters(codegen, locations); in EmitNativeCode()
913 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() local
916 DCHECK(locations->CanCall()); in EmitNativeCode()
917 DCHECK(!locations->GetLiveRegisters()->ContainsCoreRegister(reg_out)); in EmitNativeCode()
923 SaveLiveRegisters(codegen, locations); in EmitNativeCode()
937 RestoreLiveRegisters(codegen, locations); in EmitNativeCode()
1476 void CodeGeneratorMIPS64::AddLocationAsTemp(Location location, LocationSummary* locations) { in AddLocationAsTemp() argument
1478 locations->AddTemp(location); in AddLocationAsTemp()
1951 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(instruction); in HandleBinaryOp() local
1956 locations->SetInAt(0, Location::RequiresRegister()); in HandleBinaryOp()
1979 locations->SetInAt(1, Location::ConstantLocation(right->AsConstant())); in HandleBinaryOp()
1981 locations->SetInAt(1, Location::RequiresRegister()); in HandleBinaryOp()
1982 locations->SetOut(Location::RequiresRegister(), Location::kNoOutputOverlap); in HandleBinaryOp()
1988 locations->SetInAt(0, Location::RequiresFpuRegister()); in HandleBinaryOp()
1989 locations->SetInAt(1, Location::RequiresFpuRegister()); in HandleBinaryOp()
1990 locations->SetOut(Location::RequiresFpuRegister(), Location::kNoOutputOverlap); in HandleBinaryOp()
2000 LocationSummary* locations = instruction->GetLocations(); in HandleBinaryOp() local
2005 GpuRegister dst = locations->Out().AsRegister<GpuRegister>(); in HandleBinaryOp()
2006 GpuRegister lhs = locations->InAt(0).AsRegister<GpuRegister>(); in HandleBinaryOp()
2007 Location rhs_location = locations->InAt(1); in HandleBinaryOp()
2123 FpuRegister dst = locations->Out().AsFpuRegister<FpuRegister>(); in HandleBinaryOp()
2124 FpuRegister lhs = locations->InAt(0).AsFpuRegister<FpuRegister>(); in HandleBinaryOp()
2125 FpuRegister rhs = locations->InAt(1).AsFpuRegister<FpuRegister>(); in HandleBinaryOp()
2149 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(instr); in HandleShift() local
2154 locations->SetInAt(0, Location::RequiresRegister()); in HandleShift()
2155 locations->SetInAt(1, Location::RegisterOrConstant(instr->InputAt(1))); in HandleShift()
2156 locations->SetOut(Location::RequiresRegister(), Location::kNoOutputOverlap); in HandleShift()
2166 LocationSummary* locations = instr->GetLocations(); in HandleShift() local
2172 GpuRegister dst = locations->Out().AsRegister<GpuRegister>(); in HandleShift()
2173 GpuRegister lhs = locations->InAt(0).AsRegister<GpuRegister>(); in HandleShift()
2174 Location rhs_location = locations->InAt(1); in HandleShift()
2277 LocationSummary* locations = in VisitArrayGet() local
2283 locations->SetCustomSlowPathCallerSaves(RegisterSet::Empty()); // No caller-save registers. in VisitArrayGet()
2285 locations->SetInAt(0, Location::RequiresRegister()); in VisitArrayGet()
2286 locations->SetInAt(1, Location::RegisterOrConstant(instruction->InputAt(1))); in VisitArrayGet()
2288 locations->SetOut(Location::RequiresFpuRegister(), Location::kNoOutputOverlap); in VisitArrayGet()
2293 locations->SetOut(Location::RequiresRegister(), in VisitArrayGet()
2305 locations->AddTemp(Location::RequiresRegister()); in VisitArrayGet()
2318 LocationSummary* locations = instruction->GetLocations(); in VisitArrayGet() local
2319 Location obj_loc = locations->InAt(0); in VisitArrayGet()
2321 Location out_loc = locations->Out(); in VisitArrayGet()
2322 Location index = locations->InAt(1); in VisitArrayGet()
2448 Location temp = temp_needed ? locations->GetTemp(0) : Location::NoLocation(); in VisitArrayGet()
2546 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(instruction); in VisitArrayLength() local
2547 locations->SetInAt(0, Location::RequiresRegister()); in VisitArrayLength()
2548 locations->SetOut(Location::RequiresRegister(), Location::kNoOutputOverlap); in VisitArrayLength()
2552 LocationSummary* locations = instruction->GetLocations(); in VisitArrayLength() local
2554 GpuRegister obj = locations->InAt(0).AsRegister<GpuRegister>(); in VisitArrayLength()
2555 GpuRegister out = locations->Out().AsRegister<GpuRegister>(); in VisitArrayLength()
2590 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary( in VisitArraySet() local
2596 locations->SetInAt(0, Location::RequiresRegister()); in VisitArraySet()
2597 locations->SetInAt(1, Location::RegisterOrConstant(instruction->InputAt(1))); in VisitArraySet()
2599 locations->SetInAt(2, FpuRegisterOrConstantForStore(instruction->InputAt(2))); in VisitArraySet()
2601 locations->SetInAt(2, RegisterOrZeroConstant(instruction->InputAt(2))); in VisitArraySet()
2605 locations->AddTemp(Location::RequiresRegister()); // Possibly used for ref. poisoning too. in VisitArraySet()
2610 LocationSummary* locations = instruction->GetLocations(); in VisitArraySet() local
2611 GpuRegister obj = locations->InAt(0).AsRegister<GpuRegister>(); in VisitArraySet()
2612 Location index = locations->InAt(1); in VisitArraySet()
2613 Location value_location = locations->InAt(2); in VisitArraySet()
2695 GpuRegister temp1 = locations->GetTemp(0).AsRegister<GpuRegister>(); in VisitArraySet()
2855 LocationSummary* locations = codegen_->CreateThrowingSlowPathLocations(instruction, caller_saves); in VisitBoundsCheck() local
2880 locations->SetInAt(0, const_index in VisitBoundsCheck()
2883 locations->SetInAt(1, const_length in VisitBoundsCheck()
2889 LocationSummary* locations = instruction->GetLocations(); in VisitBoundsCheck() local
2890 Location index_loc = locations->InAt(0); in VisitBoundsCheck()
2891 Location length_loc = locations->InAt(1); in VisitBoundsCheck()
2965 LocationSummary* locations = in VisitCheckCast() local
2967 locations->SetInAt(0, Location::RequiresRegister()); in VisitCheckCast()
2969 locations->SetInAt(1, Location::ConstantLocation(instruction->InputAt(1)->AsConstant())); in VisitCheckCast()
2970 locations->SetInAt(2, Location::ConstantLocation(instruction->InputAt(2)->AsConstant())); in VisitCheckCast()
2971 locations->SetInAt(3, Location::ConstantLocation(instruction->InputAt(3)->AsConstant())); in VisitCheckCast()
2973 locations->SetInAt(1, Location::RequiresRegister()); in VisitCheckCast()
2975 locations->AddRegisterTemps(NumberOfCheckCastTemps(type_check_kind)); in VisitCheckCast()
2980 LocationSummary* locations = instruction->GetLocations(); in VisitCheckCast() local
2981 Location obj_loc = locations->InAt(0); in VisitCheckCast()
2983 Location cls = locations->InAt(1); in VisitCheckCast()
2984 Location temp_loc = locations->GetTemp(0); in VisitCheckCast()
2988 Location maybe_temp2_loc = (num_temps >= 2) ? locations->GetTemp(1) : Location::NoLocation(); in VisitCheckCast()
3169 LocationSummary* locations = in VisitClinitCheck() local
3171 locations->SetInAt(0, Location::RequiresRegister()); in VisitClinitCheck()
3173 locations->SetOut(Location::SameAsFirstInput()); in VisitClinitCheck()
3176 locations->SetCustomSlowPathCallerSaves(OneRegInReferenceOutSaveEverythingCallerSaves()); in VisitClinitCheck()
3191 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(compare); in VisitCompare() local
3201 locations->SetInAt(0, Location::RequiresRegister()); in VisitCompare()
3202 locations->SetInAt(1, Location::RegisterOrConstant(compare->InputAt(1))); in VisitCompare()
3203 locations->SetOut(Location::RequiresRegister(), Location::kNoOutputOverlap); in VisitCompare()
3208 locations->SetInAt(0, Location::RequiresFpuRegister()); in VisitCompare()
3209 locations->SetInAt(1, Location::RequiresFpuRegister()); in VisitCompare()
3210 locations->SetOut(Location::RequiresRegister(), Location::kNoOutputOverlap); in VisitCompare()
3219 LocationSummary* locations = instruction->GetLocations(); in VisitCompare() local
3220 GpuRegister res = locations->Out().AsRegister<GpuRegister>(); in VisitCompare()
3234 GpuRegister lhs = locations->InAt(0).AsRegister<GpuRegister>(); in VisitCompare()
3235 Location rhs_location = locations->InAt(1); in VisitCompare()
3262 FpuRegister lhs = locations->InAt(0).AsFpuRegister<FpuRegister>(); in VisitCompare()
3263 FpuRegister rhs = locations->InAt(1).AsFpuRegister<FpuRegister>(); in VisitCompare()
3284 FpuRegister lhs = locations->InAt(0).AsFpuRegister<FpuRegister>(); in VisitCompare()
3285 FpuRegister rhs = locations->InAt(1).AsFpuRegister<FpuRegister>(); in VisitCompare()
3311 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(instruction); in HandleCondition() local
3315 locations->SetInAt(0, Location::RequiresRegister()); in HandleCondition()
3316 locations->SetInAt(1, Location::RegisterOrConstant(instruction->InputAt(1))); in HandleCondition()
3321 locations->SetInAt(0, Location::RequiresFpuRegister()); in HandleCondition()
3322 locations->SetInAt(1, Location::RequiresFpuRegister()); in HandleCondition()
3326 locations->SetOut(Location::RequiresRegister(), Location::kNoOutputOverlap); in HandleCondition()
3336 LocationSummary* locations = instruction->GetLocations(); in HandleCondition() local
3340 GenerateIntLongCompare(instruction->GetCondition(), /* is64bit= */ false, locations); in HandleCondition()
3343 GenerateIntLongCompare(instruction->GetCondition(), /* is64bit= */ true, locations); in HandleCondition()
3347 GenerateFpCompare(instruction->GetCondition(), instruction->IsGtBias(), type, locations); in HandleCondition()
3356 LocationSummary* locations = instruction->GetLocations(); in DivRemOneOrMinusOne() local
3357 Location second = locations->InAt(1); in DivRemOneOrMinusOne()
3360 GpuRegister out = locations->Out().AsRegister<GpuRegister>(); in DivRemOneOrMinusOne()
3361 GpuRegister dividend = locations->InAt(0).AsRegister<GpuRegister>(); in DivRemOneOrMinusOne()
3385 LocationSummary* locations = instruction->GetLocations(); in DivRemByPowerOfTwo() local
3386 Location second = locations->InAt(1); in DivRemByPowerOfTwo()
3389 GpuRegister out = locations->Out().AsRegister<GpuRegister>(); in DivRemByPowerOfTwo()
3390 GpuRegister dividend = locations->InAt(0).AsRegister<GpuRegister>(); in DivRemByPowerOfTwo()
3473 LocationSummary* locations = instruction->GetLocations(); in GenerateDivRemWithAnyConstant() local
3474 Location second = locations->InAt(1); in GenerateDivRemWithAnyConstant()
3477 GpuRegister out = locations->Out().AsRegister<GpuRegister>(); in GenerateDivRemWithAnyConstant()
3478 GpuRegister dividend = locations->InAt(0).AsRegister<GpuRegister>(); in GenerateDivRemWithAnyConstant()
3549 LocationSummary* locations = instruction->GetLocations(); in GenerateDivRemIntegral() local
3550 GpuRegister out = locations->Out().AsRegister<GpuRegister>(); in GenerateDivRemIntegral()
3551 Location second = locations->InAt(1); in GenerateDivRemIntegral()
3566 GpuRegister dividend = locations->InAt(0).AsRegister<GpuRegister>(); in GenerateDivRemIntegral()
3583 LocationSummary* locations = in VisitDiv() local
3588 locations->SetInAt(0, Location::RequiresRegister()); in VisitDiv()
3589 locations->SetInAt(1, Location::RegisterOrConstant(div->InputAt(1))); in VisitDiv()
3590 locations->SetOut(Location::RequiresRegister(), Location::kNoOutputOverlap); in VisitDiv()
3595 locations->SetInAt(0, Location::RequiresFpuRegister()); in VisitDiv()
3596 locations->SetInAt(1, Location::RequiresFpuRegister()); in VisitDiv()
3597 locations->SetOut(Location::RequiresFpuRegister(), Location::kNoOutputOverlap); in VisitDiv()
3607 LocationSummary* locations = instruction->GetLocations(); in VisitDiv() local
3616 FpuRegister dst = locations->Out().AsFpuRegister<FpuRegister>(); in VisitDiv()
3617 FpuRegister lhs = locations->InAt(0).AsFpuRegister<FpuRegister>(); in VisitDiv()
3618 FpuRegister rhs = locations->InAt(1).AsFpuRegister<FpuRegister>(); in VisitDiv()
3631 LocationSummary* locations = codegen_->CreateThrowingSlowPathLocations(instruction); in VisitDivZeroCheck() local
3632 locations->SetInAt(0, Location::RegisterOrConstant(instruction->InputAt(0))); in VisitDivZeroCheck()
3662 LocationSummary* locations = in VisitDoubleConstant() local
3664 locations->SetOut(Location::ConstantLocation(constant)); in VisitDoubleConstant()
3679 LocationSummary* locations = in VisitFloatConstant() local
3681 locations->SetOut(Location::ConstantLocation(constant)); in VisitFloatConstant()
3737 LocationSummary* locations) { in GenerateIntLongCompare() argument
3738 GpuRegister dst = locations->Out().AsRegister<GpuRegister>(); in GenerateIntLongCompare()
3739 GpuRegister lhs = locations->InAt(0).AsRegister<GpuRegister>(); in GenerateIntLongCompare()
3740 Location rhs_location = locations->InAt(1); in GenerateIntLongCompare()
4001 LocationSummary* locations, in GenerateIntLongCompareAndBranch() argument
4003 GpuRegister lhs = locations->InAt(0).AsRegister<GpuRegister>(); in GenerateIntLongCompareAndBranch()
4004 Location rhs_location = locations->InAt(1); in GenerateIntLongCompareAndBranch()
4089 LocationSummary* locations) { in GenerateFpCompare() argument
4090 GpuRegister dst = locations->Out().AsRegister<GpuRegister>(); in GenerateFpCompare()
4091 FpuRegister lhs = locations->InAt(0).AsFpuRegister<FpuRegister>(); in GenerateFpCompare()
4092 FpuRegister rhs = locations->InAt(1).AsFpuRegister<FpuRegister>(); in GenerateFpCompare()
4295 LocationSummary* locations, in GenerateFpCompareAndBranch() argument
4297 FpuRegister lhs = locations->InAt(0).AsFpuRegister<FpuRegister>(); in GenerateFpCompareAndBranch()
4298 FpuRegister rhs = locations->InAt(1).AsFpuRegister<FpuRegister>(); in GenerateFpCompareAndBranch()
4441 LocationSummary* locations = cond->GetLocations(); in GenerateTestAndBranch() local
4452 GenerateIntLongCompareAndBranch(if_cond, /* is64bit= */ false, locations, branch_target); in GenerateTestAndBranch()
4455 GenerateIntLongCompareAndBranch(if_cond, /* is64bit= */ true, locations, branch_target); in GenerateTestAndBranch()
4459 GenerateFpCompareAndBranch(if_cond, condition->IsGtBias(), type, locations, branch_target); in GenerateTestAndBranch()
4472 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(if_instr); in VisitIf() local
4474 locations->SetInAt(0, Location::RequiresRegister()); in VisitIf()
4489 LocationSummary* locations = new (GetGraph()->GetAllocator()) in VisitDeoptimize() local
4494 locations->SetCustomSlowPathCallerSaves(caller_saves); in VisitDeoptimize()
4496 locations->SetInAt(0, Location::RequiresRegister()); in VisitDeoptimize()
4659 LocationSummary* locations = select->GetLocations(); in GenConditionalMove() local
4660 Location dst = locations->Out(); in GenConditionalMove()
4661 Location false_src = locations->InAt(0); in GenConditionalMove()
4662 Location true_src = locations->InAt(1); in GenConditionalMove()
4671 cond_reg = locations->InAt(/* at= */ 2).AsRegister<GpuRegister>(); in GenConditionalMove()
4811 LocationSummary* locations = new (GetGraph()->GetAllocator()) in VisitShouldDeoptimizeFlag() local
4813 locations->SetOut(Location::RequiresRegister()); in VisitShouldDeoptimizeFlag()
4824 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(select); in VisitSelect() local
4825 CanMoveConditionally(select, locations); in VisitSelect()
4832 LocationSummary* locations = select->GetLocations(); in VisitSelect() local
4838 codegen_->MoveLocation(locations->Out(), locations->InAt(1), select->GetType()); in VisitSelect()
4860 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary( in HandleFieldGet() local
4866 locations->SetCustomSlowPathCallerSaves(RegisterSet::Empty()); // No caller-save registers. in HandleFieldGet()
4868 locations->SetInAt(0, Location::RequiresRegister()); in HandleFieldGet()
4870 locations->SetOut(Location::RequiresFpuRegister()); in HandleFieldGet()
4875 locations->SetOut(Location::RequiresRegister(), in HandleFieldGet()
4884 locations->AddTemp(Location::RequiresRegister()); in HandleFieldGet()
4893 LocationSummary* locations = instruction->GetLocations(); in HandleFieldGet() local
4894 Location obj_loc = locations->InAt(0); in HandleFieldGet()
4896 Location dst_loc = locations->Out(); in HandleFieldGet()
4940 kBakerReadBarrierThunksEnableForFields ? Location::NoLocation() : locations->GetTemp(0); in HandleFieldGet()
4980 LocationSummary* locations = in HandleFieldSet() local
4982 locations->SetInAt(0, Location::RequiresRegister()); in HandleFieldSet()
4984 locations->SetInAt(1, FpuRegisterOrConstantForStore(instruction->InputAt(1))); in HandleFieldSet()
4986 locations->SetInAt(1, RegisterOrZeroConstant(instruction->InputAt(1))); in HandleFieldSet()
4994 LocationSummary* locations = instruction->GetLocations(); in HandleFieldSet() local
4995 GpuRegister obj = locations->InAt(0).AsRegister<GpuRegister>(); in HandleFieldSet()
4996 Location value_location = locations->InAt(1); in HandleFieldSet()
5666 LocationSummary* locations = in VisitInstanceOf() local
5669 locations->SetCustomSlowPathCallerSaves(RegisterSet::Empty()); // No caller-save registers. in VisitInstanceOf()
5671 locations->SetInAt(0, Location::RequiresRegister()); in VisitInstanceOf()
5673 locations->SetInAt(1, Location::ConstantLocation(instruction->InputAt(1)->AsConstant())); in VisitInstanceOf()
5674 locations->SetInAt(2, Location::ConstantLocation(instruction->InputAt(2)->AsConstant())); in VisitInstanceOf()
5675 locations->SetInAt(3, Location::ConstantLocation(instruction->InputAt(3)->AsConstant())); in VisitInstanceOf()
5677 locations->SetInAt(1, Location::RequiresRegister()); in VisitInstanceOf()
5681 locations->SetOut(Location::RequiresRegister(), Location::kOutputOverlap); in VisitInstanceOf()
5682 locations->AddRegisterTemps(NumberOfInstanceOfTemps(type_check_kind)); in VisitInstanceOf()
5687 LocationSummary* locations = instruction->GetLocations(); in VisitInstanceOf() local
5688 Location obj_loc = locations->InAt(0); in VisitInstanceOf()
5690 Location cls = locations->InAt(1); in VisitInstanceOf()
5691 Location out_loc = locations->Out(); in VisitInstanceOf()
5695 Location maybe_temp_loc = (num_temps >= 1) ? locations->GetTemp(0) : Location::NoLocation(); in VisitInstanceOf()
5822 DCHECK(locations->OnlyCallsOnSlowPath()); in VisitInstanceOf()
5851 DCHECK(locations->OnlyCallsOnSlowPath()); in VisitInstanceOf()
5882 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(constant); in VisitIntConstant() local
5883 locations->SetOut(Location::ConstantLocation(constant)); in VisitIntConstant()
5891 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(constant); in VisitNullConstant() local
5892 locations->SetOut(Location::ConstantLocation(constant)); in VisitNullConstant()
6157 LocationSummary* locations = invoke->GetLocations(); in VisitInvokeStaticOrDirect() local
6159 locations->HasTemps() in VisitInvokeStaticOrDirect()
6160 ? locations->GetTemp(0) in VisitInvokeStaticOrDirect()
6223 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(cls, call_kind); in VisitLoadClass() local
6225 locations->SetCustomSlowPathCallerSaves(RegisterSet::Empty()); // No caller-save registers. in VisitLoadClass()
6228 locations->SetInAt(0, Location::RequiresRegister()); in VisitLoadClass()
6230 locations->SetOut(Location::RequiresRegister()); in VisitLoadClass()
6234 locations->SetCustomSlowPathCallerSaves(OneRegInReferenceOutSaveEverythingCallerSaves()); in VisitLoadClass()
6251 LocationSummary* locations = cls->GetLocations(); in VisitLoadClass() local
6252 Location out_loc = locations->Out(); in VisitLoadClass()
6257 current_method_reg = locations->InAt(0).AsRegister<GpuRegister>(); in VisitLoadClass()
6376 LocationSummary* locations = in VisitLoadException() local
6378 locations->SetOut(Location::RequiresRegister()); in VisitLoadException()
6397 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(load, call_kind); in VisitLoadString() local
6400 locations->SetOut(Location::RegisterLocation(calling_convention.GetRegisterAt(0))); in VisitLoadString()
6402 locations->SetOut(Location::RequiresRegister()); in VisitLoadString()
6406 locations->SetCustomSlowPathCallerSaves(OneRegInReferenceOutSaveEverythingCallerSaves()); in VisitLoadString()
6418 LocationSummary* locations = load->GetLocations(); in VisitLoadString() local
6419 Location out_loc = locations->Out(); in VisitLoadString()
6493 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(constant); in VisitLongConstant() local
6494 locations->SetOut(Location::ConstantLocation(constant)); in VisitLongConstant()
6502 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary( in VisitMonitorOperation() local
6505 locations->SetInAt(0, Location::RegisterLocation(calling_convention.GetRegisterAt(0))); in VisitMonitorOperation()
6520 LocationSummary* locations = in VisitMul() local
6525 locations->SetInAt(0, Location::RequiresRegister()); in VisitMul()
6526 locations->SetInAt(1, Location::RequiresRegister()); in VisitMul()
6527 locations->SetOut(Location::RequiresRegister(), Location::kNoOutputOverlap); in VisitMul()
6532 locations->SetInAt(0, Location::RequiresFpuRegister()); in VisitMul()
6533 locations->SetInAt(1, Location::RequiresFpuRegister()); in VisitMul()
6534 locations->SetOut(Location::RequiresFpuRegister(), Location::kNoOutputOverlap); in VisitMul()
6544 LocationSummary* locations = instruction->GetLocations(); in VisitMul() local
6549 GpuRegister dst = locations->Out().AsRegister<GpuRegister>(); in VisitMul()
6550 GpuRegister lhs = locations->InAt(0).AsRegister<GpuRegister>(); in VisitMul()
6551 GpuRegister rhs = locations->InAt(1).AsRegister<GpuRegister>(); in VisitMul()
6560 FpuRegister dst = locations->Out().AsFpuRegister<FpuRegister>(); in VisitMul()
6561 FpuRegister lhs = locations->InAt(0).AsFpuRegister<FpuRegister>(); in VisitMul()
6562 FpuRegister rhs = locations->InAt(1).AsFpuRegister<FpuRegister>(); in VisitMul()
6575 LocationSummary* locations = in VisitNeg() local
6580 locations->SetInAt(0, Location::RequiresRegister()); in VisitNeg()
6581 locations->SetOut(Location::RequiresRegister(), Location::kNoOutputOverlap); in VisitNeg()
6586 locations->SetInAt(0, Location::RequiresFpuRegister()); in VisitNeg()
6587 locations->SetOut(Location::RequiresFpuRegister(), Location::kNoOutputOverlap); in VisitNeg()
6597 LocationSummary* locations = instruction->GetLocations(); in VisitNeg() local
6602 GpuRegister dst = locations->Out().AsRegister<GpuRegister>(); in VisitNeg()
6603 GpuRegister src = locations->InAt(0).AsRegister<GpuRegister>(); in VisitNeg()
6612 FpuRegister dst = locations->Out().AsFpuRegister<FpuRegister>(); in VisitNeg()
6613 FpuRegister src = locations->InAt(0).AsFpuRegister<FpuRegister>(); in VisitNeg()
6626 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary( in VisitNewArray() local
6629 locations->SetOut(calling_convention.GetReturnLocation(DataType::Type::kReference)); in VisitNewArray()
6630 locations->SetInAt(0, Location::RegisterLocation(calling_convention.GetRegisterAt(0))); in VisitNewArray()
6631 locations->SetInAt(1, Location::RegisterLocation(calling_convention.GetRegisterAt(1))); in VisitNewArray()
6643 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary( in VisitNewInstance() local
6646 locations->SetInAt(0, Location::RegisterLocation(calling_convention.GetRegisterAt(0))); in VisitNewInstance()
6647 locations->SetOut(calling_convention.GetReturnLocation(DataType::Type::kReference)); in VisitNewInstance()
6656 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(instruction); in VisitNot() local
6657 locations->SetInAt(0, Location::RequiresRegister()); in VisitNot()
6658 locations->SetOut(Location::RequiresRegister(), Location::kNoOutputOverlap); in VisitNot()
6663 LocationSummary* locations = instruction->GetLocations(); in VisitNot() local
6668 GpuRegister dst = locations->Out().AsRegister<GpuRegister>(); in VisitNot()
6669 GpuRegister src = locations->InAt(0).AsRegister<GpuRegister>(); in VisitNot()
6680 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(instruction); in VisitBooleanNot() local
6681 locations->SetInAt(0, Location::RequiresRegister()); in VisitBooleanNot()
6682 locations->SetOut(Location::RequiresRegister(), Location::kNoOutputOverlap); in VisitBooleanNot()
6686 LocationSummary* locations = instruction->GetLocations(); in VisitBooleanNot() local
6687 __ Xori(locations->Out().AsRegister<GpuRegister>(), in VisitBooleanNot()
6688 locations->InAt(0).AsRegister<GpuRegister>(), in VisitBooleanNot()
6693 LocationSummary* locations = codegen_->CreateThrowingSlowPathLocations(instruction); in VisitNullCheck() local
6694 locations->SetInAt(0, Location::RequiresRegister()); in VisitNullCheck()
6745 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(instruction); in VisitParameterValue() local
6752 locations->SetOut(location); in VisitParameterValue()
6761 LocationSummary* locations = in VisitCurrentMethod() local
6763 locations->SetOut(Location::RegisterLocation(kMethodRegisterArgument)); in VisitCurrentMethod()
6772 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(instruction); in VisitPhi() local
6773 for (size_t i = 0, e = locations->GetInputCount(); i < e; ++i) { in VisitPhi()
6774 locations->SetInAt(i, Location::Any()); in VisitPhi()
6776 locations->SetOut(Location::Any()); in VisitPhi()
6788 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(rem, call_kind); in VisitRem() local
6793 locations->SetInAt(0, Location::RequiresRegister()); in VisitRem()
6794 locations->SetInAt(1, Location::RegisterOrConstant(rem->InputAt(1))); in VisitRem()
6795 locations->SetOut(Location::RequiresRegister(), Location::kNoOutputOverlap); in VisitRem()
6801 locations->SetInAt(0, Location::FpuRegisterLocation(calling_convention.GetFpuRegisterAt(0))); in VisitRem()
6802 locations->SetInAt(1, Location::FpuRegisterLocation(calling_convention.GetFpuRegisterAt(1))); in VisitRem()
6803 locations->SetOut(calling_convention.GetReturnLocation(type)); in VisitRem()
6839 LocationSummary* locations = new (allocator) LocationSummary(minmax); in CreateMinMaxLocations() local
6843 locations->SetInAt(0, Location::RequiresRegister()); in CreateMinMaxLocations()
6844 locations->SetInAt(1, Location::RequiresRegister()); in CreateMinMaxLocations()
6845 locations->SetOut(Location::RequiresRegister(), Location::kNoOutputOverlap); in CreateMinMaxLocations()
6849 locations->SetInAt(0, Location::RequiresFpuRegister()); in CreateMinMaxLocations()
6850 locations->SetInAt(1, Location::RequiresFpuRegister()); in CreateMinMaxLocations()
6851 locations->SetOut(Location::RequiresFpuRegister(), Location::kNoOutputOverlap); in CreateMinMaxLocations()
6858 void InstructionCodeGeneratorMIPS64::GenerateMinMaxInt(LocationSummary* locations, bool is_min) { in GenerateMinMaxInt() argument
6859 GpuRegister lhs = locations->InAt(0).AsRegister<GpuRegister>(); in GenerateMinMaxInt()
6860 GpuRegister rhs = locations->InAt(1).AsRegister<GpuRegister>(); in GenerateMinMaxInt()
6861 GpuRegister out = locations->Out().AsRegister<GpuRegister>(); in GenerateMinMaxInt()
6914 void InstructionCodeGeneratorMIPS64::GenerateMinMaxFP(LocationSummary* locations, in GenerateMinMaxFP() argument
6917 FpuRegister a = locations->InAt(0).AsFpuRegister<FpuRegister>(); in GenerateMinMaxFP()
6918 FpuRegister b = locations->InAt(1).AsFpuRegister<FpuRegister>(); in GenerateMinMaxFP()
6919 FpuRegister out = locations->Out().AsFpuRegister<FpuRegister>(); in GenerateMinMaxFP()
7015 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(abs); in VisitAbs() local
7019 locations->SetInAt(0, Location::RequiresRegister()); in VisitAbs()
7020 locations->SetOut(Location::RequiresRegister(), Location::kNoOutputOverlap); in VisitAbs()
7024 locations->SetInAt(0, Location::RequiresFpuRegister()); in VisitAbs()
7025 locations->SetOut(Location::RequiresFpuRegister(), Location::kNoOutputOverlap); in VisitAbs()
7033 LocationSummary* locations = abs->GetLocations(); in VisitAbs() local
7036 GpuRegister in = locations->InAt(0).AsRegister<GpuRegister>(); in VisitAbs()
7037 GpuRegister out = locations->Out().AsRegister<GpuRegister>(); in VisitAbs()
7044 GpuRegister in = locations->InAt(0).AsRegister<GpuRegister>(); in VisitAbs()
7045 GpuRegister out = locations->Out().AsRegister<GpuRegister>(); in VisitAbs()
7052 FpuRegister in = locations->InAt(0).AsFpuRegister<FpuRegister>(); in VisitAbs()
7053 FpuRegister out = locations->Out().AsFpuRegister<FpuRegister>(); in VisitAbs()
7058 FpuRegister in = locations->InAt(0).AsFpuRegister<FpuRegister>(); in VisitAbs()
7059 FpuRegister out = locations->Out().AsFpuRegister<FpuRegister>(); in VisitAbs()
7086 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(ret); in VisitReturn() local
7088 locations->SetInAt(0, Mips64ReturnLocation(return_type)); in VisitReturn()
7220 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary( in VisitSuspendCheck() local
7225 locations->SetCustomSlowPathCallerSaves( in VisitSuspendCheck()
7244 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary( in VisitThrow() local
7247 locations->SetInAt(0, Location::RegisterLocation(calling_convention.GetRegisterAt(0))); in VisitThrow()
7266 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(conversion); in VisitTypeConversion() local
7269 locations->SetInAt(0, Location::RequiresFpuRegister()); in VisitTypeConversion()
7271 locations->SetInAt(0, Location::RequiresRegister()); in VisitTypeConversion()
7275 locations->SetOut(Location::RequiresFpuRegister(), Location::kNoOutputOverlap); in VisitTypeConversion()
7277 locations->SetOut(Location::RequiresRegister(), Location::kNoOutputOverlap); in VisitTypeConversion()
7282 LocationSummary* locations = conversion->GetLocations(); in VisitTypeConversion() local
7290 GpuRegister dst = locations->Out().AsRegister<GpuRegister>(); in VisitTypeConversion()
7291 GpuRegister src = locations->InAt(0).AsRegister<GpuRegister>(); in VisitTypeConversion()
7337 FpuRegister dst = locations->Out().AsFpuRegister<FpuRegister>(); in VisitTypeConversion()
7338 GpuRegister src = locations->InAt(0).AsRegister<GpuRegister>(); in VisitTypeConversion()
7356 GpuRegister dst = locations->Out().AsRegister<GpuRegister>(); in VisitTypeConversion()
7357 FpuRegister src = locations->InAt(0).AsFpuRegister<FpuRegister>(); in VisitTypeConversion()
7376 FpuRegister dst = locations->Out().AsFpuRegister<FpuRegister>(); in VisitTypeConversion()
7377 FpuRegister src = locations->InAt(0).AsFpuRegister<FpuRegister>(); in VisitTypeConversion()
7497 LocationSummary* locations = in VisitPackedSwitch() local
7499 locations->SetInAt(0, Location::RequiresRegister()); in VisitPackedSwitch()
7572 LocationSummary* locations = switch_instr->GetLocations(); in VisitPackedSwitch() local
7573 GpuRegister value_reg = locations->InAt(0).AsRegister<GpuRegister>(); in VisitPackedSwitch()
7593 LocationSummary* locations = in VisitClassTableGet() local
7595 locations->SetInAt(0, Location::RequiresRegister()); in VisitClassTableGet()
7596 locations->SetOut(Location::RequiresRegister()); in VisitClassTableGet()
7600 LocationSummary* locations = instruction->GetLocations(); in VisitClassTableGet() local
7605 locations->Out().AsRegister<GpuRegister>(), in VisitClassTableGet()
7606 locations->InAt(0).AsRegister<GpuRegister>(), in VisitClassTableGet()
7612 locations->Out().AsRegister<GpuRegister>(), in VisitClassTableGet()
7613 locations->InAt(0).AsRegister<GpuRegister>(), in VisitClassTableGet()
7616 locations->Out().AsRegister<GpuRegister>(), in VisitClassTableGet()
7617 locations->Out().AsRegister<GpuRegister>(), in VisitClassTableGet()