aboutsummaryrefslogtreecommitdiff
path: root/backend/include/rcc/Tooling/PipelineDriver.h
diff options
context:
space:
mode:
Diffstat (limited to 'backend/include/rcc/Tooling/PipelineDriver.h')
-rw-r--r--backend/include/rcc/Tooling/PipelineDriver.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/include/rcc/Tooling/PipelineDriver.h b/backend/include/rcc/Tooling/PipelineDriver.h
index 5fa4fba..d10fe4d 100644
--- a/backend/include/rcc/Tooling/PipelineDriver.h
+++ b/backend/include/rcc/Tooling/PipelineDriver.h
@@ -77,6 +77,7 @@ runRV64GCPipeline(mir::MIRDocument &Document, const TargetDescription &Target,
const BackendInvocation &Invocation, PipelineControls Controls = {},
MachinePassInstrumentation *Instrumentation = nullptr);
[[nodiscard]] BackendStage stageForFunction(const MachineFunction &Function) noexcept;
+[[nodiscard]] bool isEarlierStage(BackendStage Left, BackendStage Right) noexcept;
[[nodiscard]] std::string_view spelling(BackendStage Stage) noexcept;
[[nodiscard]] Expected<BackendStage> parseBackendStage(std::string_view Value);