aboutsummaryrefslogtreecommitdiff
path: root/backend/include/rcc/Tooling/ArtifactStore.h
diff options
context:
space:
mode:
Diffstat (limited to 'backend/include/rcc/Tooling/ArtifactStore.h')
-rw-r--r--backend/include/rcc/Tooling/ArtifactStore.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/backend/include/rcc/Tooling/ArtifactStore.h b/backend/include/rcc/Tooling/ArtifactStore.h
index f11cd6c..e4bca4c 100644
--- a/backend/include/rcc/Tooling/ArtifactStore.h
+++ b/backend/include/rcc/Tooling/ArtifactStore.h
@@ -37,6 +37,9 @@ struct ReproducerPackage final {
CanonicalMIR Input;
};
+[[nodiscard]] bool isMIRArtifact(ArtifactKind Artifact) noexcept;
+[[nodiscard]] bool isCacheableArtifact(ArtifactKind Artifact) noexcept;
+
[[nodiscard]] Expected<CanonicalMIR> parseAndCanonicalizeMIR(std::string SourceName,
std::string SourceText,
const TargetDescription &Target,