aboutsummaryrefslogtreecommitdiff
path: root/backend/unittests/CodeGen/MachineIRBuilderTest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [CodeGen] Unify scalar low-level typesRichard-Qin-X2026-08-131-3/+3
|
* [Support] Split APInt and APFloat ownershipRichard-Qin-X2026-08-131-1/+1
|
* [CodeGen] Complete register allocation infrastructureRichard-Qin-X2026-08-091-2/+1
|
* [MIR] Complete document parsing and printingRichard-Qin-X2026-08-071-1/+2
| | | | Implement the single LLVM-compatible MIR document path with structured\nembedded-IR references, YAML mappings, constants, and deterministic printing.\n\nKeep pointer LLT widths DataLayout-derived, reject layout-dependent output\nwhen embedded IR is omitted, and record the fixed-baseline compatibility\ncontract and regression coverage.
* [CodeGen] Model machine debug metadataRichard-Qin-X2026-08-021-2/+22
| | | | Replace marker-based metadata operands with scoped references and inline DIExpression values. Add structured DILocation chains, instruction debug attachments, stack variable records, and entry values with unified verification, builder support, and deterministic cloning.
* [CodeGen] Add target register descriptionsRichard-Qin-X2026-08-011-26/+27
| | | | Introduce an immutable register topology for units, subregisters, classes, banks, and preserved masks. Bind instruction descriptors to this topology through TargetDescription so builders, cloning, and verification share one target-aware contract. Add the test-only TestTarget model and positive and negative target fact coverage.
* [CodeGen] Add constant and jump table stateRichard-Qin-X2026-08-011-0/+63
| | | | Add stable, tombstone-preserving MachineConstantPool and MachineJumpTableInfo ownership. Define the versioned TargetConstant contract and integrate all table references with builders, verification, and deterministic deep cloning.
* [CodeGen] Add MachineFrameInfoRichard-Qin-X2026-08-011-0/+10
| | | | Model stable frame indices, stack object kinds, tombstones, lifetimes, and frozen layouts. Validate owned frame references in the builder and verifier, and remap complete frame state during MachineFunction cloning.
* [CodeGen] Add transactional MachineIR builderRichard-Qin-X2026-08-011-0/+462
Validate insertion cursors, operand ownership, descriptor constraints, ties, implicit registers, and memory operands before allocating or publishing an instruction. Share instruction legality checks with the verifier path and preserve deterministic insertion order.