Home
last modified time | relevance | path

Searched refs:stack_offset (Results 1 – 9 of 9) sorted by relevance

/art/compiler/utils/arm/
Dassembler_arm_vixl.cc384 void ArmVIXLAssembler::StoreRegisterList(RegList regs, size_t stack_offset) { in StoreRegisterList() argument
390 if (stack_offset != 0) { in StoreRegisterList()
393 ___ Add(base, sp, Operand::From(stack_offset)); in StoreRegisterList()
398 ___ Str(vixl32::Register(i), MemOperand(sp, stack_offset)); in StoreRegisterList()
399 stack_offset += kRegSizeInBytes; in StoreRegisterList()
405 void ArmVIXLAssembler::LoadRegisterList(RegList regs, size_t stack_offset) { in LoadRegisterList() argument
411 if (stack_offset != 0) { in LoadRegisterList()
413 ___ Add(base, sp, Operand::From(stack_offset)); in LoadRegisterList()
418 ___ Ldr(vixl32::Register(i), MemOperand(sp, stack_offset)); in LoadRegisterList()
419 stack_offset += kRegSizeInBytes; in LoadRegisterList()
Dassembler_arm_vixl.h233 void LoadRegisterList(RegList regs, size_t stack_offset);
234 void StoreRegisterList(RegList regs, size_t stack_offset);
/art/libelffile/dwarf/
Dexpression.h69 void WriteOpFbreg(int32_t stack_offset) { in WriteOpFbreg() argument
71 PushSleb128(stack_offset); in WriteOpFbreg()
/art/compiler/optimizing/
Dcode_generator.cc659 size_t stack_offset = static_cast<size_t>(pointer_size); // Start after the ArtMethod*. in CreateStringBuilderAppendLocations() local
673 locations->SetInAt(i, Location::StackSlot(stack_offset)); in CreateStringBuilderAppendLocations()
677 stack_offset = RoundUp(stack_offset, sizeof(uint64_t)); in CreateStringBuilderAppendLocations()
678 locations->SetInAt(i, Location::DoubleStackSlot(stack_offset)); in CreateStringBuilderAppendLocations()
680 stack_offset += sizeof(uint32_t); in CreateStringBuilderAppendLocations()
688 stack_offset += sizeof(uint32_t); in CreateStringBuilderAppendLocations()
692 size_t param_size = stack_offset - static_cast<size_t>(pointer_size); in CreateStringBuilderAppendLocations()
1697 size_t stack_offset = codegen->GetFirstRegisterSlotInSlowPath(); in SaveLiveRegisters() local
1703 locations->SetStackBit(stack_offset / kVRegSize); in SaveLiveRegisters()
1705 DCHECK_LT(stack_offset, codegen->GetFrameSize() - codegen->FrameEntrySpillSize()); in SaveLiveRegisters()
[all …]
Dcode_generator_arm_vixl.cc174 size_t stack_offset) { in SaveContiguousSRegisterList() argument
179 __ Vstr(vixl32::SRegister(first), MemOperand(sp, stack_offset)); in SaveContiguousSRegisterList()
180 return stack_offset + kSRegSizeInBytes; in SaveContiguousSRegisterList()
183 __ Vstr(vixl32::SRegister(first++), MemOperand(sp, stack_offset)); in SaveContiguousSRegisterList()
184 stack_offset += kSRegSizeInBytes; in SaveContiguousSRegisterList()
199 __ Vstr(d_reg, MemOperand(sp, stack_offset)); in SaveContiguousSRegisterList()
203 if (stack_offset != 0) { in SaveContiguousSRegisterList()
205 __ Add(base, sp, Operand::From(stack_offset)); in SaveContiguousSRegisterList()
209 stack_offset += number_of_d_regs * kDRegSizeInBytes; in SaveContiguousSRegisterList()
213 __ Vstr(vixl32::SRegister(last + 1), MemOperand(sp, stack_offset)); in SaveContiguousSRegisterList()
[all …]
Dcode_generator_x86.cc5004 int stack_offset = slow_path->GetStackOffsetOfCoreRegister(location.AsRegister<Register>()); in GetInvokeStaticOrDirectExtraParameter() local
5005 __ movl(temp, Address(ESP, stack_offset)); in GetInvokeStaticOrDirectExtraParameter()
6439 int stack_offset = ensure_scratch.IsSpilled() ? kX86WordSize : 0; in MoveMemoryToMemory() local
6443 __ movl(temp_reg, Address(ESP, src + stack_offset)); in MoveMemoryToMemory()
6444 __ movl(Address(ESP, dst + stack_offset), temp_reg); in MoveMemoryToMemory()
6445 stack_offset += kX86WordSize; in MoveMemoryToMemory()
6620 int stack_offset = ensure_scratch.IsSpilled() ? kX86WordSize : 0; in Exchange() local
6621 __ movl(static_cast<Register>(ensure_scratch.GetRegister()), Address(ESP, mem + stack_offset)); in Exchange()
6622 __ movl(Address(ESP, mem + stack_offset), reg); in Exchange()
6631 int stack_offset = ensure_scratch.IsSpilled() ? kX86WordSize : 0; in Exchange32() local
[all …]
Dcode_generator_arm64.cc215 size_t stack_offset = codegen->GetFirstRegisterSlotInSlowPath(); in SaveLiveRegisters() local
220 locations->SetStackBit(stack_offset / kVRegSize); in SaveLiveRegisters()
222 DCHECK_LT(stack_offset, codegen->GetFrameSize() - codegen->FrameEntrySpillSize()); in SaveLiveRegisters()
224 saved_core_stack_offsets_[i] = stack_offset; in SaveLiveRegisters()
225 stack_offset += kXRegSizeInBytes; in SaveLiveRegisters()
231 DCHECK_LT(stack_offset, codegen->GetFrameSize() - codegen->FrameEntrySpillSize()); in SaveLiveRegisters()
233 saved_fpu_stack_offsets_[i] = stack_offset; in SaveLiveRegisters()
234 stack_offset += fp_reg_size; in SaveLiveRegisters()
860 size_t stack_offset = calling_convention.GetStackOffsetOf(stack_index_); in GetNextLocation() local
861 next_location = DataType::Is64BitType(type) ? Location::DoubleStackSlot(stack_offset) in GetNextLocation()
[all …]
Dcode_generator_x86_64.cc5963 int stack_offset = ensure_scratch.IsSpilled() ? kX86_64WordSize : 0; in ExchangeMemory32() local
5964 __ movl(CpuRegister(TMP), Address(CpuRegister(RSP), mem1 + stack_offset)); in ExchangeMemory32()
5966 Address(CpuRegister(RSP), mem2 + stack_offset)); in ExchangeMemory32()
5967 __ movl(Address(CpuRegister(RSP), mem2 + stack_offset), CpuRegister(TMP)); in ExchangeMemory32()
5968 __ movl(Address(CpuRegister(RSP), mem1 + stack_offset), in ExchangeMemory32()
5976 int stack_offset = ensure_scratch.IsSpilled() ? kX86_64WordSize : 0; in ExchangeMemory64() local
5981 Address(CpuRegister(RSP), mem1 + stack_offset)); in ExchangeMemory64()
5983 Address(CpuRegister(RSP), mem2 + stack_offset)); in ExchangeMemory64()
5984 __ movq(Address(CpuRegister(RSP), mem2 + stack_offset), in ExchangeMemory64()
5986 __ movq(Address(CpuRegister(RSP), mem1 + stack_offset), in ExchangeMemory64()
[all …]
/art/runtime/
Dthread.cc3941 const size_t stack_offset = stack_index * kFrameSlotSize; in VisitQuickFramePrecise() local
3942 FindWithType(stack_offset, in VisitQuickFramePrecise()