aboutsummaryrefslogtreecommitdiff
path: root/backend/utils/TableGen/TableGenBackends.h
diff options
context:
space:
mode:
authorRichard-Qin-X <richard.qin.001@gmail.com>2026-08-22 19:16:18 +0800
committerRichard-Qin-X <richard.qin.001@gmail.com>2026-08-22 19:16:18 +0800
commit75f1223070749b0df3002226ebbb474c68c71f90 (patch)
treee3b386180f6ea394381862d5ff9b5394ac0a6481 /backend/utils/TableGen/TableGenBackends.h
parent36b0be1ec1558f88d4f031a1817c3a4c2cba07a6 (diff)
downloadrcc-project-75f1223070749b0df3002226ebbb474c68c71f90.tar.gz
rcc-project-75f1223070749b0df3002226ebbb474c68c71f90.tar.xz
[RISCV] Generate MC pseudo lowering
Diffstat (limited to 'backend/utils/TableGen/TableGenBackends.h')
-rw-r--r--backend/utils/TableGen/TableGenBackends.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/backend/utils/TableGen/TableGenBackends.h b/backend/utils/TableGen/TableGenBackends.h
index 6315a6c..dff0333 100644
--- a/backend/utils/TableGen/TableGenBackends.h
+++ b/backend/utils/TableGen/TableGenBackends.h
@@ -20,6 +20,7 @@ struct GeneratedDescription final {
std::string GlobalISel;
std::string GlobalISelCombiner;
std::string MacroFusion;
+ std::string MCPseudoLowering;
};
struct DescriptionGenerationResult final {
@@ -50,6 +51,8 @@ struct DescriptionGenerationResult final {
std::string_view SourceName);
[[nodiscard]] std::string emitMacroFusion(const NormalizedTargetModel &Model,
std::string_view SourceName);
+[[nodiscard]] std::string emitMCPseudoLowering(const NormalizedTargetModel &Model,
+ std::string_view SourceName);
[[nodiscard]] DescriptionGenerationResult generateDescription(const std::string &SourceName,
std::string SourceText);