aboutsummaryrefslogtreecommitdiff
path: root/backend/include/rcc/MIR
diff options
context:
space:
mode:
Diffstat (limited to 'backend/include/rcc/MIR')
-rw-r--r--backend/include/rcc/MIR/EmbeddedIR.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/backend/include/rcc/MIR/EmbeddedIR.h b/backend/include/rcc/MIR/EmbeddedIR.h
index 80e512a..17b19cb 100644
--- a/backend/include/rcc/MIR/EmbeddedIR.h
+++ b/backend/include/rcc/MIR/EmbeddedIR.h
@@ -74,6 +74,10 @@ public:
return HasSectionPrefix;
}
+ [[nodiscard]] bool hasMinSize() const noexcept {
+ return HasMinSize;
+ }
+
[[nodiscard]] std::span<const EmbeddedIRReference> blocks() const noexcept {
return Blocks;
}
@@ -107,6 +111,8 @@ private:
bool HasSection = false;
bool HasComdat = false;
bool HasSectionPrefix = false;
+ bool HasMinSize = false;
+ std::optional<std::string> AttributeGroup;
std::uint64_t NextUnnamedSlot = 0;
std::vector<EmbeddedIRReference> Blocks;
std::vector<EmbeddedIRReference> Allocas;