diff options
author | Benjamin Maxwell <benjamin.maxwell@arm.com> | 2025-09-18 13:04:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-18 13:04:38 +0100 |
commit | c379127c123e8346f764630dc659e0871099f2fb (patch) | |
tree | 2f75329ac75237cd5f79bbddb43650ab2787836f /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 1fc9b344889aeb1f83cfee29f61d844ec927a5cd (diff) | |
download | llvm-c379127c123e8346f764630dc659e0871099f2fb.zip llvm-c379127c123e8346f764630dc659e0871099f2fb.tar.gz llvm-c379127c123e8346f764630dc659e0871099f2fb.tar.bz2 |
[AArch64] Refactor and move common code to `AArch64PrologueEpilogue` (NFCI) (#158920)
This is the final patch in a series reworking the structure of the
prologue/epilogue code. This patch moves some methods from
`AArch64FrameLowering` to `Arch64PrologueEpilogue` as they are only used
by `.emitPrologue/Epilogue`. This includes:
- `shouldCombineCSRLocalStackBump()`
- `shouldCombineCSRLocalStackBumpInEpilogue()`
- `allocateStackSpace()`
- `convertCalleeSaveRestoreToSPPrePostIncDec()`
- `fixupCalleeSaveRestoreStackOffset()`
Common code/methods have been factored into a
`AArch64PrologueEpilogueCommon` base class used by both
`AArch64PrologueEmitter` and `AArch64EpilogueEmitter`.
Finally, some redundant fetching of target classes has been removed from
methods.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions