aboutsummaryrefslogtreecommitdiffhomepage
path: root/irdump.c
Commit message (Collapse)AuthorAgeFilesLines
* backend: fix regalloc to work with more complex dataflowlemon2023-06-241-5/+6
| | | | | | | | basically an allocation map at the beginning (in) and end (out) of each block is kept and after the first allocation pass another pass is ran to resolve allocation conflicts between each edge, plus another pass to finish lowering phi functions. also introduced `regset` and plenty of other miscellaneous fixes
* change RMORE -> RADDR; use RXXX (RNONE) for special args,also undeflemon2023-06-221-6/+6
|
* mem2reg: implement ssa construction; this breaks regalloc right nowlemon2023-06-211-0/+7
|
* explicitly store predecessors in each blocklemon2023-06-211-10/+10
|
* don't lower params and args to registers in abi0lemon2023-06-201-0/+5
| | | | | it's better to do it later, currently in isel(), but perhaps in a pre-isel abi1 pass
* fix cls logic for comparison instrslemon2023-06-201-4/+7
| | | | | | | | 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 brancheslemon2023-06-191-7/+1
|
* add %y symbol printinglemon2023-06-191-4/+2
|
* don't try to compile when debugging IRlemon2023-06-191-3/+2
|
* ELF output static datalemon2023-06-181-1/+1
|
* simpler handling of large constants in IRlemon2023-06-141-5/+5
|
* use a hashtable for addr refslemon2023-06-131-2/+1
|
* lower allocas in isel() instead of emit() and misc fixeslemon2023-06-131-3/+3
|
* remove RPARAM, add Oparam, lower args/rets to abi regs in abi0lemon2023-06-111-7/+4
|
* isel skeletonlemon2023-06-101-14/+37
|
* codegen skeletonlemon2023-06-061-1/+8
|
* encode calls a different way in the IRlemon2023-06-051-34/+39
|
* stylelemon2023-06-051-5/+5
|
* strlitslemon2023-06-051-4/+53
|
* command line switch for debug optionslemon2023-06-051-2/+2
|
* bugfixlemon2023-06-041-0/+4
|
* abi lowering passlemon2023-06-041-10/+20
|
* basic ABI lowering of aggregateslemon2023-06-011-17/+29
|
* struct args and returnlemon2023-06-011-14/+26
|
* regalloc skeletonlemon2023-05-311-4/+7
|
* phis?lemon2023-05-301-13/+26
|
* hmlemon2023-05-261-2/+2
|
* initial commitlemon2023-05-101-0/+124