aboutsummaryrefslogtreecommitdiff
path: root/backend/include/rcc/CodeGen/InstructionDescriptor.h
Commit message (Collapse)AuthorAgeFilesLines
* [CodeGen] Add transactional MachineIR builderRichard-Qin-X2026-08-011-0/+26
| | | | 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.
* [CodeGen] Add machine instruction descriptorsRichard-Qin-X2026-08-011-0/+264
Introduce an immutable instruction registry with exact operand, implicit register, tie, pseudo lifecycle, and memory constraints. Validate descriptor tables before publication and use the same rules to verify MachineInstr instances.