aboutsummaryrefslogtreecommitdiff
path: root/backend/include/rcc/CodeGen/RegAllocCommon.h
diff options
context:
space:
mode:
Diffstat (limited to 'backend/include/rcc/CodeGen/RegAllocCommon.h')
-rw-r--r--backend/include/rcc/CodeGen/RegAllocCommon.h3
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