aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ir_simpl.c
Commit message (Collapse)AuthorAgeFilesLines
* backend: fix memory leak from not calling deluses() after replcuses in some ↵lemon2026-04-111-1/+3
| | | | places
* IR: mark free'd instructions as suchlemon2026-03-231-1/+1
| | | | | That way they are not copied when inlining. Also rename ninstr -> ninstrtab. opnarg -> opnoper
* style: change uvlong -> u64int, vlong -> s64intlemon2026-03-221-4/+4
| | | | | Is much nicer. I don't know whether I want to do it for the other int types too. char and uchar are fine as bytes. u/short -> u/s16int, maybe.
* IR: add 3rd operand to Instrlemon2026-03-221-10/+10
| | | | | The motivation is for aarch64 msub/madd instrs, for isel to produce. But it should be useful for other things too.
* Refactor: use typedefs and CamelCase for aggregate typeslemon2026-03-181-21/+21
| | | | Looks nicer
* REFACTOR: move sources to src/lemon2026-03-171-0/+308