diff options
| author | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-15 04:48:16 +0800 |
|---|---|---|
| committer | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-15 04:48:16 +0800 |
| commit | 32a365a2dc0096b4421fb3947b32d971b7f34c40 (patch) | |
| tree | 54f8d77af09aaf586b672f59a815646bf5e8f7bb /backend/include/rcc/CodeGen/GlobalISel | |
| parent | bb7990a58f56f8fb9bae4d5eb01fbbe3c36fca77 (diff) | |
| download | rcc-project-32a365a2dc0096b4421fb3947b32d971b7f34c40.tar.gz rcc-project-32a365a2dc0096b4421fb3947b32d971b7f34c40.tar.xz | |
[GlobalISel] Lower stack operations
Diffstat (limited to 'backend/include/rcc/CodeGen/GlobalISel')
| -rw-r--r-- | backend/include/rcc/CodeGen/GlobalISel/LegalizerHelper.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backend/include/rcc/CodeGen/GlobalISel/LegalizerHelper.h b/backend/include/rcc/CodeGen/GlobalISel/LegalizerHelper.h index 71ead8b..3e14311 100644 --- a/backend/include/rcc/CodeGen/GlobalISel/LegalizerHelper.h +++ b/backend/include/rcc/CodeGen/GlobalISel/LegalizerHelper.h @@ -39,6 +39,9 @@ public: [[nodiscard]] Expected<void> lowerBitCount(MachineInstr &Instruction); [[nodiscard]] Expected<void> lowerBswap(MachineInstr &Instruction); [[nodiscard]] Expected<void> lowerRotate(MachineInstr &Instruction); + [[nodiscard]] Expected<void> lowerDynStackAlloc(MachineInstr &Instruction); + [[nodiscard]] Expected<void> lowerStackSave(MachineInstr &Instruction); + [[nodiscard]] Expected<void> lowerStackRestore(MachineInstr &Instruction); [[nodiscard]] Expected<void> lowerVAArg(MachineInstr &Instruction); [[nodiscard]] Expected<void> libcall(MachineInstr &Instruction); [[nodiscard]] Expected<void> widenScalar(MachineInstr &Instruction, std::size_t TypeIndex, |
