Home
last modified time | relevance | path

Searched refs:stack_index (Results 1 – 11 of 11) 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.h313 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) override;
314 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) override;
315 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
316 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
Dcode_generator_mips.h498 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) override;
499 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) override;
500 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
501 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
Dcode_generator_mips64.h476 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) override;
477 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) override;
478 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
479 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
Dcode_generator_x86.h333 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) override;
334 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) override;
335 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
336 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
Dcode_generator.h264 virtual size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) = 0;
266 virtual size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) = 0;
268 virtual size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) = 0;
269 virtual size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) = 0;
Dcode_generator_arm64.h467 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) override;
468 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) override;
469 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
470 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
Dcode_generator_arm_vixl.h442 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) override;
443 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) override;
444 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
445 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
Dcode_generator_arm_vixl.cc1037 size_t CodeGeneratorARMVIXL::SaveCoreRegister(size_t stack_index ATTRIBUTE_UNUSED, in SaveCoreRegister()
1044 size_t CodeGeneratorARMVIXL::RestoreCoreRegister(size_t stack_index ATTRIBUTE_UNUSED, in RestoreCoreRegister()
1050 size_t CodeGeneratorARMVIXL::SaveFloatingPointRegister(size_t stack_index ATTRIBUTE_UNUSED, in SaveFloatingPointRegister()
1056 size_t CodeGeneratorARMVIXL::RestoreFloatingPointRegister(size_t stack_index ATTRIBUTE_UNUSED, in RestoreFloatingPointRegister()
2209 uint32_t stack_index = stack_index_++; in GetNextLocation() local
2213 return Location::StackSlot(calling_convention.GetStackOffsetOf(stack_index)); in GetNextLocation()
2219 uint32_t stack_index = stack_index_; in GetNextLocation() local
2236 return Location::DoubleStackSlot(calling_convention.GetStackOffsetOf(stack_index)); in GetNextLocation()
2241 uint32_t stack_index = stack_index_++; in GetNextLocation() local
2248 return Location::StackSlot(calling_convention.GetStackOffsetOf(stack_index)); in GetNextLocation()
[all …]
Dcode_generator_mips64.cc1802 size_t CodeGeneratorMIPS64::SaveCoreRegister(size_t stack_index, uint32_t reg_id) { in SaveCoreRegister() argument
1803 __ StoreToOffset(kStoreDoubleword, GpuRegister(reg_id), SP, stack_index); in SaveCoreRegister()
1807 size_t CodeGeneratorMIPS64::RestoreCoreRegister(size_t stack_index, uint32_t reg_id) { in RestoreCoreRegister() argument
1808 __ LoadFromOffset(kLoadDoubleword, GpuRegister(reg_id), SP, stack_index); in RestoreCoreRegister()
1812 size_t CodeGeneratorMIPS64::SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in SaveFloatingPointRegister() argument
1816 stack_index); in SaveFloatingPointRegister()
1820 size_t CodeGeneratorMIPS64::RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in RestoreFloatingPointRegister() argument
1824 stack_index); in RestoreFloatingPointRegister()
Dcode_generator_mips.cc1940 size_t CodeGeneratorMIPS::SaveCoreRegister(size_t stack_index, uint32_t reg_id) { in SaveCoreRegister() argument
1941 __ StoreToOffset(kStoreWord, Register(reg_id), SP, stack_index); in SaveCoreRegister()
1945 size_t CodeGeneratorMIPS::RestoreCoreRegister(size_t stack_index, uint32_t reg_id) { in RestoreCoreRegister() argument
1946 __ LoadFromOffset(kLoadWord, Register(reg_id), SP, stack_index); in RestoreCoreRegister()
1950 size_t CodeGeneratorMIPS::SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in SaveFloatingPointRegister() argument
1952 __ StoreQToOffset(FRegister(reg_id), SP, stack_index); in SaveFloatingPointRegister()
1954 __ StoreDToOffset(FRegister(reg_id), SP, stack_index); in SaveFloatingPointRegister()
1959 size_t CodeGeneratorMIPS::RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in RestoreFloatingPointRegister() argument
1961 __ LoadQFromOffset(FRegister(reg_id), SP, stack_index); in RestoreFloatingPointRegister()
1963 __ LoadDFromOffset(FRegister(reg_id), SP, stack_index); in RestoreFloatingPointRegister()