Lines Matching defs:locations

96 // Note: The actual parameters are required to be in the locations
98 // modifies those locations before a slowpath call, they must be
153 LocationSummary* locations = new (arena) LocationSummary(invoke,
156 locations->SetInAt(0, Location::RequiresFpuRegister());
157 locations->SetOut(Location::RequiresRegister());
160 static void MoveFPToInt(LocationSummary* locations, bool is64bit, MipsAssembler* assembler) {
161 FRegister in = locations->InAt(0).AsFpuRegister<FRegister>();
164 Register out_lo = locations->Out().AsRegisterPairLow<Register>();
165 Register out_hi = locations->Out().AsRegisterPairHigh<Register>();
170 Register out = locations->Out().AsRegister<Register>();
195 LocationSummary* locations = new (arena) LocationSummary(invoke,
198 locations->SetInAt(0, Location::RequiresRegister());
199 locations->SetOut(Location::RequiresFpuRegister());
202 static void MoveIntToFP(LocationSummary* locations, bool is64bit, MipsAssembler* assembler) {
203 FRegister out = locations->Out().AsFpuRegister<FRegister>();
206 Register in_lo = locations->InAt(0).AsRegisterPairLow<Register>();
207 Register in_hi = locations->InAt(0).AsRegisterPairHigh<Register>();
212 Register in = locations->InAt(0).AsRegister<Register>();
239 LocationSummary* locations = new (arena) LocationSummary(invoke,
242 locations->SetInAt(0, Location::RequiresRegister());
243 locations->SetOut(Location::RequiresRegister(), overlaps);
246 static void GenReverse(LocationSummary* locations,
258 Register in = locations->InAt(0).AsRegister<Register>();
259 Register out = locations->Out().AsRegister<Register>();
272 Register in = locations->InAt(0).AsRegister<Register>();
273 Register out = locations->Out().AsRegister<Register>();
317 Register in_lo = locations->InAt(0).AsRegisterPairLow<Register>();
318 Register in_hi = locations->InAt(0).AsRegisterPairHigh<Register>();
319 Register out_lo = locations->Out().AsRegisterPairLow<Register>();
320 Register out_hi = locations->Out().AsRegisterPairHigh<Register>();
442 static void GenNumberOfLeadingZeroes(LocationSummary* locations,
446 Register out = locations->Out().AsRegister<Register>();
448 Register in_lo = locations->InAt(0).AsRegisterPairLow<Register>();
449 Register in_hi = locations->InAt(0).AsRegisterPairHigh<Register>();
462 Register in = locations->InAt(0).AsRegister<Register>();
490 static void GenNumberOfTrailingZeroes(LocationSummary* locations,
494 Register out = locations->Out().AsRegister<Register>();
499 Register in_hi = locations->InAt(0).AsRegisterPairHigh<Register>();
501 in_lo = locations->InAt(0).AsRegisterPairLow<Register>();
517 in = locations->InAt(0).AsRegister<Register>();
606 LocationSummary* locations = new (arena) LocationSummary(invoke,
609 locations->SetInAt(0, Location::RequiresFpuRegister());
610 locations->SetOut(Location::RequiresFpuRegister(), Location::kNoOutputOverlap);
613 static void GenBitCount(LocationSummary* locations,
617 Register out = locations->Out().AsRegister<Register>();
642 Register in = locations->InAt(0).AsRegister<Register>();
666 Register in_lo = locations->InAt(0).AsRegisterPairLow<Register>();
667 Register in_hi = locations->InAt(0).AsRegisterPairHigh<Register>();
668 Register tmp_hi = locations->GetTemp(0).AsRegister<Register>();
669 Register out_hi = locations->GetTemp(1).AsRegister<Register>();
735 LocationSummary* locations = new (arena_) LocationSummary(invoke,
738 locations->SetInAt(0, Location::RequiresRegister());
739 locations->SetOut(Location::RequiresRegister());
740 locations->AddTemp(Location::RequiresRegister());
741 locations->AddTemp(Location::RequiresRegister());
748 static void MathAbsFP(LocationSummary* locations, bool is64bit, MipsAssembler* assembler) {
749 FRegister in = locations->InAt(0).AsFpuRegister<FRegister>();
750 FRegister out = locations->Out().AsFpuRegister<FRegister>();
777 static void GenAbsInteger(LocationSummary* locations, bool is64bit, MipsAssembler* assembler) {
779 Register in_lo = locations->InAt(0).AsRegisterPairLow<Register>();
780 Register in_hi = locations->InAt(0).AsRegisterPairHigh<Register>();
781 Register out_lo = locations->Out().AsRegisterPairLow<Register>();
782 Register out_hi = locations->Out().AsRegisterPairHigh<Register>();
796 Register in = locations->InAt(0).AsRegister<Register>();
797 Register out = locations->Out().AsRegister<Register>();
823 static void GenMinMaxFP(LocationSummary* locations,
828 FRegister out = locations->Out().AsFpuRegister<FRegister>();
829 FRegister a = locations->InAt(0).AsFpuRegister<FRegister>();
830 FRegister b = locations->InAt(1).AsFpuRegister<FRegister>();
987 LocationSummary* locations = new (arena) LocationSummary(invoke,
990 locations->SetInAt(0, Location::RequiresFpuRegister());
991 locations->SetInAt(1, Location::RequiresFpuRegister());
992 locations->SetOut(Location::RequiresFpuRegister(), Location::kOutputOverlap);
1048 LocationSummary* locations = new (arena) LocationSummary(invoke,
1051 locations->SetInAt(0, Location::RequiresRegister());
1052 locations->SetInAt(1, Location::RequiresRegister());
1053 locations->SetOut(Location::RequiresRegister(), Location::kNoOutputOverlap);
1056 static void GenMinMax(LocationSummary* locations,
1086 Register a_lo = locations->InAt(0).AsRegisterPairLow<Register>();
1087 Register a_hi = locations->InAt(0).AsRegisterPairHigh<Register>();
1088 Register b_lo = locations->InAt(1).AsRegisterPairLow<Register>();
1089 Register b_hi = locations->InAt(1).AsRegisterPairHigh<Register>();
1090 Register out_lo = locations->Out().AsRegisterPairLow<Register>();
1091 Register out_hi = locations->Out().AsRegisterPairHigh<Register>();
1129 Register a = locations->InAt(0).AsRegister<Register>();
1130 Register b = locations->InAt(1).AsRegister<Register>();
1131 Register out = locations->Out().AsRegister<Register>();
1151 Register a_lo = locations->InAt(0).AsRegisterPairLow<Register>();
1152 Register a_hi = locations->InAt(0).AsRegisterPairHigh<Register>();
1153 Register b_lo = locations->InAt(1).AsRegisterPairLow<Register>();
1154 Register b_hi = locations->InAt(1).AsRegisterPairHigh<Register>();
1155 Register out_lo = locations->Out().AsRegisterPairLow<Register>();
1156 Register out_hi = locations->Out().AsRegisterPairHigh<Register>();
1195 Register a = locations->InAt(0).AsRegister<Register>();
1196 Register b = locations->InAt(1).AsRegister<Register>();
1197 Register out = locations->Out().AsRegister<Register>();
1283 LocationSummary* locations = invoke->GetLocations();
1285 FRegister in = locations->InAt(0).AsFpuRegister<FRegister>();
1286 FRegister out = locations->Out().AsFpuRegister<FRegister>();
1377 LocationSummary* locations = new (arena) LocationSummary(invoke,
1380 locations->SetInAt(0, Location::RequiresRegister());
1381 locations->SetInAt(1, Location::RequiresRegister());
1461 LocationSummary* locations = new (arena_) LocationSummary(invoke,
1464 locations->SetOut(Location::RequiresRegister());
1481 LocationSummary* locations = new (arena) LocationSummary(invoke,
1486 locations->SetInAt(0, Location::NoLocation()); // Unused receiver.
1487 locations->SetInAt(1, Location::RequiresRegister());
1488 locations->SetInAt(2, Location::RequiresRegister());
1489 locations->SetOut(Location::RequiresRegister(), Location::kNoOutputOverlap);
1497 LocationSummary* locations = invoke->GetLocations();
1503 Register base = locations->InAt(1).AsRegister<Register>();
1514 Register trg_lo = locations->Out().AsRegisterPairLow<Register>();
1515 Register trg_hi = locations->Out().AsRegisterPairHigh<Register>();
1527 Register trg = locations->Out().AsRegister<Register>();
1593 LocationSummary* locations = new (arena) LocationSummary(invoke,
1596 locations->SetInAt(0, Location::NoLocation()); // Unused receiver.
1597 locations->SetInAt(1, Location::RequiresRegister());
1598 locations->SetInAt(2, Location::RequiresRegister());
1599 locations->SetInAt(3, Location::RequiresRegister());
1602 static void GenUnsafePut(LocationSummary* locations,
1613 Register base = locations->InAt(1).AsRegister<Register>();
1617 Register offset_lo = locations->InAt(2).AsRegisterPairLow<Register>();
1624 Register value = locations->InAt(3).AsRegister<Register>();
1633 Register value_lo = locations->InAt(3).AsRegisterPairLow<Register>();
1634 Register value_hi = locations->InAt(3).AsRegisterPairHigh<Register>();
1652 codegen->MarkGCCard(base, locations->InAt(3).AsRegister<Register>());
1783 LocationSummary* locations = new (arena) LocationSummary(invoke,
1786 locations->SetInAt(0, Location::NoLocation()); // Unused receiver.
1787 locations->SetInAt(1, Location::RequiresRegister());
1788 locations->SetInAt(2, Location::RequiresRegister());
1789 locations->SetInAt(3, Location::RequiresRegister());
1790 locations->SetInAt(4, Location::RequiresRegister());
1792 locations->SetOut(Location::RequiresRegister());
1795 static void GenCas(LocationSummary* locations, Primitive::Type type, CodeGeneratorMIPS* codegen) {
1798 Register base = locations->InAt(1).AsRegister<Register>();
1799 Register offset_lo = locations->InAt(2).AsRegisterPairLow<Register>();
1800 Register expected = locations->InAt(3).AsRegister<Register>();
1801 Register value = locations->InAt(4).AsRegister<Register>();
1802 Register out = locations->Out().AsRegister<Register>();
1877 LocationSummary* locations = new (arena_) LocationSummary(invoke,
1880 locations->SetInAt(0, Location::RequiresRegister());
1881 locations->SetInAt(1, Location::RequiresRegister());
1884 locations->SetOut(Location::RequiresRegister(), Location::kOutputOverlap);
1888 LocationSummary* locations = invoke->GetLocations();
1896 Register obj = locations->InAt(0).AsRegister<Register>();
1897 Register idx = locations->InAt(1).AsRegister<Register>();
1898 Register out = locations->Out().AsRegister<Register>();
1925 LocationSummary* locations = new (arena_) LocationSummary(invoke,
1929 locations->SetInAt(0, Location::RegisterLocation(calling_convention.GetRegisterAt(0)));
1930 locations->SetInAt(1, Location::RegisterLocation(calling_convention.GetRegisterAt(1)));
1932 locations->SetOut(Location::RegisterLocation(outLocation.AsRegister<Register>()));
1937 LocationSummary* locations = invoke->GetLocations();
1942 Register argument = locations->InAt(1).AsRegister<Register>();
1959 LocationSummary* locations = new (arena_) LocationSummary(invoke,
1962 locations->SetInAt(0, Location::RequiresRegister());
1963 locations->SetInAt(1, Location::RequiresRegister());
1964 locations->SetOut(Location::RequiresRegister());
1967 locations->AddTemp(Location::RequiresRegister());
1968 locations->AddTemp(Location::RequiresRegister());
1969 locations->AddTemp(Location::RequiresRegister());
1974 LocationSummary* locations = invoke->GetLocations();
1976 Register str = locations->InAt(0).AsRegister<Register>();
1977 Register arg = locations->InAt(1).AsRegister<Register>();
1978 Register out = locations->Out().AsRegister<Register>();
1980 Register temp1 = locations->GetTemp(0).AsRegister<Register>();
1981 Register temp2 = locations->GetTemp(1).AsRegister<Register>();
1982 Register temp3 = locations->GetTemp(2).AsRegister<Register>();
2064 LocationSummary* locations = invoke->GetLocations();
2065 Register tmp_reg = start_at_zero ? locations->GetTemp(0).AsRegister<Register>() : TMP;
2085 Register char_reg = locations->InAt(1).AsRegister<Register>();
2120 LocationSummary* locations = new (arena_) LocationSummary(invoke,
2126 locations->SetInAt(0, Location::RegisterLocation(calling_convention.GetRegisterAt(0)));
2127 locations->SetInAt(1, Location::RegisterLocation(calling_convention.GetRegisterAt(1)));
2129 locations->SetOut(Location::RegisterLocation(outLocation.AsRegister<Register>()));
2132 locations->AddTemp(Location::RegisterLocation(calling_convention.GetRegisterAt(2)));
2145 LocationSummary* locations = new (arena_) LocationSummary(invoke,
2151 locations->SetInAt(0, Location::RegisterLocation(calling_convention.GetRegisterAt(0)));
2152 locations->SetInAt(1, Location::RegisterLocation(calling_convention.GetRegisterAt(1)));
2153 locations->SetInAt(2, Location::RegisterLocation(calling_convention.GetRegisterAt(2)));
2155 locations->SetOut(Location::RegisterLocation(outLocation.AsRegister<Register>()));
2158 locations->AddTemp(Location::RequiresRegister());
2171 LocationSummary* locations = new (arena_) LocationSummary(invoke,
2175 locations->SetInAt(0, Location::RegisterLocation(calling_convention.GetRegisterAt(0)));
2176 locations->SetInAt(1, Location::RegisterLocation(calling_convention.GetRegisterAt(1)));
2177 locations->SetInAt(2, Location::RegisterLocation(calling_convention.GetRegisterAt(2)));
2178 locations->SetInAt(3, Location::RegisterLocation(calling_convention.GetRegisterAt(3)));
2180 locations->SetOut(Location::RegisterLocation(outLocation.AsRegister<Register>()));
2185 LocationSummary* locations = invoke->GetLocations();
2187 Register byte_array = locations->InAt(0).AsRegister<Register>();
2204 LocationSummary* locations = new (arena_) LocationSummary(invoke,
2208 locations->SetInAt(0, Location::RegisterLocation(calling_convention.GetRegisterAt(0)));
2209 locations->SetInAt(1, Location::RegisterLocation(calling_convention.GetRegisterAt(1)));
2210 locations->SetInAt(2, Location::RegisterLocation(calling_convention.GetRegisterAt(2)));
2212 locations->SetOut(Location::RegisterLocation(outLocation.AsRegister<Register>()));
2218 // No need to emit code checking whether `locations->InAt(2)` is a null
2236 LocationSummary* locations = new (arena_) LocationSummary(invoke,
2240 locations->SetInAt(0, Location::RegisterLocation(calling_convention.GetRegisterAt(0)));
2242 locations->SetOut(Location::RegisterLocation(outLocation.AsRegister<Register>()));
2247 LocationSummary* locations = invoke->GetLocations();
2249 Register string_to_copy = locations->InAt(0).AsRegister<Register>();
2264 static void GenIsInfinite(LocationSummary* locations,
2268 FRegister in = locations->InAt(0).AsFpuRegister<FRegister>();
2269 Register out = locations->Out().AsRegister<Register>();
2322 static void GenHighestOneBit(LocationSummary* locations,
2329 Register in_lo = locations->InAt(0).AsRegisterPairLow<Register>();
2330 Register in_hi = locations->InAt(0).AsRegisterPairHigh<Register>();
2331 Register out_lo = locations->Out().AsRegisterPairLow<Register>();
2332 Register out_hi = locations->Out().AsRegisterPairHigh<Register>();
2355 Register in = locations->InAt(0).AsRegister<Register>();
2356 Register out = locations->Out().AsRegister<Register>();
2387 static void GenLowestOneBit(LocationSummary* locations,
2394 Register in_lo = locations->InAt(0).AsRegisterPairLow<Register>();
2395 Register in_hi = locations->InAt(0).AsRegisterPairHigh<Register>();
2396 Register out_lo = locations->Out().AsRegisterPairLow<Register>();
2397 Register out_hi = locations->Out().AsRegisterPairHigh<Register>();
2409 Register in = locations->InAt(0).AsRegister<Register>();
2410 Register out = locations->Out().AsRegister<Register>();