diff options
| author | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-25 03:11:23 +0800 |
|---|---|---|
| committer | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-25 03:11:23 +0800 |
| commit | f5d9ddc085055d28d6f9fb3730c3566097f43fb2 (patch) | |
| tree | d1ca89a409a0d1a167e79e3d1693c22bcfd823a9 /backend/include/rcc/CodeGen/RegAllocCommon.h | |
| parent | c3932f55208e3fe2019d26a0e5af421c0b644872 (diff) | |
| download | rcc-project-f5d9ddc085055d28d6f9fb3730c3566097f43fb2.tar.gz rcc-project-f5d9ddc085055d28d6f9fb3730c3566097f43fb2.tar.xz | |
[CodeGen] Implement the greedy register allocator pipeline
Diffstat (limited to 'backend/include/rcc/CodeGen/RegAllocCommon.h')
| -rw-r--r-- | backend/include/rcc/CodeGen/RegAllocCommon.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backend/include/rcc/CodeGen/RegAllocCommon.h b/backend/include/rcc/CodeGen/RegAllocCommon.h index ac3aa56..5994d64 100644 --- a/backend/include/rcc/CodeGen/RegAllocCommon.h +++ b/backend/include/rcc/CodeGen/RegAllocCommon.h @@ -19,6 +19,9 @@ struct RegisterAllocationOptions final { [[nodiscard]] std::unique_ptr<MachineFunctionPass> createBasicAllocatorPass(const TargetRegisterAllocationInfo &Info, RegisterAllocationOptions Options = {}); +[[nodiscard]] std::unique_ptr<MachineFunctionPass> +createGreedyAllocatorPass(const TargetRegisterAllocationInfo &Info, + RegisterAllocationOptions Options = {}); } // namespace rcc |
