mirror of
https://github.com/ziglang/zig.git
synced 2024-11-21 19:42:56 +00:00
Add MIR
parent
c5830aa452
commit
d026d4ef00
@ -22,7 +22,7 @@ Intermediate representation. Typically represented as instructions that referenc
|
||||
|
||||
* ZIR
|
||||
* AIR
|
||||
* MIR (proposed)
|
||||
* MIR (stage2 only)
|
||||
|
||||
There is also LLVM IR.
|
||||
|
||||
@ -45,6 +45,10 @@ Does type checking, comptime control flow, and safety-check generation. This is
|
||||
|
||||
See `src/Sema.zig`.
|
||||
|
||||
### MIR
|
||||
|
||||
Machine Intermediate Representation, lowered to from AIR. Each instruction set architecture will have its own MIR dialect as it is designed to closely match available instructions. Designed for stage2+, since LLVM and C backends don't need MIR. Partially implemented. See [the design issue](https://github.com/ziglang/zig/issues/9514).
|
||||
|
||||
### ZIR
|
||||
|
||||
Zig Intermediate Representation. `src/Astgen.zig` converts AST nodes to these
|
||||
|
Loading…
Reference in New Issue
Block a user