Lines Matching refs:locations
179 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() local
180 DCHECK(locations->CanCall()); in EmitNativeCode()
191 Location dest_pos = locations->InAt(3); in EmitNativeCode()
192 vixl32::Register src_curr_addr = RegisterFrom(locations->GetTemp(0)); in EmitNativeCode()
193 vixl32::Register dst_curr_addr = RegisterFrom(locations->GetTemp(1)); in EmitNativeCode()
194 vixl32::Register src_stop_addr = RegisterFrom(locations->GetTemp(2)); in EmitNativeCode()
195 vixl32::Register tmp = RegisterFrom(locations->GetTemp(3)); in EmitNativeCode()
260 LocationSummary* locations = in CreateFPToIntLocations() local
262 locations->SetInAt(0, Location::RequiresFpuRegister()); in CreateFPToIntLocations()
263 locations->SetOut(Location::RequiresRegister()); in CreateFPToIntLocations()
267 LocationSummary* locations = in CreateIntToFPLocations() local
269 locations->SetInAt(0, Location::RequiresRegister()); in CreateIntToFPLocations()
270 locations->SetOut(Location::RequiresFpuRegister()); in CreateIntToFPLocations()
273 static void MoveFPToInt(LocationSummary* locations, bool is64bit, ArmVIXLAssembler* assembler) { in MoveFPToInt() argument
274 Location input = locations->InAt(0); in MoveFPToInt()
275 Location output = locations->Out(); in MoveFPToInt()
283 static void MoveIntToFP(LocationSummary* locations, bool is64bit, ArmVIXLAssembler* assembler) { in MoveIntToFP() argument
284 Location input = locations->InAt(0); in MoveIntToFP()
285 Location output = locations->Out(); in MoveIntToFP()
322 LocationSummary* locations = in CreateIntToIntLocations() local
324 locations->SetInAt(0, Location::RequiresRegister()); in CreateIntToIntLocations()
325 locations->SetOut(Location::RequiresRegister(), Location::kNoOutputOverlap); in CreateIntToIntLocations()
329 LocationSummary* locations = in CreateLongToLongLocationsWithOverlap() local
331 locations->SetInAt(0, Location::RequiresRegister()); in CreateLongToLongLocationsWithOverlap()
332 locations->SetOut(Location::RequiresRegister(), Location::kOutputOverlap); in CreateLongToLongLocationsWithOverlap()
336 LocationSummary* locations = in CreateFPToFPLocations() local
338 locations->SetInAt(0, Location::RequiresFpuRegister()); in CreateFPToFPLocations()
339 locations->SetOut(Location::RequiresFpuRegister(), Location::kNoOutputOverlap); in CreateFPToFPLocations()
346 LocationSummary* locations = invoke->GetLocations(); in GenNumberOfLeadingZeros() local
347 Location in = locations->InAt(0); in GenNumberOfLeadingZeros()
348 vixl32::Register out = RegisterFrom(locations->Out()); in GenNumberOfLeadingZeros()
391 LocationSummary* locations = invoke->GetLocations(); in GenNumberOfTrailingZeros() local
392 vixl32::Register out = RegisterFrom(locations->Out()); in GenNumberOfTrailingZeros()
395 vixl32::Register in_reg_lo = LowRegisterFrom(locations->InAt(0)); in GenNumberOfTrailingZeros()
396 vixl32::Register in_reg_hi = HighRegisterFrom(locations->InAt(0)); in GenNumberOfTrailingZeros()
409 vixl32::Register in = RegisterFrom(locations->InAt(0)); in GenNumberOfTrailingZeros()
454 LocationSummary* locations = in VisitMathRoundFloat() local
456 locations->SetInAt(0, Location::RequiresFpuRegister()); in VisitMathRoundFloat()
457 locations->SetOut(Location::RequiresRegister()); in VisitMathRoundFloat()
458 locations->AddTemp(Location::RequiresFpuRegister()); in VisitMathRoundFloat()
555 LocationSummary* locations = in CreateIntIntToVoidLocations() local
557 locations->SetInAt(0, Location::RequiresRegister()); in CreateIntIntToVoidLocations()
558 locations->SetInAt(1, Location::RequiresRegister()); in CreateIntIntToVoidLocations()
603 LocationSummary* locations = in VisitThreadCurrentThread() local
605 locations->SetOut(Location::RequiresRegister()); in VisitThreadCurrentThread()
618 LocationSummary* locations = invoke->GetLocations(); in GenUnsafeGet() local
620 Location base_loc = locations->InAt(1); in GenUnsafeGet()
622 Location offset_loc = locations->InAt(2); in GenUnsafeGet()
624 Location trg_loc = locations->Out(); in GenUnsafeGet()
640 Location temp = locations->GetTemp(0); in GenUnsafeGet()
695 LocationSummary* locations = in CreateIntIntIntToIntLocations() local
702 locations->SetCustomSlowPathCallerSaves(RegisterSet::Empty()); // No caller-save registers. in CreateIntIntIntToIntLocations()
704 locations->SetInAt(0, Location::NoLocation()); // Unused receiver. in CreateIntIntIntToIntLocations()
705 locations->SetInAt(1, Location::RequiresRegister()); in CreateIntIntIntToIntLocations()
706 locations->SetInAt(2, Location::RequiresRegister()); in CreateIntIntIntToIntLocations()
707 locations->SetOut(Location::RequiresRegister(), in CreateIntIntIntToIntLocations()
712 locations->AddTemp(Location::RequiresRegister()); in CreateIntIntIntToIntLocations()
759 LocationSummary* locations = in CreateIntIntIntIntToVoid() local
761 locations->SetInAt(0, Location::NoLocation()); // Unused receiver. in CreateIntIntIntIntToVoid()
762 locations->SetInAt(1, Location::RequiresRegister()); in CreateIntIntIntIntToVoid()
763 locations->SetInAt(2, Location::RequiresRegister()); in CreateIntIntIntIntToVoid()
764 locations->SetInAt(3, Location::RequiresRegister()); in CreateIntIntIntIntToVoid()
769 locations->AddTemp(Location::RequiresRegister()); // Temp_lo. in CreateIntIntIntIntToVoid()
770 locations->AddTemp(Location::RequiresRegister()); // Temp_hi. in CreateIntIntIntIntToVoid()
774 locations->AddTemp(Location::RequiresRegister()); // Temp. in CreateIntIntIntIntToVoid()
775 locations->AddTemp(Location::RequiresRegister()); // Card. in CreateIntIntIntIntToVoid()
816 static void GenUnsafePut(LocationSummary* locations, in GenUnsafePut() argument
823 vixl32::Register base = RegisterFrom(locations->InAt(1)); // Object pointer. in GenUnsafePut()
824 vixl32::Register offset = LowRegisterFrom(locations->InAt(2)); // Long offset, lo part only. in GenUnsafePut()
832 vixl32::Register value_lo = LowRegisterFrom(locations->InAt(3)); in GenUnsafePut()
833 vixl32::Register value_hi = HighRegisterFrom(locations->InAt(3)); in GenUnsafePut()
836 vixl32::Register temp_lo = RegisterFrom(locations->GetTemp(0)); in GenUnsafePut()
837 vixl32::Register temp_hi = RegisterFrom(locations->GetTemp(1)); in GenUnsafePut()
852 value = RegisterFrom(locations->InAt(3)); in GenUnsafePut()
855 vixl32::Register temp = RegisterFrom(locations->GetTemp(0)); in GenUnsafePut()
868 vixl32::Register temp = RegisterFrom(locations->GetTemp(0)); in GenUnsafePut()
869 vixl32::Register card = RegisterFrom(locations->GetTemp(1)); in GenUnsafePut()
943 LocationSummary* locations = in CreateIntIntIntIntIntToIntPlusTemps() local
950 locations->SetCustomSlowPathCallerSaves(RegisterSet::Empty()); // No caller-save registers. in CreateIntIntIntIntIntToIntPlusTemps()
952 locations->SetInAt(0, Location::NoLocation()); // Unused receiver. in CreateIntIntIntIntIntToIntPlusTemps()
953 locations->SetInAt(1, Location::RequiresRegister()); in CreateIntIntIntIntIntToIntPlusTemps()
954 locations->SetInAt(2, Location::RequiresRegister()); in CreateIntIntIntIntIntToIntPlusTemps()
955 locations->SetInAt(3, Location::RequiresRegister()); in CreateIntIntIntIntIntToIntPlusTemps()
956 locations->SetInAt(4, Location::RequiresRegister()); in CreateIntIntIntIntIntToIntPlusTemps()
958 locations->SetOut(Location::RequiresRegister(), Location::kNoOutputOverlap); in CreateIntIntIntIntIntToIntPlusTemps()
963 locations->AddTemp(Location::RequiresRegister()); // Pointer. in CreateIntIntIntIntIntToIntPlusTemps()
964 locations->AddTemp(Location::RequiresRegister()); // Temp 1. in CreateIntIntIntIntIntToIntPlusTemps()
979 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() local
981 vixl32::Register offset = LowRegisterFrom(locations->InAt(2)); // Offset (discard high 4B). in EmitNativeCode()
985 vixl32::Register tmp_ptr = RegisterFrom(locations->GetTemp(0)); // Pointer to actual memory. in EmitNativeCode()
986 vixl32::Register tmp = RegisterFrom(locations->GetTemp(1)); // Temporary. in EmitNativeCode()
1038 LocationSummary* locations = invoke->GetLocations(); in GenCas() local
1043 vixl32::Register offset = LowRegisterFrom(locations->InAt(2)); // Offset (discard high 4B). in GenCas()
1047 vixl32::Register tmp_ptr = RegisterFrom(locations->GetTemp(0)); // Pointer to actual memory. in GenCas()
1048 vixl32::Register tmp = RegisterFrom(locations->GetTemp(1)); // Temporary. in GenCas()
1145 LocationSummary* locations = in VisitStringCompareTo() local
1151 locations->SetInAt(0, Location::RequiresRegister()); in VisitStringCompareTo()
1152 locations->SetInAt(1, Location::RequiresRegister()); in VisitStringCompareTo()
1153 locations->AddTemp(Location::RequiresRegister()); in VisitStringCompareTo()
1154 locations->AddTemp(Location::RequiresRegister()); in VisitStringCompareTo()
1155 locations->AddTemp(Location::RequiresRegister()); in VisitStringCompareTo()
1158 locations->AddTemp(Location::RequiresRegister()); in VisitStringCompareTo()
1160 locations->SetOut(Location::RequiresRegister(), Location::kOutputOverlap); in VisitStringCompareTo()
1176 LocationSummary* locations = invoke->GetLocations(); in VisitStringCompareTo() local
1182 const vixl32::Register temp0 = RegisterFrom(locations->GetTemp(0)); in VisitStringCompareTo()
1183 const vixl32::Register temp1 = RegisterFrom(locations->GetTemp(1)); in VisitStringCompareTo()
1184 const vixl32::Register temp2 = RegisterFrom(locations->GetTemp(2)); in VisitStringCompareTo()
1187 temp3 = RegisterFrom(locations->GetTemp(3)); in VisitStringCompareTo()
1273 LocationSummary* locations = invoke->GetLocations(); in GenerateStringCompareToLoop() local
1279 const vixl32::Register temp0 = RegisterFrom(locations->GetTemp(0)); in GenerateStringCompareToLoop()
1280 const vixl32::Register temp1 = RegisterFrom(locations->GetTemp(1)); in GenerateStringCompareToLoop()
1281 const vixl32::Register temp2 = RegisterFrom(locations->GetTemp(2)); in GenerateStringCompareToLoop()
1284 temp3 = RegisterFrom(locations->GetTemp(3)); in GenerateStringCompareToLoop()
1462 LocationSummary* locations = in VisitStringEquals() local
1465 locations->SetInAt(0, Location::RequiresRegister()); in VisitStringEquals()
1466 locations->SetInAt(1, Location::RequiresRegister()); in VisitStringEquals()
1470 locations->AddTemp(LocationFrom(r0)); in VisitStringEquals()
1484 locations->AddTemp(Location::RequiresRegister()); in VisitStringEquals()
1490 locations->SetOut(Location::RequiresRegister()); in VisitStringEquals()
1495 LocationSummary* locations = invoke->GetLocations(); in VisitStringEquals() local
1501 vixl32::Register temp = RegisterFrom(locations->GetTemp(0)); in VisitStringEquals()
1591 vixl32::Register temp1 = RegisterFrom(locations->GetTemp(1)); in VisitStringEquals()
1626 vixl32::Register temp1 = RegisterFrom(locations->GetTemp(1)); in VisitStringEquals()
1664 LocationSummary* locations = invoke->GetLocations(); in GenerateVisitStringIndexOf() local
1694 vixl32::Register tmp_reg = RegisterFrom(locations->GetTemp(0)); in GenerateVisitStringIndexOf()
1709 LocationSummary* locations = new (allocator_) LocationSummary( in VisitStringIndexOf() local
1714 locations->SetInAt(0, LocationFrom(calling_convention.GetRegisterAt(0))); in VisitStringIndexOf()
1715 locations->SetInAt(1, LocationFrom(calling_convention.GetRegisterAt(1))); in VisitStringIndexOf()
1716 locations->SetOut(LocationFrom(r0)); in VisitStringIndexOf()
1719 locations->AddTemp(LocationFrom(calling_convention.GetRegisterAt(2))); in VisitStringIndexOf()
1727 LocationSummary* locations = new (allocator_) LocationSummary( in VisitStringIndexOfAfter() local
1732 locations->SetInAt(0, LocationFrom(calling_convention.GetRegisterAt(0))); in VisitStringIndexOfAfter()
1733 locations->SetInAt(1, LocationFrom(calling_convention.GetRegisterAt(1))); in VisitStringIndexOfAfter()
1734 locations->SetInAt(2, LocationFrom(calling_convention.GetRegisterAt(2))); in VisitStringIndexOfAfter()
1735 locations->SetOut(LocationFrom(r0)); in VisitStringIndexOfAfter()
1743 LocationSummary* locations = new (allocator_) LocationSummary( in VisitStringNewStringFromBytes() local
1746 locations->SetInAt(0, LocationFrom(calling_convention.GetRegisterAt(0))); in VisitStringNewStringFromBytes()
1747 locations->SetInAt(1, LocationFrom(calling_convention.GetRegisterAt(1))); in VisitStringNewStringFromBytes()
1748 locations->SetInAt(2, LocationFrom(calling_convention.GetRegisterAt(2))); in VisitStringNewStringFromBytes()
1749 locations->SetInAt(3, LocationFrom(calling_convention.GetRegisterAt(3))); in VisitStringNewStringFromBytes()
1750 locations->SetOut(LocationFrom(r0)); in VisitStringNewStringFromBytes()
1768 LocationSummary* locations = in VisitStringNewStringFromChars() local
1771 locations->SetInAt(0, LocationFrom(calling_convention.GetRegisterAt(0))); in VisitStringNewStringFromChars()
1772 locations->SetInAt(1, LocationFrom(calling_convention.GetRegisterAt(1))); in VisitStringNewStringFromChars()
1773 locations->SetInAt(2, LocationFrom(calling_convention.GetRegisterAt(2))); in VisitStringNewStringFromChars()
1774 locations->SetOut(LocationFrom(r0)); in VisitStringNewStringFromChars()
1789 LocationSummary* locations = new (allocator_) LocationSummary( in VisitStringNewStringFromString() local
1792 locations->SetInAt(0, LocationFrom(calling_convention.GetRegisterAt(0))); in VisitStringNewStringFromString()
1793 locations->SetOut(LocationFrom(r0)); in VisitStringNewStringFromString()
1819 LocationSummary* locations = invoke->GetLocations(); in VisitSystemArrayCopy() local
1820 if (locations == nullptr) { in VisitSystemArrayCopy()
1829 locations->SetInAt(1, Location::RequiresRegister()); in VisitSystemArrayCopy()
1832 locations->SetInAt(3, Location::RequiresRegister()); in VisitSystemArrayCopy()
1835 locations->SetInAt(4, Location::RequiresRegister()); in VisitSystemArrayCopy()
1842 locations->AddTemp(Location::RequiresRegister()); in VisitSystemArrayCopy()
1914 LocationSummary* locations = invoke->GetLocations(); in VisitSystemArrayCopy() local
1923 Location src_pos = locations->InAt(1); in VisitSystemArrayCopy()
1925 Location dest_pos = locations->InAt(3); in VisitSystemArrayCopy()
1926 Location length = locations->InAt(4); in VisitSystemArrayCopy()
1927 Location temp1_loc = locations->GetTemp(0); in VisitSystemArrayCopy()
1929 Location temp2_loc = locations->GetTemp(1); in VisitSystemArrayCopy()
1931 Location temp3_loc = locations->GetTemp(2); in VisitSystemArrayCopy()
2314 LocationSummary* const locations = in CreateFPToFPCallLocations() local
2318 locations->SetInAt(0, Location::RequiresFpuRegister()); in CreateFPToFPCallLocations()
2319 locations->SetOut(Location::RequiresFpuRegister()); in CreateFPToFPCallLocations()
2321 locations->AddTemp(LocationFrom(calling_convention.GetRegisterAt(0))); in CreateFPToFPCallLocations()
2322 locations->AddTemp(LocationFrom(calling_convention.GetRegisterAt(1))); in CreateFPToFPCallLocations()
2340 LocationSummary* const locations = in CreateFPFPToFPCallLocations() local
2344 locations->SetInAt(0, Location::RequiresFpuRegister()); in CreateFPFPToFPCallLocations()
2345 locations->SetInAt(1, Location::RequiresFpuRegister()); in CreateFPFPToFPCallLocations()
2346 locations->SetOut(Location::RequiresFpuRegister()); in CreateFPFPToFPCallLocations()
2348 locations->AddTemp(LocationFrom(calling_convention.GetRegisterAt(0))); in CreateFPFPToFPCallLocations()
2349 locations->AddTemp(LocationFrom(calling_convention.GetRegisterAt(1))); in CreateFPFPToFPCallLocations()
2350 locations->AddTemp(LocationFrom(calling_convention.GetRegisterAt(2))); in CreateFPFPToFPCallLocations()
2351 locations->AddTemp(LocationFrom(calling_convention.GetRegisterAt(3))); in CreateFPFPToFPCallLocations()
2358 LocationSummary* const locations = invoke->GetLocations(); in GenFPToFPCall() local
2361 DCHECK(locations->WillCall() && locations->Intrinsified()); in GenFPToFPCall()
2364 __ Vmov(RegisterFrom(locations->GetTemp(0)), in GenFPToFPCall()
2365 RegisterFrom(locations->GetTemp(1)), in GenFPToFPCall()
2369 RegisterFrom(locations->GetTemp(0)), in GenFPToFPCall()
2370 RegisterFrom(locations->GetTemp(1))); in GenFPToFPCall()
2377 LocationSummary* const locations = invoke->GetLocations(); in GenFPFPToFPCall() local
2380 DCHECK(locations->WillCall() && locations->Intrinsified()); in GenFPFPToFPCall()
2383 __ Vmov(RegisterFrom(locations->GetTemp(0)), in GenFPFPToFPCall()
2384 RegisterFrom(locations->GetTemp(1)), in GenFPFPToFPCall()
2386 __ Vmov(RegisterFrom(locations->GetTemp(2)), in GenFPFPToFPCall()
2387 RegisterFrom(locations->GetTemp(3)), in GenFPFPToFPCall()
2391 RegisterFrom(locations->GetTemp(0)), in GenFPFPToFPCall()
2392 RegisterFrom(locations->GetTemp(1))); in GenFPFPToFPCall()
2554 LocationSummary* locations = invoke->GetLocations(); in VisitLongReverse() local
2556 vixl32::Register in_reg_lo = LowRegisterFrom(locations->InAt(0)); in VisitLongReverse()
2557 vixl32::Register in_reg_hi = HighRegisterFrom(locations->InAt(0)); in VisitLongReverse()
2558 vixl32::Register out_reg_lo = LowRegisterFrom(locations->Out()); in VisitLongReverse()
2559 vixl32::Register out_reg_hi = HighRegisterFrom(locations->Out()); in VisitLongReverse()
2580 LocationSummary* locations = invoke->GetLocations(); in VisitLongReverseBytes() local
2582 vixl32::Register in_reg_lo = LowRegisterFrom(locations->InAt(0)); in VisitLongReverseBytes()
2583 vixl32::Register in_reg_hi = HighRegisterFrom(locations->InAt(0)); in VisitLongReverseBytes()
2584 vixl32::Register out_reg_lo = LowRegisterFrom(locations->Out()); in VisitLongReverseBytes()
2585 vixl32::Register out_reg_hi = HighRegisterFrom(locations->Out()); in VisitLongReverseBytes()
2606 LocationSummary* locations = instr->GetLocations(); in GenBitCount() local
2607 Location in = locations->InAt(0); in GenBitCount()
2610 vixl32::SRegister tmp_s = LowSRegisterFrom(locations->GetTemp(0)); in GenBitCount()
2611 vixl32::DRegister tmp_d = DRegisterFrom(locations->GetTemp(0)); in GenBitCount()
2655 LocationSummary* locations = invoke->GetLocations(); in GenHighestOneBit() local
2656 Location in = locations->InAt(0); in GenHighestOneBit()
2657 Location out = locations->Out(); in GenHighestOneBit()
2721 LocationSummary* locations = invoke->GetLocations(); in GenLowestOneBit() local
2722 Location in = locations->InAt(0); in GenLowestOneBit()
2723 Location out = locations->Out(); in GenLowestOneBit()
2777 LocationSummary* locations = in VisitStringGetCharsNoCheck() local
2779 locations->SetInAt(0, Location::RequiresRegister()); in VisitStringGetCharsNoCheck()
2780 locations->SetInAt(1, Location::RequiresRegister()); in VisitStringGetCharsNoCheck()
2781 locations->SetInAt(2, Location::RequiresRegister()); in VisitStringGetCharsNoCheck()
2782 locations->SetInAt(3, Location::RequiresRegister()); in VisitStringGetCharsNoCheck()
2783 locations->SetInAt(4, Location::RequiresRegister()); in VisitStringGetCharsNoCheck()
2786 locations->AddTemp(Location::RequiresRegister()); in VisitStringGetCharsNoCheck()
2787 locations->AddTemp(Location::RequiresRegister()); in VisitStringGetCharsNoCheck()
2788 locations->AddTemp(Location::RequiresRegister()); in VisitStringGetCharsNoCheck()
2793 LocationSummary* locations = invoke->GetLocations(); in VisitStringGetCharsNoCheck() local
2813 vixl32::Register num_chr = RegisterFrom(locations->GetTemp(0)); in VisitStringGetCharsNoCheck()
2814 vixl32::Register src_ptr = RegisterFrom(locations->GetTemp(1)); in VisitStringGetCharsNoCheck()
2815 vixl32::Register dst_ptr = RegisterFrom(locations->GetTemp(2)); in VisitStringGetCharsNoCheck()
2983 LocationSummary* locations = invoke->GetLocations(); in VisitIntegerValueOf() local
2986 vixl32::Register out = RegisterFrom(locations->Out()); in VisitIntegerValueOf()
2996 DCHECK(locations->CanCall()); in VisitIntegerValueOf()
3009 DCHECK(locations->CanCall()); in VisitIntegerValueOf()
3010 vixl32::Register in = RegisterFrom(locations->InAt(0)); in VisitIntegerValueOf()
3018 codegen_->LoadFromShiftedRegOffset(DataType::Type::kReference, locations->Out(), temp, out); in VisitIntegerValueOf()
3034 LocationSummary* locations = in VisitThreadInterrupted() local
3036 locations->SetOut(Location::RequiresRegister()); in VisitThreadInterrupted()
3059 LocationSummary* locations = in VisitReachabilityFence() local
3061 locations->SetInAt(0, Location::Any()); in VisitReachabilityFence()