Home
last modified time | relevance | path

Searched refs:stack_index (Results 1 – 15 of 15) sorted by relevance

/art/compiler/optimizing/
Dlocations.h242 static uintptr_t EncodeStackIndex(intptr_t stack_index) { in EncodeStackIndex() argument
243 DCHECK(-kStackIndexBias <= stack_index); in EncodeStackIndex()
244 DCHECK(stack_index < kStackIndexBias); in EncodeStackIndex()
245 return static_cast<uintptr_t>(kStackIndexBias + stack_index); in EncodeStackIndex()
248 static Location StackSlot(intptr_t stack_index) { in StackSlot() argument
249 uintptr_t payload = EncodeStackIndex(stack_index); in StackSlot()
252 DCHECK_EQ(loc.GetStackIndex(), stack_index); in StackSlot()
260 static Location DoubleStackSlot(intptr_t stack_index) { in DoubleStackSlot() argument
261 uintptr_t payload = EncodeStackIndex(stack_index); in DoubleStackSlot()
264 DCHECK_EQ(loc.GetStackIndex(), stack_index); in DoubleStackSlot()
[all …]
Dcode_generator_x86_64.h343 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) override;
344 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) override;
345 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
346 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
Dcode_generator_x86.h369 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) override;
370 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) override;
371 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
372 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
Dcode_generator.h282 virtual size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) = 0;
284 virtual size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) = 0;
286 virtual size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) = 0;
287 virtual size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) = 0;
Dcode_generator_arm_vixl.h466 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) override;
467 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) override;
468 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
469 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
Dcode_generator_arm64.h622 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) override;
623 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) override;
624 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
625 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
Dcode_generator_x86_64.cc1360 size_t CodeGeneratorX86_64::SaveCoreRegister(size_t stack_index, uint32_t reg_id) { in SaveCoreRegister() argument
1361 __ movq(Address(CpuRegister(RSP), stack_index), CpuRegister(reg_id)); in SaveCoreRegister()
1365 size_t CodeGeneratorX86_64::RestoreCoreRegister(size_t stack_index, uint32_t reg_id) { in RestoreCoreRegister() argument
1366 __ movq(CpuRegister(reg_id), Address(CpuRegister(RSP), stack_index)); in RestoreCoreRegister()
1370 size_t CodeGeneratorX86_64::SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in SaveFloatingPointRegister() argument
1372 __ movups(Address(CpuRegister(RSP), stack_index), XmmRegister(reg_id)); in SaveFloatingPointRegister()
1374 __ movsd(Address(CpuRegister(RSP), stack_index), XmmRegister(reg_id)); in SaveFloatingPointRegister()
1379 size_t CodeGeneratorX86_64::RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in RestoreFloatingPointRegister() argument
1381 __ movups(XmmRegister(reg_id), Address(CpuRegister(RSP), stack_index)); in RestoreFloatingPointRegister()
1383 __ movsd(XmmRegister(reg_id), Address(CpuRegister(RSP), stack_index)); in RestoreFloatingPointRegister()
Dcode_generator_arm_vixl.cc1060 size_t CodeGeneratorARMVIXL::SaveCoreRegister(size_t stack_index ATTRIBUTE_UNUSED, in SaveCoreRegister()
1067 size_t CodeGeneratorARMVIXL::RestoreCoreRegister(size_t stack_index ATTRIBUTE_UNUSED, in RestoreCoreRegister()
1073 size_t CodeGeneratorARMVIXL::SaveFloatingPointRegister(size_t stack_index ATTRIBUTE_UNUSED, in SaveFloatingPointRegister()
1079 size_t CodeGeneratorARMVIXL::RestoreFloatingPointRegister(size_t stack_index ATTRIBUTE_UNUSED, in RestoreFloatingPointRegister()
2367 uint32_t stack_index = stack_index_++; in GetNextLocation() local
2371 return Location::StackSlot(calling_convention.GetStackOffsetOf(stack_index)); in GetNextLocation()
2377 uint32_t stack_index = stack_index_; in GetNextLocation() local
2394 return Location::DoubleStackSlot(calling_convention.GetStackOffsetOf(stack_index)); in GetNextLocation()
2399 uint32_t stack_index = stack_index_++; in GetNextLocation() local
2406 return Location::StackSlot(calling_convention.GetStackOffsetOf(stack_index)); in GetNextLocation()
[all …]
Dcode_generator_x86.cc994 size_t CodeGeneratorX86::SaveCoreRegister(size_t stack_index, uint32_t reg_id) { in SaveCoreRegister() argument
995 __ movl(Address(ESP, stack_index), static_cast<Register>(reg_id)); in SaveCoreRegister()
999 size_t CodeGeneratorX86::RestoreCoreRegister(size_t stack_index, uint32_t reg_id) { in RestoreCoreRegister() argument
1000 __ movl(static_cast<Register>(reg_id), Address(ESP, stack_index)); in RestoreCoreRegister()
1004 size_t CodeGeneratorX86::SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in SaveFloatingPointRegister() argument
1006 __ movups(Address(ESP, stack_index), XmmRegister(reg_id)); in SaveFloatingPointRegister()
1008 __ movsd(Address(ESP, stack_index), XmmRegister(reg_id)); in SaveFloatingPointRegister()
1013 size_t CodeGeneratorX86::RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in RestoreFloatingPointRegister() argument
1015 __ movups(XmmRegister(reg_id), Address(ESP, stack_index)); in RestoreFloatingPointRegister()
1017 __ movsd(XmmRegister(reg_id), Address(ESP, stack_index)); in RestoreFloatingPointRegister()
Dcode_generator_arm64.cc1371 size_t CodeGeneratorARM64::SaveCoreRegister(size_t stack_index, uint32_t reg_id) { in SaveCoreRegister() argument
1373 __ Str(reg, MemOperand(sp, stack_index)); in SaveCoreRegister()
1377 size_t CodeGeneratorARM64::RestoreCoreRegister(size_t stack_index, uint32_t reg_id) { in RestoreCoreRegister() argument
1379 __ Ldr(reg, MemOperand(sp, stack_index)); in RestoreCoreRegister()
1383 size_t CodeGeneratorARM64::SaveFloatingPointRegister(size_t stack_index ATTRIBUTE_UNUSED, in SaveFloatingPointRegister()
1390 size_t CodeGeneratorARM64::RestoreFloatingPointRegister(size_t stack_index ATTRIBUTE_UNUSED, in RestoreFloatingPointRegister()
/art/runtime/interpreter/mterp/arm64ng/
Dmain.S1052 .macro LOOP_RANGE_OVER_SHORTY_LOADING_FPS dreg, sreg, shorty, arg_index, stack_index, finished
1061 add \stack_index, \stack_index, #1
1066 add \stack_index, \stack_index, #1
1071 add \stack_index, \stack_index, #2
1076 add \stack_index, \stack_index, #1
1089 .macro LOOP_RANGE_OVER_FPs shorty, arg_index, stack_index, finished
1098 add \stack_index, \stack_index, #1
1103 add \stack_index, \stack_index, #1
1107 add ip2, sp, \stack_index, uxtw #2
1110 add \stack_index, \stack_index, #2
[all …]
/art/runtime/interpreter/mterp/armng/
Dmain.S1168 .macro LOOP_RANGE_OVER_SHORTY_LOADING_GPRS reg32, shorty, arg_index, stack_index, finished, if_long…
1181 add \stack_index, \stack_index, #1
1190 add \stack_index, \stack_index, #1
1193 add \stack_index, \stack_index, #1
1198 add \stack_index, \stack_index, #1
1202 add \stack_index, \stack_index, #2
1210 .macro LOOP_RANGE_OVER_INTs shorty, arg_index, stack_index, finished
1222 str ip, [sp, \stack_index, lsl #2]
1224 add \stack_index, \stack_index, #1
1228 str ip, [sp, \stack_index, lsl #2]
[all …]
/art/runtime/interpreter/mterp/x86_64ng/
Dmain.S536 .macro LOOP_RANGE_OVER_SHORTY_LOADING_XMMS xmm_reg, shorty, arg_index, stack_index, finished
547 addq MACRO_LITERAL(1), REG_VAR(stack_index)
552 addq MACRO_LITERAL(1), REG_VAR(stack_index)
557 addq MACRO_LITERAL(2), REG_VAR(stack_index)
562 addq MACRO_LITERAL(1), REG_VAR(stack_index)
575 .macro LOOP_RANGE_OVER_FPs shorty, arg_index, stack_index, finished
586 addq MACRO_LITERAL(1), REG_VAR(stack_index)
591 addq MACRO_LITERAL(1), REG_VAR(stack_index)
595 movq %rax, 8(%rsp, REG_VAR(stack_index), 4)
597 addq MACRO_LITERAL(2), REG_VAR(stack_index)
[all …]
/art/runtime/interpreter/mterp/
Dnterp.cc162 uint32_t stack_index, in NterpSetupArm32Fprs() argument
179 stack_index += 2; in NterpSetupArm32Fprs()
181 stack_args[stack_index++] = registers[dex_register++]; in NterpSetupArm32Fprs()
182 stack_args[stack_index++] = registers[dex_register++]; in NterpSetupArm32Fprs()
192 stack_index++; in NterpSetupArm32Fprs()
194 stack_args[stack_index++] = registers[dex_register++]; in NterpSetupArm32Fprs()
199 stack_index += 2; in NterpSetupArm32Fprs()
204 stack_index++; in NterpSetupArm32Fprs()
/art/runtime/
Dthread.cc4020 size_t stack_index ATTRIBUTE_UNUSED, in VisitQuickFrameNonPrecise()
4074 void VisitStack(mirror::Object** ref, size_t stack_index, const StackVisitor* stack_visitor) in VisitQuickFramePrecise()
4076 const size_t stack_offset = stack_index * kFrameSlotSize; in VisitQuickFramePrecise()