Searched refs:gpr_index (Results 1 – 5 of 5) sorted by relevance
/art/runtime/arch/arm/ |
D | quick_entrypoints_cc_arm.cc | 33 uint32_t gpr_index = 1; // Index into core registers. Reserve r0 for ArtMethod*. in quick_invoke_reg_setup() local 41 core_reg_args[gpr_index++] = args[arg_index++]; in quick_invoke_reg_setup() 73 if (gpr_index == 1) { in quick_invoke_reg_setup() 75 gpr_index++; in quick_invoke_reg_setup() 77 if (gpr_index < arraysize(core_reg_args)) { in quick_invoke_reg_setup() 81 core_reg_args[gpr_index++] = args[arg_index]; in quick_invoke_reg_setup() 86 if (gpr_index < arraysize(core_reg_args)) { in quick_invoke_reg_setup() 87 core_reg_args[gpr_index++] = args[arg_index]; in quick_invoke_reg_setup()
|
/art/compiler/jni/quick/mips/ |
D | calling_convention_mips.cc | 144 uint32_t gpr_index = 1; // Skip A0, it is used for ArtMethod*. in EntrySpills() local 166 if (gpr_index == 1 || gpr_index == 3) { in EntrySpills() 168 gpr_index++; in EntrySpills() 170 if (gpr_index < arraysize(kManagedCoreArgumentRegisters) - 1) { in EntrySpills() 172 MipsManagedRegister::FromCoreRegister(kManagedCoreArgumentRegisters[gpr_index++])); in EntrySpills() 173 } else if (gpr_index == arraysize(kManagedCoreArgumentRegisters) - 1) { in EntrySpills() 174 gpr_index++; in EntrySpills() 181 if (gpr_index < arraysize(kManagedCoreArgumentRegisters)) { in EntrySpills() 183 MipsManagedRegister::FromCoreRegister(kManagedCoreArgumentRegisters[gpr_index++])); in EntrySpills()
|
/art/compiler/jni/quick/arm/ |
D | calling_convention_arm.cc | 193 uint32_t gpr_index = 1; // R0 ~ R3. Reserve r0 for ArtMethod*. in EntrySpills() local 224 if (gpr_index < arraysize(kHFCoreArgumentRegisters) - 1) { in EntrySpills() 226 if (gpr_index == 1) { in EntrySpills() 227 gpr_index++; in EntrySpills() 232 if (gpr_index < arraysize(kHFCoreArgumentRegisters) - 1) { in EntrySpills() 234 ArmManagedRegister::FromCoreRegister(kHFCoreArgumentRegisters[gpr_index++])); in EntrySpills() 235 } else if (gpr_index == arraysize(kHFCoreArgumentRegisters) - 1) { in EntrySpills() 236 gpr_index++; in EntrySpills() 243 if (gpr_index < arraysize(kHFCoreArgumentRegisters)) { in EntrySpills() 245 ArmManagedRegister::FromCoreRegister(kHFCoreArgumentRegisters[gpr_index++])); in EntrySpills()
|
/art/runtime/entrypoints/quick/ |
D | quick_trampoline_entrypoints.cc | 106 static size_t GprIndexToGprOffset(uint32_t gpr_index) { in GprIndexToGprOffset() argument 107 return gpr_index * GetBytesPerGprSpillLocation(kRuntimeISA); in GprIndexToGprOffset() 138 static size_t GprIndexToGprOffset(uint32_t gpr_index) { in GprIndexToGprOffset() argument 139 return gpr_index * GetBytesPerGprSpillLocation(kRuntimeISA); in GprIndexToGprOffset() 181 static size_t GprIndexToGprOffset(uint32_t gpr_index) { in GprIndexToGprOffset() argument 182 return gpr_index * GetBytesPerGprSpillLocation(kRuntimeISA); in GprIndexToGprOffset() 222 static size_t GprIndexToGprOffset(uint32_t gpr_index) { in GprIndexToGprOffset() argument 223 return gpr_index * GetBytesPerGprSpillLocation(kRuntimeISA); in GprIndexToGprOffset() 252 static size_t GprIndexToGprOffset(uint32_t gpr_index) { in GprIndexToGprOffset() argument 253 return gpr_index * GetBytesPerGprSpillLocation(kRuntimeISA); in GprIndexToGprOffset() [all …]
|
/art/runtime/arch/mips/ |
D | quick_entrypoints_mips.S | 998 li $t6, 0 # t6 = gpr_index = 0 (corresponds to A2; A0 and A1 are skipped) 1249 LOAD_WORD_TO_REG a1, t8, t6, loopS # a1 = current argument, gpr_index += 16 1250 LOAD_WORD_TO_REG a2, t8, t6, loopS # a2 = current argument, gpr_index += 16 1251 LOAD_WORD_TO_REG a3, t8, t6, loopS # a3 = current argument, gpr_index += 16 1252 LOAD_WORD_TO_REG t0, t8, t6, loopS # t0 = current argument, gpr_index += 16 1253 LOAD_WORD_TO_REG t1, t8, t6, loopS # t1 = current argument, gpr_index += 16 1254 LOAD_END t6, 5*16, loopS # no more GPR args, gpr_index = 5*16 1256 LOAD_LONG_TO_REG a2, a3, t8, t6, 3*16, loopS # a2_a3 = curr_arg, gpr_index = 3*16 1257 LOAD_LONG_TO_REG a2, a3, t8, t6, 3*16, loopS # a2_a3 = curr_arg, gpr_index = 3*16 1258 LOAD_LONG_TO_REG t0, t1, t8, t6, 5*16, loopS # t0_t1 = curr_arg, gpr_index = 5*16 [all …]
|