aboutsummaryrefslogtreecommitdiff
path: root/backend/include/rcc/CodeGen/MachineMemOperand.h
Commit message (Collapse)AuthorAgeFilesLines
* [MIR] Accept fixed-baseline LLVM syntaxRichard-Qin-X2026-08-111-2/+7
|
* [MIR] Add machine instruction parser and printerRichard-Qin-X2026-08-041-0/+23
| | | | Parse MachineFunction bodies in two passes and serialize the same MachineIR model in complete or readable form. Extend instruction attachments and memory operands required by the fixed LLVM MIR grammar, and cover deterministic parse-print round trips.
* [CodeGen] Add target MIR text schemaRichard-Qin-X2026-08-031-0/+1
|
* [CodeGen] Add MIR function and block attributesRichard-Qin-X2026-08-011-18/+0
|
* [CodeGen] Build the core MachineIR object modelRichard-Qin-X2026-08-011-0/+6
| | | | | | Add arena-owned, address-stable MachineFunction, MachineBasicBlock, and MachineInstr nodes with intrusive layout and instruction lists. Model every required MachineOperand category, reciprocal ties, source state, and immutable per-instruction memory references. Implement physical and virtual register def-use chains whose back-links survive operand vector moves, plus vreg properties, tombstones, live-ins, reserved registers, and atomic CFG updates. Exercise ownership, reallocation, unlink/relink, cross-function rejection, and sanitizer paths.
* [CodeGen] Add machine IR value semanticsRichard-Qin-X2026-08-011-0/+245
Add strongly typed machine indices, lane masks, instruction flags, fixed-point branch probabilities, and preserved-register masks. Model immutable machine memory operands with explicit base identity, size, alignment, address space, alias information, and validated atomic operation and ordering rules. Cover normal, boundary, and invalid combinations in standalone tests.