Home
last modified time | relevance | path

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

12

/art/compiler/jni/quick/
Djni_compiler.h40 ArrayRef<const uint8_t> cfi) in JniCompiledMethod() argument
46 cfi_(cfi.begin(), cfi.end()) {} in JniCompiledMethod()
Djni_compiler.cc190 jni_asm->cfi().SetEnabled(compiler_options.GenerateAnyDebugInfo()); in ArtJniCompileMethodInternal()
204 DCHECK_EQ(jni_asm->cfi().GetCurrentCFAOffset(), static_cast<int>(current_frame_size)); in ArtJniCompileMethodInternal()
591 DCHECK_EQ(jni_asm->cfi().GetCurrentCFAOffset(), static_cast<int>(current_frame_size)); in ArtJniCompileMethodInternal()
597 DCHECK_EQ(jni_asm->cfi().GetCurrentCFAOffset(), static_cast<int>(current_frame_size)); in ArtJniCompileMethodInternal()
657 jni_asm->cfi().AdjustCFAOffset(main_out_arg_size); in ArtJniCompileMethodInternal()
663 DCHECK_EQ(jni_asm->cfi().GetCurrentCFAOffset(), static_cast<int>(current_frame_size)); in ArtJniCompileMethodInternal()
671 jni_asm->cfi().AdjustCFAOffset(main_out_arg_size); in ArtJniCompileMethodInternal()
677 jni_asm->cfi().AdjustCFAOffset(-main_out_arg_size); in ArtJniCompileMethodInternal()
685 jni_asm->cfi().AdjustCFAOffset(main_out_arg_size); in ArtJniCompileMethodInternal()
699 jni_asm->cfi().AdjustCFAOffset(-main_out_arg_size); in ArtJniCompileMethodInternal()
[all …]
/art/compiler/utils/x86/
Djni_macro_assembler_x86.cc50 cfi().SetCurrentCFAOffset(4); // Return address on stack. in BuildFrame()
65 cfi().AdjustCFAOffset(kFramePointerSize); in BuildFrame()
66 cfi().RelOffset(DWARFReg(spill), 0); in BuildFrame()
75 cfi().AdjustCFAOffset(adjust); in BuildFrame()
79 cfi().AdjustCFAOffset(kFramePointerSize); in BuildFrame()
81 DCHECK_EQ(static_cast<size_t>(cfi().GetCurrentCFAOffset()), frame_size); in BuildFrame()
88 cfi().RememberState(); in RemoveFrame()
93 cfi().AdjustCFAOffset(-adjust); in RemoveFrame()
98 cfi().AdjustCFAOffset(-static_cast<int>(kFramePointerSize)); in RemoveFrame()
99 cfi().Restore(DWARFReg(spill)); in RemoveFrame()
[all …]
/art/compiler/debug/
Delf_debug_frame_writer.h165 if (!method_infos[i].cfi.empty() && !method_infos[i].deduped) { in WriteCFISection()
176 ArrayRef<const uint8_t> l = lhs->cfi; in WriteCFISection()
177 ArrayRef<const uint8_t> r = rhs->cfi; in WriteCFISection()
198 DCHECK(!mi->cfi.empty()); in WriteCFISection()
212 mi->cfi, in WriteCFISection()
Dmethod_debug_info.h46 ArrayRef<const uint8_t> cfi; member
/art/compiler/jni/
Djni_cfi_test.cc86 jni_asm->cfi().SetEnabled(true); in TestImplSized()
103 ASSERT_EQ(jni_asm->cfi().GetCurrentCFAOffset(), frame_size); in TestImplSized()
104 const std::vector<uint8_t>& actual_cfi = *(jni_asm->cfi().data()); in TestImplSized()
/art/compiler/utils/x86_64/
Djni_macro_assembler_x86_64.cc51 cfi().SetCurrentCFAOffset(8); // Return address on stack. in BuildFrame()
64 cfi().AdjustCFAOffset(kFramePointerSize); in BuildFrame()
65 cfi().RelOffset(DWARFReg(spill.AsCpuRegister().AsRegister()), 0); in BuildFrame()
74 cfi().AdjustCFAOffset(rest_of_frame); in BuildFrame()
84 cfi().RelOffset(DWARFReg(spill.AsXmmRegister().AsFloatRegister()), offset); in BuildFrame()
100 cfi().RememberState(); in RemoveFrame()
110 cfi().Restore(DWARFReg(spill.AsXmmRegister().AsFloatRegister())); in RemoveFrame()
120 cfi().AdjustCFAOffset(-offset); in RemoveFrame()
126 cfi().AdjustCFAOffset(-static_cast<int>(kFramePointerSize)); in RemoveFrame()
127 cfi().Restore(DWARFReg(spill.AsCpuRegister().AsRegister())); in RemoveFrame()
[all …]
/art/compiler/utils/
Djni_macro_assembler.h221 virtual DebugFrameOpCodeWriterForAssembler& cfi() = 0;
273 DebugFrameOpCodeWriterForAssembler& cfi() override { in cfi() function
274 return asm_.cfi(); in cfi()
Dassembler.h394 DebugFrameOpCodeWriterForAssembler& cfi() { return cfi_; } in cfi() function
/art/compiler/driver/
Dcompiled_code_storage.h47 ArrayRef<const uint8_t> cfi,
/art/compiler/utils/arm/
Djni_macro_assembler_arm_vixl.cc109 cfi().AdjustCFAOffset(2 * kFramePointerSize); in BuildFrame()
110 cfi().RelOffset(DWARFReg(lr), kFramePointerSize); in BuildFrame()
113 cfi().AdjustCFAOffset(POPCOUNT(core_spill_mask) * kFramePointerSize); in BuildFrame()
114 cfi().RelOffsetForMany(DWARFReg(r0), 0, core_spill_mask, kFramePointerSize); in BuildFrame()
123 cfi().AdjustCFAOffset(POPCOUNT(fp_spill_mask) * kFramePointerSize); in BuildFrame()
124 cfi().RelOffsetForMany(DWARFReg(s0), 0, fp_spill_mask, kFramePointerSize); in BuildFrame()
180 cfi().RememberState(); in RemoveFrame()
194 cfi().AdjustCFAOffset(-kFramePointerSize * POPCOUNT(fp_spill_mask)); in RemoveFrame()
195 cfi().RestoreMany(DWARFReg(s0), fp_spill_mask); in RemoveFrame()
213 cfi().AdjustCFAOffset(-kFramePointerSize * POPCOUNT(core_spill_mask)); in RemoveFrame()
[all …]
/art/compiler/optimizing/
Doptimizing_cfi_test.cc61 code_gen_->GetAssembler()->cfi().SetEnabled(true); in SetUpFrame()
102 ArrayRef<const uint8_t> actual_cfi(*(opt_asm->cfi().data())); in Check()
Doptimizing_compiler.cc734 ArrayRef<const uint8_t>(*codegen->GetAssembler()->cfi().data()), in Emit()
844 codegen->GetAssembler()->cfi().SetEnabled(compiler_options.GenerateAnyDebugInfo()); in TryCompile()
969 codegen->GetAssembler()->cfi().SetEnabled(compiler_options.GenerateAnyDebugInfo()); in TryCompileIntrinsic()
1316 info.cfi = jni_compiled_method.GetCfi(); in JitCompile()
1424 info.cfi = ArrayRef<const uint8_t>(*codegen->GetAssembler()->cfi().data()); in JitCompile()
Dcode_generator_x86.cc1273 __ cfi().AdjustCFAOffset(4); in MaybeIncrementHotness()
1284 __ cfi().AdjustCFAOffset(-4); in MaybeIncrementHotness()
1306 __ cfi().SetCurrentCFAOffset(kX86WordSize); // return address in GenerateFrameEntry()
1361 __ cfi().AdjustCFAOffset(kX86WordSize); in GenerateFrameEntry()
1362 __ cfi().RelOffset(DWARFReg(reg), 0); in GenerateFrameEntry()
1385 __ cfi().RememberState(); in GenerateFrameExit()
1394 __ cfi().AdjustCFAOffset(-static_cast<int>(kX86WordSize)); in GenerateFrameExit()
1395 __ cfi().Restore(DWARFReg(reg)); in GenerateFrameExit()
1400 __ cfi().RestoreState(); in GenerateFrameExit()
1401 __ cfi().DefCFAOffset(GetFrameSize()); in GenerateFrameExit()
[all …]
Dintrinsics_x86.cc483 __ cfi().AdjustCFAOffset(16); in GenFPToFPCall()
502 __ cfi().AdjustCFAOffset(-16); in GenFPToFPCall()
1461 __ cfi().AdjustCFAOffset(stack_adjust); in VisitStringGetCharsNoCheck()
1477 __ cfi().AdjustCFAOffset(stack_adjust); in VisitStringGetCharsNoCheck()
1514 __ cfi().AdjustCFAOffset(-stack_adjust); in VisitStringGetCharsNoCheck()
1518 __ cfi().AdjustCFAOffset(-stack_adjust); in VisitStringGetCharsNoCheck()
3228 __ cfi().AdjustCFAOffset(4); in VisitSystemArrayCopy()
3230 __ cfi().AdjustCFAOffset(-4); in VisitSystemArrayCopy()
3251 __ cfi().AdjustCFAOffset(4); in VisitSystemArrayCopy()
3253 __ cfi().AdjustCFAOffset(-4); in VisitSystemArrayCopy()
Dcode_generator_arm_vixl.cc2247 GetAssembler()->cfi().AdjustCFAOffset(kArmWordSize); in MaybeIncrementHotness()
2260 GetAssembler()->cfi().AdjustCFAOffset(-static_cast<int>(kArmWordSize)); in MaybeIncrementHotness()
2345 GetAssembler()->cfi().Nop(); in GenerateFrameEntry()
2391 GetAssembler()->cfi().AdjustCFAOffset(frame_size); in GenerateFrameEntry()
2392 GetAssembler()->cfi().RelOffsetForMany(DWARFReg(kMethodRegister), in GenerateFrameEntry()
2400 GetAssembler()->cfi().RelOffset(DWARFReg(sreg), /*offset=*/ fp_spills_offset); in GenerateFrameEntry()
2404 GetAssembler()->cfi().AdjustCFAOffset(kArmWordSize * POPCOUNT(core_spill_mask_)); in GenerateFrameEntry()
2405 GetAssembler()->cfi().RelOffsetForMany(DWARFReg(kMethodRegister), in GenerateFrameEntry()
2416 GetAssembler()->cfi().AdjustCFAOffset(kArmWordSize * POPCOUNT(fpu_spill_mask_)); in GenerateFrameEntry()
2417 GetAssembler()->cfi().RelOffsetForMany(DWARFReg(s0), in GenerateFrameEntry()
[all …]
Dcode_generator_x86_64.cc1700 __ cfi().SetCurrentCFAOffset(kX86_64WordSize); // return address in GenerateFrameEntry()
1756 __ cfi().AdjustCFAOffset(kX86_64WordSize); in GenerateFrameEntry()
1757 __ cfi().RelOffset(DWARFReg(reg), 0); in GenerateFrameEntry()
1770 __ cfi().RelOffset(DWARFReg(kFpuCalleeSaves[i]), offset); in GenerateFrameEntry()
1794 __ cfi().RememberState(); in GenerateFrameExit()
1802 __ cfi().Restore(DWARFReg(kFpuCalleeSaves[i])); in GenerateFrameExit()
1813 __ cfi().AdjustCFAOffset(-static_cast<int>(kX86_64WordSize)); in GenerateFrameExit()
1814 __ cfi().Restore(DWARFReg(reg)); in GenerateFrameExit()
1819 __ cfi().RestoreState(); in GenerateFrameExit()
1820 __ cfi().DefCFAOffset(GetFrameSize()); in GenerateFrameExit()
[all …]
Dcode_generator_arm64.cc1375 GetAssembler()->cfi().AdjustCFAOffset(frame_size); in GenerateFrameEntry()
1377 GetAssembler()->cfi().RelOffset(DWARFReg(lowest_spill), core_spills_offset); in GenerateFrameEntry()
1394 GetAssembler()->cfi().RememberState(); in GenerateFrameExit()
1416 GetAssembler()->cfi().Restore(DWARFReg(lowest_spill)); in GenerateFrameExit()
1420 GetAssembler()->cfi().AdjustCFAOffset(-frame_size); in GenerateFrameExit()
1423 GetAssembler()->cfi().RestoreState(); in GenerateFrameExit()
1424 GetAssembler()->cfi().DefCFAOffset(GetFrameSize()); in GenerateFrameExit()
3963 GetAssembler()->cfi().AdjustCFAOffset(adjustment); in IncreaseFrame()
3968 GetAssembler()->cfi().AdjustCFAOffset(-adjustment); in DecreaseFrame()
Dcode_generator.cc401 DCHECK_EQ(GetAssembler()->cfi().GetCurrentCFAOffset(), static_cast<int>(frame_size_)); in Compile()
/art/dex2oat/driver/
Dcompiled_method_storage.cc260 ArrayRef<const uint8_t> cfi, in CreateCompiledMethod() argument
264 this, instruction_set, code, stack_map, cfi, patches); in CreateCompiledMethod()
Dcompiled_method_storage.h76 ArrayRef<const uint8_t> cfi,
/art/compiler/utils/arm64/
Djni_macro_assembler_arm64.cc78 cfi().AdjustCFAOffset(adjust); in IncreaseFrameSize()
87 cfi().AdjustCFAOffset(-adjust); in DecreaseFrameSize()
934 cfi().RememberState(); in RemoveFrame()
979 cfi().RestoreState(); in RemoveFrame()
980 cfi().DefCFAOffset(frame_size); in RemoveFrame()
/art/compiler/
Dcommon_compiler_test.cc136 ArrayRef<const uint8_t> cfi ATTRIBUTE_UNUSED, in CreateCompiledMethod()
/art/test/
DAndroid.bp938 "137-cfi/cfi.cc",
/art/oatdump/
Doatdump.cc321 info.cfi = ArrayRef<uint8_t>(); in WalkOatMethod()

12