| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [CodeGen] Build the core MachineIR object model | Richard-Qin-X | 2026-08-01 | 16 | -0/+2935 |
| | | | | | | | 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 semantics | Richard-Qin-X | 2026-08-01 | 9 | -5/+1071 |
| | | | | | | | 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. | ||||
| * | [CodeGen] Add core machine type primitives | Richard-Qin-X | 2026-08-01 | 12 | -0/+1273 |
| | | | | | | | Introduce an independent 64-bit extended LLT representation that preserves exact floating-point semantics and supports fixed and scalable vectors. Add opaque physical and virtual registers, strongly typed monotonic stable IDs, and atomic MachineFunctionProperties transitions. Export the primitives through RCCBackend::CodeGen, cover their boundary and failure cases, record the frozen invariants, and normalize the architecture document permissions. | ||||
| * | [Backend] Establish standalone build infrastructure | Richard-Qin-X | 2026-08-01 | 20 | -22/+650 |
| | | | | | Add the thin monorepo CMake entry point and an independently configurable backend project. Enforce the Clang/C++23 toolchain, expose Make/Ninja-neutral tests and developer checks, export an installable RCCBackend package, and introduce the first Support error abstraction. | ||||
| * | [legacy] Add functional and performance test suites | Richard-Qin-X | 2026-06-08 | 1837 | -0/+463184 |
| | | |||||
| * | [legacy] Add compiler driver | Richard-Qin-X | 2026-06-08 | 1 | -0/+386 |
| | | |||||
| * | [legacy/backend] Add RISC-V 64 instruction selection, regalloc, and emission | Richard-Qin-X | 2026-06-08 | 9 | -0/+4209 |
| | | |||||
| * | [legacy/mid] Add target-independent ABI lowering | Richard-Qin-X | 2026-06-08 | 1 | -0/+45 |
| | | |||||
| * | [legacy/mid] Add interprocedural passes: inlining and tail-recursion elimination | Richard-Qin-X | 2026-06-08 | 2 | -0/+698 |
| | | |||||
| * | [legacy/mid] Add control-flow optimization: if-conversion | Richard-Qin-X | 2026-06-08 | 1 | -0/+127 |
| | | |||||
| * | [legacy/mid] Add loop idiom recognition: memset/memcpy, scalar replacement, ↵ | Richard-Qin-X | 2026-06-08 | 3 | -0/+1457 |
| | | | | | reduction unrolling | ||||
| * | [legacy/mid] Add loop restructuring: unrolling, unswitching, interchange, ↵ | Richard-Qin-X | 2026-06-08 | 4 | -0/+1990 |
| | | | | | dead-loop elimination | ||||
| * | [legacy/mid] Add loop-invariant and induction-variable optimization: LICM, LSR | Richard-Qin-X | 2026-06-08 | 2 | -0/+1214 |
| | | |||||
| * | [legacy/mid] Add strength reduction for constant div and mul | Richard-Qin-X | 2026-06-08 | 2 | -0/+397 |
| | | |||||
| * | [legacy/mid] Add scalar optimizations: fold, copy, GVN, GCM, SCCP, ↵ | Richard-Qin-X | 2026-06-08 | 7 | -0/+2604 |
| | | | | | reassociation, DCE | ||||
| * | [legacy/mid] Add memory SSA: construction, promotion, load/store optimization | Richard-Qin-X | 2026-06-08 | 4 | -0/+1952 |
| | | |||||
| * | [legacy/mid] Add analysis passes: CFG, dominance, liveness, loops, alias | Richard-Qin-X | 2026-06-08 | 4 | -0/+1451 |
| | | |||||
| * | [legacy/ir] Add SSA IR generation | Richard-Qin-X | 2026-06-08 | 4 | -0/+1688 |
| | | |||||
| * | [legacy/frontend] Add lexer, parser, and AST | Richard-Qin-X | 2026-06-08 | 3 | -0/+995 |
| | | |||||
| * | [legacy] Add core utilities: BSet, arena allocator, interning | Richard-Qin-X | 2026-06-08 | 1 | -0/+778 |
| | | |||||
| * | [legacy] Add IR, AST, and RISC-V target headers | Richard-Qin-X | 2026-06-08 | 9 | -0/+2111 |
| | | |||||
| * | [legacy] Add build system and project metadata | Richard-Qin-X | 2026-06-08 | 7 | -0/+1179 |
| | | |||||
| * | [repo] Add project README | Richard-Qin-X | 2026-06-08 | 1 | -0/+12 |
| | | |||||
| * | [repo] Add clang-format and clang-tidy configuration | Richard-Qin-X | 2026-06-08 | 3 | -0/+49 |
| | | |||||
| * | [repo] Add license and gitignore | Richard-Qin-X | 2026-06-08 | 2 | -0/+764 |
