aboutsummaryrefslogtreecommitdiffhomepage
path: root/ir.h
Commit message (Collapse)AuthorAgeFilesLines
* amd64/emit: ensure stack is 16-byte aligned lemon2023-06-201-0/+1
|
* add basic mem2reg lemon2023-06-201-1/+11
| | | | | | | promotes uniform stack slots to temporaries currently only for immutable variables, next thing to implement is ssa construction
* don't lower params and args to registers in abi0 lemon2023-06-201-1/+1
| | | | | it's better to do it later, currently in isel(), but perhaps in a pre-isel abi1 pass
* fix cls logic for comparison instrs lemon2023-06-201-2/+4
| | | | | | | | previously instr.cls always represented the output dataclass. this doesn't work for comparisons because we know the output is always a boolean integer and we care about the actual comparison dataclass. so now .cls represents the operation dataclass, which matches the result class except for comparisons where the result is always KI4V
* backend: compile comparison instrs and branches lemon2023-06-191-0/+1
|
* fix isel & emit for sym constants lemon2023-06-191-0/+1
|
* ELF output static data lemon2023-06-181-2/+3
|
* basic ELF output lemon2023-06-171-0/+1
|
* misc lemon2023-06-171-0/+6
|
* simpler handling of large constants in IR lemon2023-06-141-4/+8
|
* lowering of structcopy lemon2023-06-131-0/+2
|
* use a hashtable for addr refs lemon2023-06-131-1/+2
|
* lower allocas in isel() instead of emit() and misc fixes lemon2023-06-131-8/+9
|
* register renaming and such lemon2023-06-121-1/+1
|
* remove RPARAM, add Oparam, lower args/rets to abi regs in abi0 lemon2023-06-111-4/+9
|
* isel skeleton lemon2023-06-101-7/+19
|
* codegen skeleton lemon2023-06-061-0/+5
|
* encode calls a different way in the IR lemon2023-06-051-7/+8
|
* style lemon2023-06-051-3/+2
|
* strlits lemon2023-06-051-5/+8
|
* abi lowering pass lemon2023-06-041-17/+38
|
* basic ABI lowering of aggregates lemon2023-06-011-7/+26
|
* struct args and return lemon2023-06-011-7/+14
|
* regalloc skeleton lemon2023-05-311-7/+32
|
* fix void conditional expr; condjump, condexprvalue optimizations lemon2023-05-311-0/+1
|
* phis? lemon2023-05-301-16/+24
|
* hm lemon2023-05-261-1/+1
|
* initial commit lemon2023-05-101-0/+117