Home
last modified time | relevance | path

Searched refs:cfi (Results 1 – 25 of 28) sorted by relevance

12

/art/compiler/jni/
Djni_cfi_test.cc81 jni_asm->cfi().SetEnabled(true); in TestImplSized()
91 ASSERT_EQ(jni_asm->cfi().GetCurrentCFAOffset(), frame_size); in TestImplSized()
92 const std::vector<uint8_t>& actual_cfi = *(jni_asm->cfi().data()); in TestImplSized()
/art/compiler/utils/x86/
Djni_macro_assembler_x86.cc49 cfi().SetCurrentCFAOffset(4); // Return address on stack. in BuildFrame()
56 cfi().AdjustCFAOffset(kFramePointerSize); in BuildFrame()
57 cfi().RelOffset(DWARFReg(spill), 0); in BuildFrame()
65 cfi().AdjustCFAOffset(adjust); in BuildFrame()
67 cfi().AdjustCFAOffset(kFramePointerSize); in BuildFrame()
68 DCHECK_EQ(static_cast<size_t>(cfi().GetCurrentCFAOffset()), frame_size); in BuildFrame()
90 cfi().RememberState(); in RemoveFrame()
94 cfi().AdjustCFAOffset(-adjust); in RemoveFrame()
98 cfi().AdjustCFAOffset(-static_cast<int>(kFramePointerSize)); in RemoveFrame()
99 cfi().Restore(DWARFReg(spill)); in RemoveFrame()
[all …]
/art/compiler/utils/x86_64/
Djni_macro_assembler_x86_64.cc43 cfi().SetCurrentCFAOffset(8); // Return address on stack. in BuildFrame()
51 cfi().AdjustCFAOffset(kFramePointerSize); in BuildFrame()
52 cfi().RelOffset(DWARFReg(spill.AsCpuRegister().AsRegister()), 0); in BuildFrame()
60 cfi().AdjustCFAOffset(rest_of_frame); in BuildFrame()
69 cfi().RelOffset(DWARFReg(spill.AsXmmRegister().AsFloatRegister()), offset); in BuildFrame()
105 cfi().RememberState(); in RemoveFrame()
116 cfi().Restore(DWARFReg(spill.AsXmmRegister().AsFloatRegister())); in RemoveFrame()
123 cfi().AdjustCFAOffset(-adjust); in RemoveFrame()
128 cfi().AdjustCFAOffset(-static_cast<int>(kFramePointerSize)); in RemoveFrame()
129 cfi().Restore(DWARFReg(spill.AsCpuRegister().AsRegister())); in RemoveFrame()
[all …]
/art/compiler/debug/
Delf_debug_frame_writer.h185 if (!method_infos[i].cfi.empty() && !method_infos[i].deduped) { in WriteCFISection()
196 ArrayRef<const uint8_t> l = lhs->cfi; in WriteCFISection()
197 ArrayRef<const uint8_t> r = rhs->cfi; in WriteCFISection()
226 DCHECK(!mi->cfi.empty()); in WriteCFISection()
235 mi->cfi, format, buffer_address, &buffer, in WriteCFISection()
Dmethod_debug_info.h42 ArrayRef<const uint8_t> cfi; member
/art/compiler/utils/arm/
Djni_macro_assembler_arm_vixl.cc75 cfi().AdjustCFAOffset(POPCOUNT(core_spill_mask) * kFramePointerSize); in BuildFrame()
76 cfi().RelOffsetForMany(DWARFReg(r0), 0, core_spill_mask, kFramePointerSize); in BuildFrame()
84 cfi().AdjustCFAOffset(POPCOUNT(fp_spill_mask) * kFramePointerSize); in BuildFrame()
85 cfi().RelOffsetForMany(DWARFReg(s0), 0, fp_spill_mask, kFramePointerSize); in BuildFrame()
121 cfi().RememberState(); in RemoveFrame()
146 cfi().AdjustCFAOffset(-kFramePointerSize * POPCOUNT(fp_spill_mask)); in RemoveFrame()
147 cfi().RestoreMany(DWARFReg(s0), fp_spill_mask); in RemoveFrame()
163 cfi().RestoreState(); in RemoveFrame()
164 cfi().DefCFAOffset(frame_size); in RemoveFrame()
170 cfi().AdjustCFAOffset(adjust); in IncreaseFrameSize()
[all …]
/art/compiler/utils/
Djni_macro_assembler.h217 virtual DebugFrameOpCodeWriterForAssembler& cfi() = 0;
260 DebugFrameOpCodeWriterForAssembler& cfi() OVERRIDE { in cfi() function
261 return asm_.cfi(); in cfi()
Dassembler.h393 DebugFrameOpCodeWriterForAssembler& cfi() { return cfi_; } in cfi() function
/art/compiler/optimizing/
Doptimizing_cfi_test.cc63 code_gen_->GetAssembler()->cfi().SetEnabled(true); in SetUpFrame()
103 const std::vector<uint8_t>& actual_cfi = *(opt_asm->cfi().data()); in Check()
Doptimizing_compiler.cc878 ArrayRef<const uint8_t>(*codegen->GetAssembler()->cfi().data()), in Emit()
972 codegen->GetAssembler()->cfi().SetEnabled( in TryCompile()
1272 info.cfi = ArrayRef<const uint8_t>(*codegen->GetAssembler()->cfi().data()); in JitCompile()
Dintrinsics_x86.cc971 __ cfi().AdjustCFAOffset(16); in GenFPToFPCall()
990 __ cfi().AdjustCFAOffset(-16); in GenFPToFPCall()
1791 __ cfi().AdjustCFAOffset(stack_adjust); in VisitStringGetCharsNoCheck()
1807 __ cfi().AdjustCFAOffset(stack_adjust); in VisitStringGetCharsNoCheck()
1844 __ cfi().AdjustCFAOffset(-stack_adjust); in VisitStringGetCharsNoCheck()
1848 __ cfi().AdjustCFAOffset(-stack_adjust); in VisitStringGetCharsNoCheck()
3251 __ cfi().AdjustCFAOffset(4); in VisitSystemArrayCopy()
3253 __ cfi().AdjustCFAOffset(-4); in VisitSystemArrayCopy()
3274 __ cfi().AdjustCFAOffset(4); in VisitSystemArrayCopy()
3276 __ cfi().AdjustCFAOffset(-4); in VisitSystemArrayCopy()
Dcode_generator_x86_64.cc1262 __ cfi().SetCurrentCFAOffset(kX86_64WordSize); // return address in GenerateFrameEntry()
1282 __ cfi().AdjustCFAOffset(kX86_64WordSize); in GenerateFrameEntry()
1283 __ cfi().RelOffset(DWARFReg(reg), 0); in GenerateFrameEntry()
1289 __ cfi().AdjustCFAOffset(adjust); in GenerateFrameEntry()
1297 __ cfi().RelOffset(DWARFReg(kFpuCalleeSaves[i]), offset); in GenerateFrameEntry()
1316 __ cfi().RememberState(); in GenerateFrameExit()
1324 __ cfi().Restore(DWARFReg(kFpuCalleeSaves[i])); in GenerateFrameExit()
1330 __ cfi().AdjustCFAOffset(-adjust); in GenerateFrameExit()
1336 __ cfi().AdjustCFAOffset(-static_cast<int>(kX86_64WordSize)); in GenerateFrameExit()
1337 __ cfi().Restore(DWARFReg(reg)); in GenerateFrameExit()
[all …]
Dcode_generator_x86.cc1063 __ cfi().SetCurrentCFAOffset(kX86WordSize); // return address in GenerateFrameEntry()
1082 __ cfi().AdjustCFAOffset(kX86WordSize); in GenerateFrameEntry()
1083 __ cfi().RelOffset(DWARFReg(reg), 0); in GenerateFrameEntry()
1089 __ cfi().AdjustCFAOffset(adjust); in GenerateFrameEntry()
1104 __ cfi().RememberState(); in GenerateFrameExit()
1108 __ cfi().AdjustCFAOffset(-adjust); in GenerateFrameExit()
1114 __ cfi().AdjustCFAOffset(-static_cast<int>(kX86WordSize)); in GenerateFrameExit()
1115 __ cfi().Restore(DWARFReg(reg)); in GenerateFrameExit()
1120 __ cfi().RestoreState(); in GenerateFrameExit()
1121 __ cfi().DefCFAOffset(GetFrameSize()); in GenerateFrameExit()
Dcode_generator_arm_vixl.cc2659 GetAssembler()->cfi().AdjustCFAOffset(kArmWordSize * POPCOUNT(core_spill_mask_)); in GenerateFrameEntry()
2660 GetAssembler()->cfi().RelOffsetForMany(DWARFReg(kMethodRegister), in GenerateFrameEntry()
2671 GetAssembler()->cfi().AdjustCFAOffset(kArmWordSize * POPCOUNT(fpu_spill_mask_)); in GenerateFrameEntry()
2672 GetAssembler()->cfi().RelOffsetForMany(DWARFReg(s0), 0, fpu_spill_mask_, kArmWordSize); in GenerateFrameEntry()
2677 GetAssembler()->cfi().AdjustCFAOffset(adjust); in GenerateFrameEntry()
2700 GetAssembler()->cfi().RememberState(); in GenerateFrameExit()
2703 GetAssembler()->cfi().AdjustCFAOffset(-adjust); in GenerateFrameExit()
2711 GetAssembler()->cfi().AdjustCFAOffset( in GenerateFrameExit()
2713 GetAssembler()->cfi().RestoreMany(DWARFReg(vixl32::SRegister(0)), fpu_spill_mask_); in GenerateFrameExit()
2719 GetAssembler()->cfi().RestoreState(); in GenerateFrameExit()
[all …]
Dcode_generator_mips64.cc1180 __ cfi().RelOffset(DWARFReg(reg), ofs); in GenerateFrameEntry()
1189 __ cfi().RelOffset(DWARFReg(reg), ofs); in GenerateFrameEntry()
1207 __ cfi().RememberState(); in GenerateFrameExit()
1219 __ cfi().Restore(DWARFReg(reg)); in GenerateFrameExit()
1228 __ cfi().Restore(DWARFReg(reg)); in GenerateFrameExit()
1237 __ cfi().RestoreState(); in GenerateFrameExit()
1238 __ cfi().DefCFAOffset(GetFrameSize()); in GenerateFrameExit()
Dcode_generator_arm64.cc1586 GetAssembler()->cfi().AdjustCFAOffset(frame_size); in GenerateFrameEntry()
1601 GetAssembler()->cfi().RememberState(); in GenerateFrameExit()
1609 GetAssembler()->cfi().AdjustCFAOffset(-frame_size); in GenerateFrameExit()
1612 GetAssembler()->cfi().RestoreState(); in GenerateFrameExit()
1613 GetAssembler()->cfi().DefCFAOffset(GetFrameSize()); in GenerateFrameExit()
Dcode_generator.cc241 DCHECK_EQ(GetAssembler()->cfi().GetCurrentCFAOffset(), static_cast<int>(frame_size_)); in Compile()
/art/compiler/jni/quick/
Djni_compiler.cc222 jni_asm->cfi().SetEnabled(driver->GetCompilerOptions().GenerateAnyDebugInfo()); in ArtJniCompileMethodInternal()
234 DCHECK_EQ(jni_asm->cfi().GetCurrentCFAOffset(), static_cast<int>(frame_size)); in ArtJniCompileMethodInternal()
646 DCHECK_EQ(jni_asm->cfi().GetCurrentCFAOffset(), static_cast<int>(frame_size)); in ArtJniCompileMethodInternal()
648 DCHECK_EQ(jni_asm->cfi().GetCurrentCFAOffset(), static_cast<int>(frame_size)); in ArtJniCompileMethodInternal()
665 ArrayRef<const uint8_t>(*jni_asm->cfi().data()), in ArtJniCompileMethodInternal()
/art/compiler/utils/arm64/
Djni_macro_assembler_arm64.cc63 cfi().AdjustCFAOffset(adjust); in IncreaseFrameSize()
70 cfi().AdjustCFAOffset(-adjust); in DecreaseFrameSize()
769 cfi().RememberState(); in RemoveFrame()
789 cfi().RestoreState(); in RemoveFrame()
790 cfi().DefCFAOffset(frame_size); in RemoveFrame()
/art/test/
DAndroid.bp389 "137-cfi/cfi.cc",
/art/compiler/utils/mips64/
Dassembler_mips64.cc51 if (cfi().NumberOfDelayedAdvancePCs() == 0u) { in PatchCFI()
56 const auto data = cfi().ReleaseStreamAndPrepareForDelayedAdvancePC(); in PatchCFI()
61 cfi().ReserveCFIStream(old_stream.size() + advances.size() + 16); in PatchCFI()
66 cfi().AppendRawData(old_stream, stream_pos, advance.stream_pos); in PatchCFI()
70 cfi().AdvancePC(final_pc); in PatchCFI()
73 cfi().AppendRawData(old_stream, stream_pos, old_stream.size()); in PatchCFI()
Dassembler_mips64.h432 cfi().DelayEmittingAdvancePCs(); in Assembler()
442 DebugFrameOpCodeWriterForAssembler& cfi() { return Assembler::cfi(); } in cfi() function
/art/compiler/utils/mips/
Dassembler_mips.h203 cfi().DelayEmittingAdvancePCs(); in Assembler()
208 DebugFrameOpCodeWriterForAssembler& cfi() { return Assembler::cfi(); } in cfi() function
Dassembler_mips.cc245 size_t number_of_delayed_adjust_pcs = cfi().NumberOfDelayedAdvancePCs(); in FinalizeInstructions()
253 if (cfi().NumberOfDelayedAdvancePCs() == 0u) { in PatchCFI()
259 const auto data = cfi().ReleaseStreamAndPrepareForDelayedAdvancePC(); in PatchCFI()
277 cfi().AppendRawData(old_stream, 0u, advances[0].stream_pos); in PatchCFI()
296 cfi().AdvancePC(advance_pc); in PatchCFI()
298 cfi().AppendRawData(old_stream, advances[entry].stream_pos, end_pos); in PatchCFI()
/art/runtime/arch/mips64/
Dquick_entrypoints_mips64.S118 .cfi_rel_offset 28, 56 # Value from gp is pushed, so set the cfi offset accordingly.
627 .cfi_rel_offset 28, 80 # Value from gp is pushed, so set the cfi offset accordingly.

12