diff options
| author | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-12 03:22:55 +0800 |
|---|---|---|
| committer | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-12 03:22:55 +0800 |
| commit | 59f948dbb4fcbbb2456db92a55d307cdfbfd8307 (patch) | |
| tree | daf0517cf840091eb92bed0096c5b3ee110c29d7 /backend/include/rcc/MIR | |
| parent | 888e9b5bb57a79f4eee88a7926cb859e04823361 (diff) | |
| download | rcc-project-59f948dbb4fcbbb2456db92a55d307cdfbfd8307.tar.gz rcc-project-59f948dbb4fcbbb2456db92a55d307cdfbfd8307.tar.xz | |
[MIR] Remove alternate layout and float APIs
Diffstat (limited to 'backend/include/rcc/MIR')
| -rw-r--r-- | backend/include/rcc/MIR/LLVMConstantSyntax.h | 1 | ||||
| -rw-r--r-- | backend/include/rcc/MIR/MIParser.h | 1 | ||||
| -rw-r--r-- | backend/include/rcc/MIR/MIRDocument.h | 2 |
3 files changed, 0 insertions, 4 deletions
diff --git a/backend/include/rcc/MIR/LLVMConstantSyntax.h b/backend/include/rcc/MIR/LLVMConstantSyntax.h index 9d7a7d4..a47da54 100644 --- a/backend/include/rcc/MIR/LLVMConstantSyntax.h +++ b/backend/include/rcc/MIR/LLVMConstantSyntax.h @@ -21,7 +21,6 @@ struct LLVMNamedTypeDefinition final { }; struct LLVMConstantSyntaxOptions final { - std::uint32_t DefaultPointerSizeInBits = 0; std::string_view DataLayout; std::span<const LLVMNamedTypeDefinition> NamedTypes; std::size_t MaximumDepth = 1024; diff --git a/backend/include/rcc/MIR/MIParser.h b/backend/include/rcc/MIR/MIParser.h index 16af534..b660f47 100644 --- a/backend/include/rcc/MIR/MIParser.h +++ b/backend/include/rcc/MIR/MIParser.h @@ -68,7 +68,6 @@ struct MIParserContext final { std::function<bool(std::string_view)> HasIRBlock; std::function<Expected<SyncScopeID>(std::string_view)> InternSyncScope; std::function<Expected<std::uint32_t>(std::uint32_t)> PointerSizeInBits; - std::uint32_t DefaultPointerSizeInBits = 0; }; struct MIParserOptions final { diff --git a/backend/include/rcc/MIR/MIRDocument.h b/backend/include/rcc/MIR/MIRDocument.h index 7980ca1..6041657 100644 --- a/backend/include/rcc/MIR/MIRDocument.h +++ b/backend/include/rcc/MIR/MIRDocument.h @@ -78,7 +78,6 @@ struct MIRDocumentParserOptions final { yaml::ParseOptions YAML; MIParserOptions MachineInstructions; std::string DataLayout; - std::uint32_t DefaultPointerSizeInBits = 0; bool VerifyMachineFunctions = true; }; @@ -130,7 +129,6 @@ struct MIRDocumentPrinterOptions final { MIPrintMode Mode = MIPrintMode::Complete; bool EmitEmbeddedIR = true; std::string DataLayout; - std::uint32_t DefaultPointerSizeInBits = 0; }; [[nodiscard]] Expected<std::string> printMIRDocument(const MIRDocument &Document, |
