Home
last modified time | relevance | path

Searched refs:cfi (Results 1 – 25 of 33) 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/utils/arm/
Djni_macro_assembler_arm.cc66 DebugFrameOpCodeWriterForAssembler& ArmJNIMacroAssembler::cfi() { in cfi() function in art::arm::ArmJNIMacroAssembler
67 return asm_->cfi(); in cfi()
107 cfi().AdjustCFAOffset(POPCOUNT(core_spill_mask) * kFramePointerSize); in BuildFrame()
108 cfi().RelOffsetForMany(DWARFReg(Register(0)), 0, core_spill_mask, kFramePointerSize); in BuildFrame()
111 cfi().AdjustCFAOffset(POPCOUNT(fp_spill_mask) * kFramePointerSize); in BuildFrame()
112 cfi().RelOffsetForMany(DWARFReg(SRegister(0)), 0, fp_spill_mask, kFramePointerSize); in BuildFrame()
147 cfi().RememberState(); in RemoveFrame()
167 cfi().AdjustCFAOffset(-kFramePointerSize * POPCOUNT(fp_spill_mask)); in RemoveFrame()
168 cfi().RestoreMany(DWARFReg(SRegister(0)), fp_spill_mask); in RemoveFrame()
175 cfi().RestoreState(); in RemoveFrame()
[all …]
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()
145 cfi().AdjustCFAOffset(-kFramePointerSize * POPCOUNT(fp_spill_mask)); in RemoveFrame()
146 cfi().RestoreMany(DWARFReg(s0), fp_spill_mask); in RemoveFrame()
153 cfi().RestoreState(); in RemoveFrame()
154 cfi().DefCFAOffset(frame_size); in RemoveFrame()
160 cfi().AdjustCFAOffset(adjust); in IncreaseFrameSize()
[all …]
Djni_macro_assembler_arm.h42 DebugFrameOpCodeWriterForAssembler& cfi() OVERRIDE;
Dassembler_thumb2.cc300 if (cfi().NumberOfDelayedAdvancePCs() == 0u) { in PatchCFI()
305 const auto data = cfi().ReleaseStreamAndPrepareForDelayedAdvancePC(); in PatchCFI()
310 cfi().ReserveCFIStream(old_stream.size() + advances.size() + 16); in PatchCFI()
315 cfi().AppendRawData(old_stream, stream_pos, advance.stream_pos); in PatchCFI()
319 cfi().AdvancePC(final_pc); in PatchCFI()
322 cfi().AppendRawData(old_stream, stream_pos, old_stream.size()); in PatchCFI()
/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/
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/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/optimizing/
Doptimizing_cfi_test.cc69 code_gen_->GetAssembler()->cfi().SetEnabled(true); in SetUpFrame()
109 const std::vector<uint8_t>& actual_cfi = *(opt_asm->cfi().data()); in Check()
Doptimizing_compiler.cc873 ArrayRef<const uint8_t>(*codegen->GetAssembler()->cfi().data()), in Emit()
967 codegen->GetAssembler()->cfi().SetEnabled( in TryCompile()
1266 info.cfi = ArrayRef<const uint8_t>(*codegen->GetAssembler()->cfi().data()); in JitCompile()
Dintrinsics_x86.cc973 __ cfi().AdjustCFAOffset(16); in GenFPToFPCall()
992 __ cfi().AdjustCFAOffset(-16); in GenFPToFPCall()
1793 __ cfi().AdjustCFAOffset(stack_adjust); in VisitStringGetCharsNoCheck()
1809 __ cfi().AdjustCFAOffset(stack_adjust); in VisitStringGetCharsNoCheck()
1846 __ cfi().AdjustCFAOffset(-stack_adjust); in VisitStringGetCharsNoCheck()
1850 __ cfi().AdjustCFAOffset(-stack_adjust); in VisitStringGetCharsNoCheck()
3312 __ cfi().AdjustCFAOffset(4); in VisitSystemArrayCopy()
3314 __ cfi().AdjustCFAOffset(-4); in VisitSystemArrayCopy()
3335 __ cfi().AdjustCFAOffset(4); in VisitSystemArrayCopy()
3337 __ cfi().AdjustCFAOffset(-4); in VisitSystemArrayCopy()
Dcode_generator_x86_64.cc1267 __ cfi().SetCurrentCFAOffset(kX86_64WordSize); // return address in GenerateFrameEntry()
1287 __ cfi().AdjustCFAOffset(kX86_64WordSize); in GenerateFrameEntry()
1288 __ cfi().RelOffset(DWARFReg(reg), 0); in GenerateFrameEntry()
1294 __ cfi().AdjustCFAOffset(adjust); in GenerateFrameEntry()
1302 __ cfi().RelOffset(DWARFReg(kFpuCalleeSaves[i]), offset); in GenerateFrameEntry()
1322 __ cfi().RememberState(); in GenerateFrameExit()
1330 __ cfi().Restore(DWARFReg(kFpuCalleeSaves[i])); in GenerateFrameExit()
1336 __ cfi().AdjustCFAOffset(-adjust); in GenerateFrameExit()
1342 __ cfi().AdjustCFAOffset(-static_cast<int>(kX86_64WordSize)); in GenerateFrameExit()
1343 __ 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()
1094 __ 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.cc2079 __ cfi().AdjustCFAOffset(kArmWordSize * POPCOUNT(core_spill_mask_)); in GenerateFrameEntry()
2080 __ cfi().RelOffsetForMany(DWARFReg(kMethodRegisterArgument), 0, core_spill_mask_, kArmWordSize); in GenerateFrameEntry()
2084 __ cfi().AdjustCFAOffset(kArmWordSize * POPCOUNT(fpu_spill_mask_)); in GenerateFrameEntry()
2085 __ cfi().RelOffsetForMany(DWARFReg(S0), 0, fpu_spill_mask_, kArmWordSize); in GenerateFrameEntry()
2096 __ cfi().AdjustCFAOffset(adjust); in GenerateFrameEntry()
2111 __ cfi().RememberState(); in GenerateFrameExit()
2114 __ cfi().AdjustCFAOffset(-adjust); in GenerateFrameExit()
2118 __ cfi().AdjustCFAOffset(-static_cast<int>(kArmPointerSize) * POPCOUNT(fpu_spill_mask_)); in GenerateFrameExit()
2119 __ cfi().RestoreMany(DWARFReg(SRegister(0)), fpu_spill_mask_); in GenerateFrameExit()
2125 __ cfi().RestoreState(); in GenerateFrameExit()
[all …]
Dcode_generator_arm_vixl.cc2157 GetAssembler()->cfi().AdjustCFAOffset(kArmWordSize * POPCOUNT(core_spill_mask_)); in GenerateFrameEntry()
2158 GetAssembler()->cfi().RelOffsetForMany(DWARFReg(kMethodRegister), in GenerateFrameEntry()
2169 GetAssembler()->cfi().AdjustCFAOffset(kArmWordSize * POPCOUNT(fpu_spill_mask_)); in GenerateFrameEntry()
2170 GetAssembler()->cfi().RelOffsetForMany(DWARFReg(s0), 0, fpu_spill_mask_, kArmWordSize); in GenerateFrameEntry()
2183 GetAssembler()->cfi().AdjustCFAOffset(adjust); in GenerateFrameEntry()
2198 GetAssembler()->cfi().RememberState(); in GenerateFrameExit()
2201 GetAssembler()->cfi().AdjustCFAOffset(-adjust); in GenerateFrameExit()
2209 GetAssembler()->cfi().AdjustCFAOffset( in GenerateFrameExit()
2211 GetAssembler()->cfi().RestoreMany(DWARFReg(vixl32::SRegister(0)), fpu_spill_mask_); in GenerateFrameExit()
2217 GetAssembler()->cfi().RestoreState(); in GenerateFrameExit()
[all …]
/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()
782 cfi().RestoreState(); in RemoveFrame()
783 cfi().DefCFAOffset(frame_size); in RemoveFrame()
/art/test/
DAndroid.bp375 "137-cfi/cfi.cc",
/art/compiler/utils/mips/
Dassembler_mips.h198 cfi().DelayEmittingAdvancePCs(); in Assembler()
203 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/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.h429 cfi().DelayEmittingAdvancePCs(); in Assembler()
439 DebugFrameOpCodeWriterForAssembler& cfi() { return Assembler::cfi(); } in cfi() function

12