aboutsummaryrefslogtreecommitdiffhomepage
path: root/regalloc.c
Commit message (Collapse)AuthorAgeFilesLines
* amd64/emit: ensure stack is 16-byte alignedlemon2023-06-201-0/+4
|
* add basic mem2reglemon2023-06-201-12/+17
| | | | | | | promotes uniform stack slots to temporaries currently only for immutable variables, next thing to implement is ssa construction
* regalloc: fix bug in spilling codelemon2023-06-201-7/+24
|
* don't lower params and args to registers in abi0lemon2023-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 instrslemon2023-06-201-8/+8
| | | | | | | | 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
* regalloc: alloc extra memory for alloc maplemon2023-06-191-1/+1
| | | | | regalloc itself can insert instructions so this was causing out of bounds read errors
* backend: compile comparison instrs and brancheslemon2023-06-191-1/+6
|
* hint in-place operations to use same reg for lhs and destlemon2023-06-151-1/+1
|
* less memsetlemon2023-06-151-1/+0
|
* cleanuplemon2023-06-141-15/+14
|
* add spilling for function calls, misc fixeslemon2023-06-141-22/+140
|
* use a hashtable for addr refslemon2023-06-131-3/+4
|
* lower allocas in isel() instead of emit() and misc fixeslemon2023-06-131-17/+20
|
* dec,inc,sublemon2023-06-121-0/+1
|
* bugfixlemon2023-06-121-2/+3
|
* something with philemon2023-06-121-29/+15
|
* register renaming and suchlemon2023-06-121-35/+147
|
* remove RPARAM, add Oparam, lower args/rets to abi regs in abi0lemon2023-06-111-21/+5
|
* isel skeletonlemon2023-06-101-4/+21
|
* regalloc: lower phislemon2023-06-051-5/+26
|
* encode calls a different way in the IRlemon2023-06-051-9/+19
|
* stylelemon2023-06-051-7/+7
|
* command line switch for debug optionslemon2023-06-051-0/+5
|
* evaluate call args backwardslemon2023-06-041-1/+1
|
* abi lowering passlemon2023-06-041-4/+16
|
* basic ABI lowering of aggregateslemon2023-06-011-18/+27
|
* struct args and returnlemon2023-06-011-8/+14
|
* regalloc skeletonlemon2023-05-311-0/+88