Home
last modified time | relevance | path

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

/art/compiler/jni/quick/
Djni_compiler.h38 ArrayRef<const uint8_t> cfi) in JniCompiledMethod() argument
44 cfi_(cfi.begin(), cfi.end()) {} in JniCompiledMethod()
Djni_compiler.cc217 jni_asm->cfi().SetEnabled(compiler_options.GenerateAnyDebugInfo()); in ArtJniCompileMethodInternal()
229 DCHECK_EQ(jni_asm->cfi().GetCurrentCFAOffset(), static_cast<int>(current_frame_size)); in ArtJniCompileMethodInternal()
666 DCHECK_EQ(jni_asm->cfi().GetCurrentCFAOffset(), static_cast<int>(current_frame_size)); in ArtJniCompileMethodInternal()
672 DCHECK_EQ(jni_asm->cfi().GetCurrentCFAOffset(), static_cast<int>(current_frame_size)); in ArtJniCompileMethodInternal()
687 ArrayRef<const uint8_t>(*jni_asm->cfi().data())); in ArtJniCompileMethodInternal()
/art/compiler/debug/
Delf_debug_frame_writer.h162 if (!method_infos[i].cfi.empty() && !method_infos[i].deduped) { in WriteCFISection()
173 ArrayRef<const uint8_t> l = lhs->cfi; in WriteCFISection()
174 ArrayRef<const uint8_t> r = rhs->cfi; in WriteCFISection()
194 DCHECK(!mi->cfi.empty()); in WriteCFISection()
205 mi->cfi, in WriteCFISection()
Dmethod_debug_info.h45 ArrayRef<const uint8_t> cfi; member
/art/compiler/jni/
Djni_cfi_test.cc84 jni_asm->cfi().SetEnabled(true); in TestImplSized()
101 ASSERT_EQ(jni_asm->cfi().GetCurrentCFAOffset(), frame_size); in TestImplSized()
102 const std::vector<uint8_t>& actual_cfi = *(jni_asm->cfi().data()); in TestImplSized()
/art/compiler/utils/x86/
Djni_macro_assembler_x86.cc57 cfi().SetCurrentCFAOffset(4); // Return address on stack. in BuildFrame()
72 cfi().AdjustCFAOffset(kFramePointerSize); in BuildFrame()
73 cfi().RelOffset(DWARFReg(spill), 0); in BuildFrame()
82 cfi().AdjustCFAOffset(adjust); in BuildFrame()
86 cfi().AdjustCFAOffset(kFramePointerSize); in BuildFrame()
88 DCHECK_EQ(static_cast<size_t>(cfi().GetCurrentCFAOffset()), frame_size); in BuildFrame()
95 cfi().RememberState(); in RemoveFrame()
100 cfi().AdjustCFAOffset(-adjust); in RemoveFrame()
105 cfi().AdjustCFAOffset(-static_cast<int>(kFramePointerSize)); in RemoveFrame()
106 cfi().Restore(DWARFReg(spill)); in RemoveFrame()
[all …]
/art/compiler/utils/x86_64/
Djni_macro_assembler_x86_64.cc49 cfi().SetCurrentCFAOffset(8); // Return address on stack. in BuildFrame()
62 cfi().AdjustCFAOffset(kFramePointerSize); in BuildFrame()
63 cfi().RelOffset(DWARFReg(spill.AsCpuRegister().AsRegister()), 0); in BuildFrame()
72 cfi().AdjustCFAOffset(rest_of_frame); in BuildFrame()
82 cfi().RelOffset(DWARFReg(spill.AsXmmRegister().AsFloatRegister()), offset); in BuildFrame()
98 cfi().RememberState(); in RemoveFrame()
108 cfi().Restore(DWARFReg(spill.AsXmmRegister().AsFloatRegister())); in RemoveFrame()
118 cfi().AdjustCFAOffset(-offset); in RemoveFrame()
124 cfi().AdjustCFAOffset(-static_cast<int>(kFramePointerSize)); in RemoveFrame()
125 cfi().Restore(DWARFReg(spill.AsCpuRegister().AsRegister())); in RemoveFrame()
[all …]
/art/compiler/optimizing/
Doptimizing_cfi_test.cc60 code_gen_->GetAssembler()->cfi().SetEnabled(true); in SetUpFrame()
101 ArrayRef<const uint8_t> actual_cfi(*(opt_asm->cfi().data())); in Check()
Doptimizing_compiler.cc715 ArrayRef<const uint8_t>(*codegen->GetAssembler()->cfi().data()), in Emit()
818 codegen->GetAssembler()->cfi().SetEnabled(compiler_options.GenerateAnyDebugInfo()); in TryCompile()
943 codegen->GetAssembler()->cfi().SetEnabled(compiler_options.GenerateAnyDebugInfo()); in TryCompileIntrinsic()
1282 info.cfi = jni_compiled_method.GetCfi(); in JitCompile()
1390 info.cfi = ArrayRef<const uint8_t>(*codegen->GetAssembler()->cfi().data()); in JitCompile()
Dintrinsics_x86.cc481 __ cfi().AdjustCFAOffset(16); in GenFPToFPCall()
500 __ cfi().AdjustCFAOffset(-16); in GenFPToFPCall()
1412 __ cfi().AdjustCFAOffset(stack_adjust); in VisitStringGetCharsNoCheck()
1428 __ cfi().AdjustCFAOffset(stack_adjust); in VisitStringGetCharsNoCheck()
1465 __ cfi().AdjustCFAOffset(-stack_adjust); in VisitStringGetCharsNoCheck()
1469 __ cfi().AdjustCFAOffset(-stack_adjust); in VisitStringGetCharsNoCheck()
2875 __ cfi().AdjustCFAOffset(4); in VisitSystemArrayCopy()
2877 __ cfi().AdjustCFAOffset(-4); in VisitSystemArrayCopy()
2898 __ cfi().AdjustCFAOffset(4); in VisitSystemArrayCopy()
2900 __ cfi().AdjustCFAOffset(-4); in VisitSystemArrayCopy()
Dcode_generator_x86.cc1083 __ cfi().AdjustCFAOffset(4); in MaybeIncrementHotness()
1095 __ cfi().AdjustCFAOffset(-4); in MaybeIncrementHotness()
1111 __ cfi().AdjustCFAOffset(4); in MaybeIncrementHotness()
1122 __ cfi().AdjustCFAOffset(-4); in MaybeIncrementHotness()
1131 __ cfi().AdjustCFAOffset(4); in MaybeIncrementHotness()
1136 __ cfi().AdjustCFAOffset(-4); in MaybeIncrementHotness()
1147 __ cfi().SetCurrentCFAOffset(kX86WordSize); // return address in GenerateFrameEntry()
1164 __ cfi().AdjustCFAOffset(kX86WordSize); in GenerateFrameEntry()
1165 __ cfi().RelOffset(DWARFReg(reg), 0); in GenerateFrameEntry()
1188 __ cfi().RememberState(); in GenerateFrameExit()
[all …]
Dcode_generator_arm_vixl.cc2091 GetAssembler()->cfi().AdjustCFAOffset(kArmWordSize); in MaybeIncrementHotness()
2102 GetAssembler()->cfi().AdjustCFAOffset(-static_cast<int>(kArmWordSize)); in MaybeIncrementHotness()
2116 GetAssembler()->cfi().AdjustCFAOffset(kArmWordSize); in MaybeIncrementHotness()
2124 GetAssembler()->cfi().AdjustCFAOffset(-static_cast<int>(kArmWordSize)); in MaybeIncrementHotness()
2137 GetAssembler()->cfi().AdjustCFAOffset(kArmWordSize * POPCOUNT(core_spill_mask)); in MaybeIncrementHotness()
2141 GetAssembler()->cfi().AdjustCFAOffset( in MaybeIncrementHotness()
2164 GetAssembler()->cfi().Nop(); in GenerateFrameEntry()
2210 GetAssembler()->cfi().AdjustCFAOffset(frame_size); in GenerateFrameEntry()
2211 GetAssembler()->cfi().RelOffsetForMany(DWARFReg(kMethodRegister), in GenerateFrameEntry()
2219 GetAssembler()->cfi().RelOffset(DWARFReg(sreg), /*offset=*/ fp_spills_offset); in GenerateFrameEntry()
[all …]
Dcode_generator_x86_64.cc1432 __ cfi().AdjustCFAOffset(kX86_64WordSize); in MaybeIncrementHotness()
1433 __ cfi().RelOffset(DWARFReg(RDI), 0); in MaybeIncrementHotness()
1442 __ cfi().AdjustCFAOffset(-static_cast<int>(kX86_64WordSize)); in MaybeIncrementHotness()
1443 __ cfi().Restore(DWARFReg(RDI)); in MaybeIncrementHotness()
1451 __ cfi().SetCurrentCFAOffset(kX86_64WordSize); // return address in GenerateFrameEntry()
1469 __ cfi().AdjustCFAOffset(kX86_64WordSize); in GenerateFrameEntry()
1470 __ cfi().RelOffset(DWARFReg(reg), 0); in GenerateFrameEntry()
1483 __ cfi().RelOffset(DWARFReg(kFpuCalleeSaves[i]), offset); in GenerateFrameEntry()
1507 __ cfi().RememberState(); in GenerateFrameExit()
1515 __ cfi().Restore(DWARFReg(kFpuCalleeSaves[i])); in GenerateFrameExit()
[all …]
Dcode_generator_arm64.cc1237 GetAssembler()->cfi().AdjustCFAOffset(frame_size); in GenerateFrameEntry()
1239 GetAssembler()->cfi().RelOffset(DWARFReg(lowest_spill), core_spills_offset); in GenerateFrameEntry()
1256 GetAssembler()->cfi().RememberState(); in GenerateFrameExit()
1278 GetAssembler()->cfi().Restore(DWARFReg(lowest_spill)); in GenerateFrameExit()
1282 GetAssembler()->cfi().AdjustCFAOffset(-frame_size); in GenerateFrameExit()
1285 GetAssembler()->cfi().RestoreState(); in GenerateFrameExit()
1286 GetAssembler()->cfi().DefCFAOffset(GetFrameSize()); in GenerateFrameExit()
3697 GetAssembler()->cfi().AdjustCFAOffset(adjustment); in IncreaseFrame()
3702 GetAssembler()->cfi().AdjustCFAOffset(-adjustment); in DecreaseFrame()
Dcode_generator.cc396 DCHECK_EQ(GetAssembler()->cfi().GetCurrentCFAOffset(), static_cast<int>(frame_size_)); in Compile()
/art/compiler/utils/
Djni_macro_assembler.h261 virtual DebugFrameOpCodeWriterForAssembler& cfi() = 0;
311 DebugFrameOpCodeWriterForAssembler& cfi() override { in cfi() function
312 return asm_.cfi(); in cfi()
Dassembler.h394 DebugFrameOpCodeWriterForAssembler& cfi() { return cfi_; } in cfi() function
/art/compiler/utils/arm/
Djni_macro_assembler_arm_vixl.cc103 cfi().AdjustCFAOffset(POPCOUNT(core_spill_mask) * kFramePointerSize); in BuildFrame()
104 cfi().RelOffsetForMany(DWARFReg(r0), 0, core_spill_mask, kFramePointerSize); in BuildFrame()
113 cfi().AdjustCFAOffset(POPCOUNT(fp_spill_mask) * kFramePointerSize); in BuildFrame()
114 cfi().RelOffsetForMany(DWARFReg(s0), 0, fp_spill_mask, kFramePointerSize); in BuildFrame()
134 cfi().RememberState(); in RemoveFrame()
159 cfi().AdjustCFAOffset(-kFramePointerSize * POPCOUNT(fp_spill_mask)); in RemoveFrame()
160 cfi().RestoreMany(DWARFReg(s0), fp_spill_mask); in RemoveFrame()
199 cfi().RestoreState(); in RemoveFrame()
200 cfi().DefCFAOffset(frame_size); in RemoveFrame()
207 cfi().AdjustCFAOffset(adjust); in IncreaseFrameSize()
[all …]
/art/compiler/utils/arm64/
Djni_macro_assembler_arm64.cc67 cfi().AdjustCFAOffset(adjust); in IncreaseFrameSize()
76 cfi().AdjustCFAOffset(-adjust); in DecreaseFrameSize()
840 cfi().RememberState(); in RemoveFrame()
883 cfi().RestoreState(); in RemoveFrame()
884 cfi().DefCFAOffset(frame_size); in RemoveFrame()
/art/test/
DAndroid.bp595 "137-cfi/cfi.cc",
/art/oatdump/
Doatdump.cc321 info.cfi = ArrayRef<uint8_t>(); in WalkOatMethod()
/art/dex2oat/linker/
Doat_writer.cc1400 info.cfi = compiled_method->GetCFIInfo(); in VisitMethod()