aboutsummaryrefslogtreecommitdiff
path: root/backend/utils/TableGen/TableGenBackends.h
diff options
context:
space:
mode:
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 5ac280e..6315a6c 100644
--- a/backend/utils/TableGen/TableGenBackends.h
+++ b/backend/utils/TableGen/TableGenBackends.h
@@ -19,6 +19,7 @@ struct GeneratedDescription final {
std::string TargetTables;
std::string GlobalISel;
std::string GlobalISelCombiner;
+ std::string MacroFusion;
};
struct DescriptionGenerationResult final {
@@ -47,6 +48,8 @@ struct DescriptionGenerationResult final {
std::string_view SourceName);
[[nodiscard]] std::string emitGlobalISelCombiner(const NormalizedTargetModel &Model,
std::string_view SourceName);
+[[nodiscard]] std::string emitMacroFusion(const NormalizedTargetModel &Model,
+ std::string_view SourceName);
[[nodiscard]] DescriptionGenerationResult generateDescription(const std::string &SourceName,
std::string SourceText);