diff options
| author | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-28 18:51:10 +0800 |
|---|---|---|
| committer | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-28 18:51:10 +0800 |
| commit | f89d528efc0228c049c2867dcba886a56bac8619 (patch) | |
| tree | 7a47f751e729845af1537beee20bc57007d3e21c /backend/include/rcc/Tooling/BackendDriver.h | |
| parent | 6889b82a5c9ecc6bd178760c66653d7af0121162 (diff) | |
| download | rcc-project-f89d528efc0228c049c2867dcba886a56bac8619.tar.gz rcc-project-f89d528efc0228c049c2867dcba886a56bac8619.tar.xz | |
[CodeGen] Add target machine registry
Diffstat (limited to 'backend/include/rcc/Tooling/BackendDriver.h')
| -rw-r--r-- | backend/include/rcc/Tooling/BackendDriver.h | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/backend/include/rcc/Tooling/BackendDriver.h b/backend/include/rcc/Tooling/BackendDriver.h index 8117a0c..2003983 100644 --- a/backend/include/rcc/Tooling/BackendDriver.h +++ b/backend/include/rcc/Tooling/BackendDriver.h @@ -13,11 +13,7 @@ #include <string_view> #include <vector> -namespace rcc { - -class TargetDescription; - -namespace tooling { +namespace rcc::tooling { struct BackendRunResult final { ArtifactKind Kind = ArtifactKind::FinalMIR; @@ -29,11 +25,9 @@ struct BackendRunResult final { }; [[nodiscard]] Expected<BackendRunResult> -runBackend(CanonicalMIR Input, const TargetDescription &Target, const BackendInvocation &Invocation, - ArtifactKind Output, PipelineControls Controls = {}, - MachinePassInstrumentation *Instrumentation = nullptr); +runBackend(CanonicalMIR Input, const BackendInvocation &Invocation, ArtifactKind Output, + PipelineControls Controls = {}, MachinePassInstrumentation *Instrumentation = nullptr); -} // namespace tooling -} // namespace rcc +} // namespace rcc::tooling #endif // RCC_TOOLING_BACKENDDRIVER_H |
