aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorBenjamin Maxwell <benjamin.maxwell@arm.com>2025-09-18 13:04:38 +0100
committerGitHub <noreply@github.com>2025-09-18 13:04:38 +0100
commitc379127c123e8346f764630dc659e0871099f2fb (patch)
tree2f75329ac75237cd5f79bbddb43650ab2787836f /flang/lib/Frontend/CompilerInvocation.cpp
parent1fc9b344889aeb1f83cfee29f61d844ec927a5cd (diff)
downloadllvm-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