diff options
| author | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-26 23:33:07 +0800 |
|---|---|---|
| committer | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-26 23:33:07 +0800 |
| commit | 27c303ff00234e5ab9379878858f7ae3d0bdc2dc (patch) | |
| tree | 49639bc910abe9999f07d044ec235ce17dec3ca4 /backend/include/rcc/CodeGen | |
| parent | a72a7a4323fb6eef8e15cc2f1229bcca14879e94 (diff) | |
| download | rcc-project-27c303ff00234e5ab9379878858f7ae3d0bdc2dc.tar.gz rcc-project-27c303ff00234e5ab9379878858f7ae3d0bdc2dc.tar.xz | |
[GlobalISel] Run machine transformations once
Diffstat (limited to 'backend/include/rcc/CodeGen')
| -rw-r--r-- | backend/include/rcc/CodeGen/GlobalISel/Combiner.h | 3 | ||||
| -rw-r--r-- | backend/include/rcc/CodeGen/GlobalISel/InstructionSelect.h | 3 | ||||
| -rw-r--r-- | backend/include/rcc/CodeGen/GlobalISel/Legalizer.h | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/backend/include/rcc/CodeGen/GlobalISel/Combiner.h b/backend/include/rcc/CodeGen/GlobalISel/Combiner.h index efb6bbf..85b68d1 100644 --- a/backend/include/rcc/CodeGen/GlobalISel/Combiner.h +++ b/backend/include/rcc/CodeGen/GlobalISel/Combiner.h @@ -35,7 +35,8 @@ public: private: [[nodiscard]] Expected<MachinePassResult> runImplementation(MachineFunction &Function, const TargetDescription &Target, - MachineActionReplay &Actions) const; + MachineFunctionAnalysisManager + &Analyses) const; const GIMatchTable *Table; const GIMatchTableExecutor *Executor; diff --git a/backend/include/rcc/CodeGen/GlobalISel/InstructionSelect.h b/backend/include/rcc/CodeGen/GlobalISel/InstructionSelect.h index f342cdc..174a943 100644 --- a/backend/include/rcc/CodeGen/GlobalISel/InstructionSelect.h +++ b/backend/include/rcc/CodeGen/GlobalISel/InstructionSelect.h @@ -21,7 +21,8 @@ public: private: [[nodiscard]] Expected<MachinePassResult> runImplementation(MachineFunction &Function, const TargetDescription &Target, - MachineActionReplay &Actions); + MachineFunctionAnalysisManager + &Analyses); const InstructionSelector *Info; }; diff --git a/backend/include/rcc/CodeGen/GlobalISel/Legalizer.h b/backend/include/rcc/CodeGen/GlobalISel/Legalizer.h index e90d09c..e75d71e 100644 --- a/backend/include/rcc/CodeGen/GlobalISel/Legalizer.h +++ b/backend/include/rcc/CodeGen/GlobalISel/Legalizer.h @@ -36,7 +36,8 @@ public: private: [[nodiscard]] Expected<MachinePassResult> runImplementation(MachineFunction &Function, const TargetDescription &Target, - MachineActionReplay &Actions); + MachineFunctionAnalysisManager + &Analyses); std::unique_ptr<LegalizerInfo> OwnedInfo; const LegalizerInfo *Info = nullptr; |
