Lines Matching refs:locations
130 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() local
131 DCHECK(locations->CanCall()); in EmitNativeCode()
142 Location dest_pos = locations->InAt(3); in EmitNativeCode()
143 vixl32::Register src_curr_addr = RegisterFrom(locations->GetTemp(0)); in EmitNativeCode()
144 vixl32::Register dst_curr_addr = RegisterFrom(locations->GetTemp(1)); in EmitNativeCode()
145 vixl32::Register src_stop_addr = RegisterFrom(locations->GetTemp(2)); in EmitNativeCode()
146 vixl32::Register tmp = RegisterFrom(locations->GetTemp(3)); in EmitNativeCode()
211 LocationSummary* locations = in CreateFPToIntLocations() local
213 locations->SetInAt(0, Location::RequiresFpuRegister()); in CreateFPToIntLocations()
214 locations->SetOut(Location::RequiresRegister()); in CreateFPToIntLocations()
218 LocationSummary* locations = in CreateIntToFPLocations() local
220 locations->SetInAt(0, Location::RequiresRegister()); in CreateIntToFPLocations()
221 locations->SetOut(Location::RequiresFpuRegister()); in CreateIntToFPLocations()
224 static void MoveFPToInt(LocationSummary* locations, bool is64bit, ArmVIXLAssembler* assembler) { in MoveFPToInt() argument
225 Location input = locations->InAt(0); in MoveFPToInt()
226 Location output = locations->Out(); in MoveFPToInt()
234 static void MoveIntToFP(LocationSummary* locations, bool is64bit, ArmVIXLAssembler* assembler) { in MoveIntToFP() argument
235 Location input = locations->InAt(0); in MoveIntToFP()
236 Location output = locations->Out(); in MoveIntToFP()
273 LocationSummary* locations = in CreateIntToIntLocations() local
275 locations->SetInAt(0, Location::RequiresRegister()); in CreateIntToIntLocations()
276 locations->SetOut(Location::RequiresRegister(), Location::kNoOutputOverlap); in CreateIntToIntLocations()
280 LocationSummary* locations = in CreateIntIntToIntSlowPathCallLocations() local
282 locations->SetInAt(0, Location::RequiresRegister()); in CreateIntIntToIntSlowPathCallLocations()
283 locations->SetInAt(1, Location::RequiresRegister()); in CreateIntIntToIntSlowPathCallLocations()
285 locations->SetOut(Location::RequiresRegister(), Location::kOutputOverlap); in CreateIntIntToIntSlowPathCallLocations()
289 LocationSummary* locations = in CreateLongToLongLocationsWithOverlap() local
291 locations->SetInAt(0, Location::RequiresRegister()); in CreateLongToLongLocationsWithOverlap()
292 locations->SetOut(Location::RequiresRegister(), Location::kOutputOverlap); in CreateLongToLongLocationsWithOverlap()
296 LocationSummary* locations = in CreateFPToFPLocations() local
298 locations->SetInAt(0, Location::RequiresFpuRegister()); in CreateFPToFPLocations()
299 locations->SetOut(Location::RequiresFpuRegister(), Location::kNoOutputOverlap); in CreateFPToFPLocations()
306 LocationSummary* locations = invoke->GetLocations(); in GenNumberOfLeadingZeros() local
307 Location in = locations->InAt(0); in GenNumberOfLeadingZeros()
308 vixl32::Register out = RegisterFrom(locations->Out()); in GenNumberOfLeadingZeros()
351 LocationSummary* locations = invoke->GetLocations(); in GenNumberOfTrailingZeros() local
352 vixl32::Register out = RegisterFrom(locations->Out()); in GenNumberOfTrailingZeros()
355 vixl32::Register in_reg_lo = LowRegisterFrom(locations->InAt(0)); in GenNumberOfTrailingZeros()
356 vixl32::Register in_reg_hi = HighRegisterFrom(locations->InAt(0)); in GenNumberOfTrailingZeros()
369 vixl32::Register in = RegisterFrom(locations->InAt(0)); in GenNumberOfTrailingZeros()
414 LocationSummary* locations = in VisitMathRoundFloat() local
416 locations->SetInAt(0, Location::RequiresFpuRegister()); in VisitMathRoundFloat()
417 locations->SetOut(Location::RequiresRegister()); in VisitMathRoundFloat()
418 locations->AddTemp(Location::RequiresFpuRegister()); in VisitMathRoundFloat()
515 LocationSummary* locations = in CreateIntIntToVoidLocations() local
517 locations->SetInAt(0, Location::RequiresRegister()); in CreateIntIntToVoidLocations()
518 locations->SetInAt(1, Location::RequiresRegister()); in CreateIntIntToVoidLocations()
563 LocationSummary* locations = in VisitThreadCurrentThread() local
565 locations->SetOut(Location::RequiresRegister()); in VisitThreadCurrentThread()
576 LocationSummary* locations = in VisitStringCompareTo() local
582 locations->SetInAt(0, Location::RequiresRegister()); in VisitStringCompareTo()
583 locations->SetInAt(1, Location::RequiresRegister()); in VisitStringCompareTo()
584 locations->AddTemp(Location::RequiresRegister()); in VisitStringCompareTo()
585 locations->AddTemp(Location::RequiresRegister()); in VisitStringCompareTo()
586 locations->AddTemp(Location::RequiresRegister()); in VisitStringCompareTo()
589 locations->AddTemp(Location::RequiresRegister()); in VisitStringCompareTo()
591 locations->SetOut(Location::RequiresRegister(), Location::kOutputOverlap); in VisitStringCompareTo()
607 LocationSummary* locations = invoke->GetLocations(); in VisitStringCompareTo() local
613 const vixl32::Register temp0 = RegisterFrom(locations->GetTemp(0)); in VisitStringCompareTo()
614 const vixl32::Register temp1 = RegisterFrom(locations->GetTemp(1)); in VisitStringCompareTo()
615 const vixl32::Register temp2 = RegisterFrom(locations->GetTemp(2)); in VisitStringCompareTo()
618 temp3 = RegisterFrom(locations->GetTemp(3)); in VisitStringCompareTo()
704 LocationSummary* locations = invoke->GetLocations(); in GenerateStringCompareToLoop() local
710 const vixl32::Register temp0 = RegisterFrom(locations->GetTemp(0)); in GenerateStringCompareToLoop()
711 const vixl32::Register temp1 = RegisterFrom(locations->GetTemp(1)); in GenerateStringCompareToLoop()
712 const vixl32::Register temp2 = RegisterFrom(locations->GetTemp(2)); in GenerateStringCompareToLoop()
715 temp3 = RegisterFrom(locations->GetTemp(3)); in GenerateStringCompareToLoop()
893 LocationSummary* locations = in VisitStringEquals() local
896 locations->SetInAt(0, Location::RequiresRegister()); in VisitStringEquals()
897 locations->SetInAt(1, Location::RequiresRegister()); in VisitStringEquals()
901 locations->AddTemp(LocationFrom(r0)); in VisitStringEquals()
915 locations->AddTemp(Location::RequiresRegister()); in VisitStringEquals()
921 locations->SetOut(Location::RequiresRegister()); in VisitStringEquals()
926 LocationSummary* locations = invoke->GetLocations(); in VisitStringEquals() local
932 vixl32::Register temp = RegisterFrom(locations->GetTemp(0)); in VisitStringEquals()
1022 vixl32::Register temp1 = RegisterFrom(locations->GetTemp(1)); in VisitStringEquals()
1057 vixl32::Register temp1 = RegisterFrom(locations->GetTemp(1)); in VisitStringEquals()
1095 LocationSummary* locations = invoke->GetLocations(); in GenerateVisitStringIndexOf() local
1125 vixl32::Register tmp_reg = RegisterFrom(locations->GetTemp(0)); in GenerateVisitStringIndexOf()
1140 LocationSummary* locations = new (allocator_) LocationSummary( in VisitStringIndexOf() local
1145 locations->SetInAt(0, LocationFrom(calling_convention.GetRegisterAt(0))); in VisitStringIndexOf()
1146 locations->SetInAt(1, LocationFrom(calling_convention.GetRegisterAt(1))); in VisitStringIndexOf()
1147 locations->SetOut(LocationFrom(r0)); in VisitStringIndexOf()
1150 locations->AddTemp(LocationFrom(calling_convention.GetRegisterAt(2))); in VisitStringIndexOf()
1158 LocationSummary* locations = new (allocator_) LocationSummary( in VisitStringIndexOfAfter() local
1163 locations->SetInAt(0, LocationFrom(calling_convention.GetRegisterAt(0))); in VisitStringIndexOfAfter()
1164 locations->SetInAt(1, LocationFrom(calling_convention.GetRegisterAt(1))); in VisitStringIndexOfAfter()
1165 locations->SetInAt(2, LocationFrom(calling_convention.GetRegisterAt(2))); in VisitStringIndexOfAfter()
1166 locations->SetOut(LocationFrom(r0)); in VisitStringIndexOfAfter()
1174 LocationSummary* locations = new (allocator_) LocationSummary( in VisitStringNewStringFromBytes() local
1177 locations->SetInAt(0, LocationFrom(calling_convention.GetRegisterAt(0))); in VisitStringNewStringFromBytes()
1178 locations->SetInAt(1, LocationFrom(calling_convention.GetRegisterAt(1))); in VisitStringNewStringFromBytes()
1179 locations->SetInAt(2, LocationFrom(calling_convention.GetRegisterAt(2))); in VisitStringNewStringFromBytes()
1180 locations->SetInAt(3, LocationFrom(calling_convention.GetRegisterAt(3))); in VisitStringNewStringFromBytes()
1181 locations->SetOut(LocationFrom(r0)); in VisitStringNewStringFromBytes()
1199 LocationSummary* locations = in VisitStringNewStringFromChars() local
1202 locations->SetInAt(0, LocationFrom(calling_convention.GetRegisterAt(0))); in VisitStringNewStringFromChars()
1203 locations->SetInAt(1, LocationFrom(calling_convention.GetRegisterAt(1))); in VisitStringNewStringFromChars()
1204 locations->SetInAt(2, LocationFrom(calling_convention.GetRegisterAt(2))); in VisitStringNewStringFromChars()
1205 locations->SetOut(LocationFrom(r0)); in VisitStringNewStringFromChars()
1220 LocationSummary* locations = new (allocator_) LocationSummary( in VisitStringNewStringFromString() local
1223 locations->SetInAt(0, LocationFrom(calling_convention.GetRegisterAt(0))); in VisitStringNewStringFromString()
1224 locations->SetOut(LocationFrom(r0)); in VisitStringNewStringFromString()
1250 LocationSummary* locations = invoke->GetLocations(); in VisitSystemArrayCopy() local
1251 if (locations == nullptr) { in VisitSystemArrayCopy()
1260 locations->SetInAt(1, Location::RequiresRegister()); in VisitSystemArrayCopy()
1263 locations->SetInAt(3, Location::RequiresRegister()); in VisitSystemArrayCopy()
1266 locations->SetInAt(4, Location::RequiresRegister()); in VisitSystemArrayCopy()
1273 locations->AddTemp(Location::RequiresRegister()); in VisitSystemArrayCopy()
1345 LocationSummary* locations = invoke->GetLocations(); in VisitSystemArrayCopy() local
1354 Location src_pos = locations->InAt(1); in VisitSystemArrayCopy()
1356 Location dest_pos = locations->InAt(3); in VisitSystemArrayCopy()
1357 Location length = locations->InAt(4); in VisitSystemArrayCopy()
1358 Location temp1_loc = locations->GetTemp(0); in VisitSystemArrayCopy()
1360 Location temp2_loc = locations->GetTemp(1); in VisitSystemArrayCopy()
1362 Location temp3_loc = locations->GetTemp(2); in VisitSystemArrayCopy()
1745 LocationSummary* const locations = in CreateFPToFPCallLocations() local
1749 locations->SetInAt(0, Location::RequiresFpuRegister()); in CreateFPToFPCallLocations()
1750 locations->SetOut(Location::RequiresFpuRegister()); in CreateFPToFPCallLocations()
1752 locations->AddTemp(LocationFrom(calling_convention.GetRegisterAt(0))); in CreateFPToFPCallLocations()
1753 locations->AddTemp(LocationFrom(calling_convention.GetRegisterAt(1))); in CreateFPToFPCallLocations()
1771 LocationSummary* const locations = in CreateFPFPToFPCallLocations() local
1775 locations->SetInAt(0, Location::RequiresFpuRegister()); in CreateFPFPToFPCallLocations()
1776 locations->SetInAt(1, Location::RequiresFpuRegister()); in CreateFPFPToFPCallLocations()
1777 locations->SetOut(Location::RequiresFpuRegister()); in CreateFPFPToFPCallLocations()
1779 locations->AddTemp(LocationFrom(calling_convention.GetRegisterAt(0))); in CreateFPFPToFPCallLocations()
1780 locations->AddTemp(LocationFrom(calling_convention.GetRegisterAt(1))); in CreateFPFPToFPCallLocations()
1781 locations->AddTemp(LocationFrom(calling_convention.GetRegisterAt(2))); in CreateFPFPToFPCallLocations()
1782 locations->AddTemp(LocationFrom(calling_convention.GetRegisterAt(3))); in CreateFPFPToFPCallLocations()
1789 LocationSummary* const locations = invoke->GetLocations(); in GenFPToFPCall() local
1792 DCHECK(locations->WillCall() && locations->Intrinsified()); in GenFPToFPCall()
1795 __ Vmov(RegisterFrom(locations->GetTemp(0)), in GenFPToFPCall()
1796 RegisterFrom(locations->GetTemp(1)), in GenFPToFPCall()
1800 RegisterFrom(locations->GetTemp(0)), in GenFPToFPCall()
1801 RegisterFrom(locations->GetTemp(1))); in GenFPToFPCall()
1808 LocationSummary* const locations = invoke->GetLocations(); in GenFPFPToFPCall() local
1811 DCHECK(locations->WillCall() && locations->Intrinsified()); in GenFPFPToFPCall()
1814 __ Vmov(RegisterFrom(locations->GetTemp(0)), in GenFPFPToFPCall()
1815 RegisterFrom(locations->GetTemp(1)), in GenFPFPToFPCall()
1817 __ Vmov(RegisterFrom(locations->GetTemp(2)), in GenFPFPToFPCall()
1818 RegisterFrom(locations->GetTemp(3)), in GenFPFPToFPCall()
1822 RegisterFrom(locations->GetTemp(0)), in GenFPFPToFPCall()
1823 RegisterFrom(locations->GetTemp(1))); in GenFPFPToFPCall()
1985 LocationSummary* locations = invoke->GetLocations(); in VisitLongReverse() local
1987 vixl32::Register in_reg_lo = LowRegisterFrom(locations->InAt(0)); in VisitLongReverse()
1988 vixl32::Register in_reg_hi = HighRegisterFrom(locations->InAt(0)); in VisitLongReverse()
1989 vixl32::Register out_reg_lo = LowRegisterFrom(locations->Out()); in VisitLongReverse()
1990 vixl32::Register out_reg_hi = HighRegisterFrom(locations->Out()); in VisitLongReverse()
2041 LocationSummary* locations = invoke->GetLocations(); in VisitIntegerReverseBytes() local
2042 GenerateReverseBytes(assembler, DataType::Type::kInt32, locations->InAt(0), locations->Out()); in VisitIntegerReverseBytes()
2051 LocationSummary* locations = invoke->GetLocations(); in VisitLongReverseBytes() local
2052 GenerateReverseBytes(assembler, DataType::Type::kInt64, locations->InAt(0), locations->Out()); in VisitLongReverseBytes()
2061 LocationSummary* locations = invoke->GetLocations(); in VisitShortReverseBytes() local
2062 GenerateReverseBytes(assembler, DataType::Type::kInt16, locations->InAt(0), locations->Out()); in VisitShortReverseBytes()
2071 LocationSummary* locations = instr->GetLocations(); in GenBitCount() local
2072 Location in = locations->InAt(0); in GenBitCount()
2075 vixl32::SRegister tmp_s = LowSRegisterFrom(locations->GetTemp(0)); in GenBitCount()
2076 vixl32::DRegister tmp_d = DRegisterFrom(locations->GetTemp(0)); in GenBitCount()
2120 LocationSummary* locations = invoke->GetLocations(); in GenHighestOneBit() local
2121 Location in = locations->InAt(0); in GenHighestOneBit()
2122 Location out = locations->Out(); in GenHighestOneBit()
2186 LocationSummary* locations = invoke->GetLocations(); in GenLowestOneBit() local
2187 Location in = locations->InAt(0); in GenLowestOneBit()
2188 Location out = locations->Out(); in GenLowestOneBit()
2242 LocationSummary* locations = in VisitStringGetCharsNoCheck() local
2244 locations->SetInAt(0, Location::RequiresRegister()); in VisitStringGetCharsNoCheck()
2245 locations->SetInAt(1, Location::RequiresRegister()); in VisitStringGetCharsNoCheck()
2246 locations->SetInAt(2, Location::RequiresRegister()); in VisitStringGetCharsNoCheck()
2247 locations->SetInAt(3, Location::RequiresRegister()); in VisitStringGetCharsNoCheck()
2248 locations->SetInAt(4, Location::RequiresRegister()); in VisitStringGetCharsNoCheck()
2251 locations->AddTemp(Location::RequiresRegister()); in VisitStringGetCharsNoCheck()
2252 locations->AddTemp(Location::RequiresRegister()); in VisitStringGetCharsNoCheck()
2253 locations->AddTemp(Location::RequiresRegister()); in VisitStringGetCharsNoCheck()
2258 LocationSummary* locations = invoke->GetLocations(); in VisitStringGetCharsNoCheck() local
2278 vixl32::Register num_chr = RegisterFrom(locations->GetTemp(0)); in VisitStringGetCharsNoCheck()
2279 vixl32::Register src_ptr = RegisterFrom(locations->GetTemp(1)); in VisitStringGetCharsNoCheck()
2280 vixl32::Register dst_ptr = RegisterFrom(locations->GetTemp(2)); in VisitStringGetCharsNoCheck()
2448 LocationSummary* locations = invoke->GetLocations(); in VisitIntegerValueOf() local
2451 vixl32::Register out = RegisterFrom(locations->Out()); in VisitIntegerValueOf()
2467 DCHECK(locations->CanCall()); in VisitIntegerValueOf()
2478 DCHECK(locations->CanCall()); in VisitIntegerValueOf()
2479 vixl32::Register in = RegisterFrom(locations->InAt(0)); in VisitIntegerValueOf()
2487 codegen_->LoadFromShiftedRegOffset(DataType::Type::kReference, locations->Out(), temp, out); in VisitIntegerValueOf()
2506 LocationSummary* locations = invoke->GetLocations(); in VisitReferenceGetReferent() local
2508 Location obj = locations->InAt(0); in VisitReferenceGetReferent()
2509 Location out = locations->Out(); in VisitReferenceGetReferent()
2567 LocationSummary* locations = invoke->GetLocations(); in VisitReferenceRefersTo() local
2571 vixl32::Register obj = RegisterFrom(locations->InAt(0)); in VisitReferenceRefersTo()
2572 vixl32::Register other = RegisterFrom(locations->InAt(1)); in VisitReferenceRefersTo()
2573 vixl32::Register out = RegisterFrom(locations->Out()); in VisitReferenceRefersTo()
2626 LocationSummary* locations = in VisitThreadInterrupted() local
2628 locations->SetOut(Location::RequiresRegister()); in VisitThreadInterrupted()
2651 LocationSummary* locations = in VisitReachabilityFence() local
2653 locations->SetInAt(0, Location::Any()); in VisitReachabilityFence()
2664 LocationSummary* locations = invoke->GetLocations(); in VisitIntegerDivideUnsigned() local
2665 vixl32::Register dividend = RegisterFrom(locations->InAt(0)); in VisitIntegerDivideUnsigned()
2666 vixl32::Register divisor = RegisterFrom(locations->InAt(1)); in VisitIntegerDivideUnsigned()
2667 vixl32::Register out = RegisterFrom(locations->Out()); in VisitIntegerDivideUnsigned()
2795 LocationSummary* locations = in CreateUnsafeGetLocations() local
2802 locations->SetCustomSlowPathCallerSaves(RegisterSet::Empty()); // No caller-save registers. in CreateUnsafeGetLocations()
2804 locations->SetInAt(0, Location::NoLocation()); // Unused receiver. in CreateUnsafeGetLocations()
2805 locations->SetInAt(1, Location::RequiresRegister()); in CreateUnsafeGetLocations()
2806 locations->SetInAt(2, Location::RequiresRegister()); in CreateUnsafeGetLocations()
2807 locations->SetOut(Location::RequiresRegister(), in CreateUnsafeGetLocations()
2814 locations->AddTemp(Location::RequiresRegister()); in CreateUnsafeGetLocations()
2823 LocationSummary* locations = invoke->GetLocations(); in GenUnsafeGet() local
2825 vixl32::Register offset = LowRegisterFrom(locations->InAt(2)); // Long offset, lo part only. in GenUnsafeGet()
2826 Location out = locations->Out(); in GenUnsafeGet()
2830 maybe_temp = locations->GetTemp(0); in GenUnsafeGet()
2991 LocationSummary* locations = in CreateUnsafePutLocations() local
2993 locations->SetInAt(0, Location::NoLocation()); // Unused receiver. in CreateUnsafePutLocations()
2994 locations->SetInAt(1, Location::RequiresRegister()); in CreateUnsafePutLocations()
2995 locations->SetInAt(2, Location::RequiresRegister()); in CreateUnsafePutLocations()
2996 locations->SetInAt(3, Location::RequiresRegister()); in CreateUnsafePutLocations()
3001 locations->AddTemp(Location::RequiresRegister()); // Temp_lo. in CreateUnsafePutLocations()
3002 locations->AddTemp(Location::RequiresRegister()); // Temp_hi. in CreateUnsafePutLocations()
3006 locations->AddTemp(Location::RequiresRegister()); // Temp. in CreateUnsafePutLocations()
3017 LocationSummary* locations = invoke->GetLocations(); in GenUnsafePut() local
3018 vixl32::Register base = RegisterFrom(locations->InAt(1)); // Object pointer. in GenUnsafePut()
3019 vixl32::Register offset = LowRegisterFrom(locations->InAt(2)); // Long offset, lo part only. in GenUnsafePut()
3020 Location value = locations->InAt(3); in GenUnsafePut()
3024 maybe_temp = locations->GetTemp(0); in GenUnsafePut()
3025 maybe_temp2 = locations->GetTemp(1); in GenUnsafePut()
3040 vixl32::Register temp = RegisterFrom(locations->GetTemp(0)); in GenUnsafePut()
3460 LocationSummary* locations = in CreateUnsafeCASLocations() local
3467 locations->SetCustomSlowPathCallerSaves(RegisterSet::Empty()); // No caller-save registers. in CreateUnsafeCASLocations()
3469 locations->SetInAt(0, Location::NoLocation()); // Unused receiver. in CreateUnsafeCASLocations()
3470 locations->SetInAt(1, Location::RequiresRegister()); in CreateUnsafeCASLocations()
3471 locations->SetInAt(2, Location::RequiresRegister()); in CreateUnsafeCASLocations()
3472 locations->SetInAt(3, Location::RequiresRegister()); in CreateUnsafeCASLocations()
3473 locations->SetInAt(4, Location::RequiresRegister()); in CreateUnsafeCASLocations()
3475 locations->SetOut(Location::RequiresRegister(), Location::kOutputOverlap); in CreateUnsafeCASLocations()
3479 locations->AddTemp(Location::RequiresRegister()); in CreateUnsafeCASLocations()
3486 LocationSummary* locations = invoke->GetLocations(); in GenUnsafeCas() local
3490 vixl32::Register offset = LowRegisterFrom(locations->InAt(2)); // Offset (discard high 4B). in GenUnsafeCas()
3494 vixl32::Register tmp = RegisterFrom(locations->GetTemp(0)); // Temporary. in GenUnsafeCas()
4061 LocationSummary* locations = invoke->GetLocations(); in GetVarHandleTarget() local
4065 target.offset = RegisterFrom(locations->GetTemp(0u)); in GetVarHandleTarget()
4068 ? RegisterFrom(locations->GetTemp(1u)) in GetVarHandleTarget()
4207 LocationSummary* locations = in CreateVarHandleCommonLocations() local
4209 locations->SetInAt(0, Location::RequiresRegister()); in CreateVarHandleCommonLocations()
4213 locations->SetInAt(/* VarHandle object */ 1u + i, Location::RequiresRegister()); in CreateVarHandleCommonLocations()
4217 locations->SetOut(Location::RequiresFpuRegister()); in CreateVarHandleCommonLocations()
4219 locations->SetOut(Location::RequiresRegister()); in CreateVarHandleCommonLocations()
4227 locations->SetInAt(arg_index, Location::RequiresFpuRegister()); in CreateVarHandleCommonLocations()
4229 locations->SetInAt(arg_index, Location::RequiresRegister()); in CreateVarHandleCommonLocations()
4239 locations->AddTemp(Location::RegisterLocation(first_callee_save)); in CreateVarHandleCommonLocations()
4241 locations->AddTemp(Location::RequiresRegister()); in CreateVarHandleCommonLocations()
4245 locations->AddTemp(Location::RequiresRegister()); in CreateVarHandleCommonLocations()
4248 return locations; in CreateVarHandleCommonLocations()
4268 LocationSummary* locations = CreateVarHandleCommonLocations(invoke); in CreateVarHandleGetLocations() local
4274 DCHECK_EQ(locations->GetTempCount(), in CreateVarHandleGetLocations()
4276 locations->AddRegisterTemps(3u - locations->GetTempCount()); in CreateVarHandleGetLocations()
4288 LocationSummary* locations = invoke->GetLocations(); in GenerateVarHandleGet() local
4290 Location out = locations->Out(); in GenerateVarHandleGet()
4311 DCHECK(maybe_temp.Equals(locations->GetTemp(0))); in GenerateVarHandleGet()
4313 maybe_temp2 = locations->GetTemp(1); in GenerateVarHandleGet()
4314 maybe_temp3 = locations->GetTemp(2); in GenerateVarHandleGet()
4406 LocationSummary* locations = CreateVarHandleCommonLocations(invoke); in CreateVarHandleSetLocations() local
4412 DCHECK_EQ(locations->GetTempCount(), (expected_coordinates_count == 0) ? 2u : 1u); in CreateVarHandleSetLocations()
4424 locations->AddRegisterTemps(temps_needed - locations->GetTempCount()); in CreateVarHandleSetLocations()
4428 DCHECK_EQ(locations->GetTempCount(), 1u); in CreateVarHandleSetLocations()
4429 locations->AddTemp(Location::RequiresRegister()); in CreateVarHandleSetLocations()
4443 LocationSummary* locations = invoke->GetLocations(); in GenerateVarHandleSet() local
4444 Location value = locations->InAt(value_index); in GenerateVarHandleSet()
4461 maybe_temp = locations->GetTemp(0); in GenerateVarHandleSet()
4462 maybe_temp2 = locations->GetTemp(1); in GenerateVarHandleSet()
4464 maybe_temp3 = locations->GetTemp(2); in GenerateVarHandleSet()
4482 DCHECK(value_type != DataType::Type::kFloat64 || maybe_temp3.Equals(locations->GetTemp(2))); in GenerateVarHandleSet()
4486 value = LocationFrom(RegisterFrom(locations->GetTemp(temp_start)), in GenerateVarHandleSet()
4487 RegisterFrom(locations->GetTemp(temp_start + 1u))); in GenerateVarHandleSet()
4496 value = locations->GetTemp(0); // Use the offset temporary which was freed above. in GenerateVarHandleSet()
4582 LocationSummary* locations = CreateVarHandleCommonLocations(invoke); in CreateVarHandleCompareAndSetOrExchangeLocations() local
4591 DCHECK_EQ(locations->GetTempCount(), 2u); in CreateVarHandleCompareAndSetOrExchangeLocations()
4592 DCHECK(locations->GetTemp(0u).Equals(Location::RequiresRegister())); in CreateVarHandleCompareAndSetOrExchangeLocations()
4593 DCHECK(locations->GetTemp(1u).Equals(Location::RegisterLocation(first_callee_save))); in CreateVarHandleCompareAndSetOrExchangeLocations()
4594 locations->SetTempAt(0u, Location::RegisterLocation(second_callee_save)); in CreateVarHandleCompareAndSetOrExchangeLocations()
4596 DCHECK_EQ(locations->GetTempCount(), 1u); in CreateVarHandleCompareAndSetOrExchangeLocations()
4597 DCHECK(locations->GetTemp(0u).Equals(Location::RequiresRegister())); in CreateVarHandleCompareAndSetOrExchangeLocations()
4598 locations->SetTempAt(0u, Location::RegisterLocation(first_callee_save)); in CreateVarHandleCompareAndSetOrExchangeLocations()
4604 DCHECK_EQ(locations->GetTempCount(), in CreateVarHandleCompareAndSetOrExchangeLocations()
4609 locations->AddRegisterTemps(temps_needed - locations->GetTempCount()); in CreateVarHandleCompareAndSetOrExchangeLocations()
4612 DCHECK_EQ(locations->GetTempCount(), 1u); in CreateVarHandleCompareAndSetOrExchangeLocations()
4617 locations->AddRegisterTemps(2u); in CreateVarHandleCompareAndSetOrExchangeLocations()
4622 locations->AddTemp(Location::RequiresRegister()); in CreateVarHandleCompareAndSetOrExchangeLocations()
4640 LocationSummary* locations = invoke->GetLocations(); in GenerateVarHandleCompareAndSetOrExchange() local
4641 Location expected = locations->InAt(expected_index); in GenerateVarHandleCompareAndSetOrExchange()
4642 Location new_value = locations->InAt(new_value_index); in GenerateVarHandleCompareAndSetOrExchange()
4643 Location out = locations->Out(); in GenerateVarHandleCompareAndSetOrExchange()
4682 LocationFrom(RegisterFrom(locations->GetTemp(0)), RegisterFrom(locations->GetTemp(1))); in GenerateVarHandleCompareAndSetOrExchange()
4684 LocationFrom(RegisterFrom(locations->GetTemp(2)), RegisterFrom(locations->GetTemp(3))); in GenerateVarHandleCompareAndSetOrExchange()
4685 store_result = RegisterFrom(locations->GetTemp(4)); in GenerateVarHandleCompareAndSetOrExchange()
4688 : LocationFrom(RegisterFrom(locations->GetTemp(5)), RegisterFrom(locations->GetTemp(6))); in GenerateVarHandleCompareAndSetOrExchange()
4702 expected = locations->GetTemp(0); in GenerateVarHandleCompareAndSetOrExchange()
4703 new_value = locations->GetTemp(1); in GenerateVarHandleCompareAndSetOrExchange()
4704 store_result = RegisterFrom(locations->GetTemp(2)); in GenerateVarHandleCompareAndSetOrExchange()
4705 old_value = return_success ? LocationFrom(store_result) : locations->GetTemp(3); in GenerateVarHandleCompareAndSetOrExchange()
4714 store_result = RegisterFrom(locations->GetTemp(0)); in GenerateVarHandleCompareAndSetOrExchange()
4732 store_result = RegisterFrom(locations->GetTemp(locations->GetTempCount() - 1u)); in GenerateVarHandleCompareAndSetOrExchange()
4735 DCHECK_EQ(locations->GetTempCount(), 3u); in GenerateVarHandleCompareAndSetOrExchange()
4738 expected = locations->GetTemp(0); in GenerateVarHandleCompareAndSetOrExchange()
4739 new_value = locations->GetTemp(1); in GenerateVarHandleCompareAndSetOrExchange()
4907 LocationSummary* locations = CreateVarHandleCommonLocations(invoke); in CreateVarHandleGetAndUpdateLocations() local
4911 DCHECK_EQ(locations->GetTempCount(), in CreateVarHandleGetAndUpdateLocations()
4919 locations->AddRegisterTemps(temps_needed - locations->GetTempCount()); in CreateVarHandleGetAndUpdateLocations()
4924 locations->AddTemp(Location::RequiresRegister()); in CreateVarHandleGetAndUpdateLocations()
4927 DCHECK_EQ(locations->GetTempCount(), 1u); in CreateVarHandleGetAndUpdateLocations()
4928 locations->AddRegisterTemps((value_type == DataType::Type::kInt64) ? 2u : 1u); in CreateVarHandleGetAndUpdateLocations()
4943 locations->AddRegisterTemps(temps_needed - locations->GetTempCount()); in CreateVarHandleGetAndUpdateLocations()
4946 locations->AddTemp(Location::RequiresFpuRegister()); in CreateVarHandleGetAndUpdateLocations()
4960 LocationSummary* locations = invoke->GetLocations(); in GenerateVarHandleGetAndUpdate() local
4961 Location arg = locations->InAt(arg_index); in GenerateVarHandleGetAndUpdate()
4962 Location out = locations->Out(); in GenerateVarHandleGetAndUpdate()
5005 DCHECK_EQ(locations->GetTempCount(), 5u); // `store_result` and the four here. in GenerateVarHandleGetAndUpdate()
5007 LocationFrom(RegisterFrom(locations->GetTemp(1)), RegisterFrom(locations->GetTemp(2))); in GenerateVarHandleGetAndUpdate()
5008 arg = LocationFrom(RegisterFrom(locations->GetTemp(3)), RegisterFrom(locations->GetTemp(4))); in GenerateVarHandleGetAndUpdate()
5017 DCHECK_EQ(locations->GetTempCount(), 3u); // `store_result` and the two here. in GenerateVarHandleGetAndUpdate()
5018 old_value = locations->GetTemp(1); in GenerateVarHandleGetAndUpdate()
5019 arg = locations->GetTemp(2); in GenerateVarHandleGetAndUpdate()
5037 arg = locations->GetTemp(1); in GenerateVarHandleGetAndUpdate()
5039 arg = LocationFrom(RegisterFrom(arg), RegisterFrom(locations->GetTemp(2))); in GenerateVarHandleGetAndUpdate()
5047 ? LocationFrom(RegisterFrom(locations->GetTemp(1)), RegisterFrom(locations->GetTemp(2))) in GenerateVarHandleGetAndUpdate()
5048 : locations->GetTemp(1); in GenerateVarHandleGetAndUpdate()
5051 maybe_vreg_temp = locations->GetTemp(locations->GetTempCount() - 1u); in GenerateVarHandleGetAndUpdate()
5067 arg = locations->GetTemp(2); in GenerateVarHandleGetAndUpdate()