aboutsummaryrefslogtreecommitdiffhomepage
path: root/src-cslul/ir.c
AgeCommit message (Expand)AuthorFilesLines
2024-06-02Don't use ref types for function referencesSamuel Lidén Borell1-2/+2
2024-05-26ir: Fix jump into wrong EBB after loopemptySamuel Lidén Borell1-11/+2
2024-05-25ir: Fix array index offset calculation with nested arraysSamuel Lidén Borell1-22/+69
2024-05-24Backend: Fix implicit return when last statement is not last EBBSamuel Lidén Borell1-0/+1
2024-05-14ir: Emit compile-time constant array/struct literals as datadefsSamuel Lidén Borell1-9/+26
2024-05-12Check none-ness in implicit dereferencingSamuel Lidén Borell1-2/+2
2024-05-12Check return value of real_deref_tr in arraysSamuel Lidén Borell1-2/+2
2024-05-12Fix index operation on references to arraysSamuel Lidén Borell1-1/+3
2024-05-11Update copyright yearsSamuel Lidén Borell1-1/+1
2024-05-10Backend: Fix negative immediatesSamuel Lidén Borell1-1/+1
2024-05-10Error handling fixesSamuel Lidén Borell1-1/+1
2024-05-10ir: Fix external datadef importsSamuel Lidén Borell1-4/+4
2024-05-09ir: Fix crash with int16 arraysSamuel Lidén Borell1-1/+1
2024-05-09Minor readme and TODO updatesSamuel Lidén Borell1-2/+3
2024-05-09ir: Import/export of datadefs (untested). Skip datadef for constantsSamuel Lidén Borell1-17/+55
2024-05-08Backend: Emit contents in .rodata sectionSamuel Lidén Borell1-0/+3
2024-05-06ir: Emit integer, array and struct values for datadefsSamuel Lidén Borell1-11/+133
2024-05-05Backend: Initial-values for datadefs + IR-gen of string literalsSamuel Lidén Borell1-18/+150
2024-05-05Backend: Remove SLUL_STRING type, and use plain DPTRSamuel Lidén Borell1-2/+1
2024-05-04Backend: Merge ADDRSTATICELEM/ADDRDYNAMICELEM into ADDRELEMSamuel Lidén Borell1-5/+5
2024-04-28Add/remove TODO'sSamuel Lidén Borell1-5/+0
2024-04-26aarch64: Emit code for ir operation COMPAREJUMPSamuel Lidén Borell1-7/+7
2024-04-26aarch64: Emit code for ir operations LAND, LOR, LXORSamuel Lidén Borell1-0/+5
2024-04-24ir: "deref x = y" shouldn't load from the pointerSamuel Lidén Borell1-1/+6
2024-04-13ir: Always emit struct/array types in ADDR/LOAD opsSamuel Lidén Borell1-8/+31
2024-04-07Backend: Implement type operands (e.g. for ADDRSTATICELEM)Samuel Lidén Borell1-22/+14
2024-04-01ir: Fix IR generation of non-trivial lvalues (such as fields/indices)Samuel Lidén Borell1-22/+11
2024-04-01ir: Fix generation of array indicesSamuel Lidén Borell1-4/+5
2024-04-01ir: Use actual types for slot types (instead of always DPTR)Samuel Lidén Borell1-4/+11
2024-03-18IR generator: Discard fixesSamuel Lidén Borell1-1/+2
2024-03-17Backend: Use callee-saved registersSamuel Lidén Borell1-4/+2
2024-03-08Use SlulApp.main as the entry point. Implicitly depend on slulrtSamuel Lidén Borell1-3/+2
2024-03-05Fix GCC and Valgrind warnings when building with -O2Samuel Lidén Borell1-1/+2
2024-03-02Detect type-confusion of structs in SLUL_DEBUG modeSamuel Lidén Borell1-0/+10
2024-01-01Fix bugs and warnings from clang --analyzeSamuel Lidén Borell1-0/+3
2023-12-12Fix handling of back-dependencies on main moduleSamuel Lidén Borell1-3/+3
2023-09-09Fix search for implementation of methods and typeidentsSamuel Lidén Borell1-3/+5
2023-08-27Fix crash on generic function declarationsSamuel Lidén Borell1-8/+10
2023-07-28Backend: Add flag to specify main functionSamuel Lidén Borell1-1/+2
2023-07-26ir: Fix incorrect IR op in array index operationsSamuel Lidén Borell1-1/+2
2023-07-26ir: Fix off-by-one error of identifier lengthSamuel Lidén Borell1-1/+1
2023-07-16ir: Mark exported/imported functions as suchSamuel Lidén Borell1-8/+22
2023-07-12Remove TODO's/half-implemented code that will not be implementedSamuel Lidén Borell1-2/+1
2023-07-10Backend: Replace *PTR ops with ADDR* LOAD* ops. Fix lvalue access to localsSamuel Lidén Borell1-23/+61
2023-07-07Fix some cppcheck warnings and improve commentsSamuel Lidén Borell1-0/+1
2023-07-07Backend: Fix named typesSamuel Lidén Borell1-6/+2
2023-07-07ir: Fix ID of typedefs, and don't define imported typedefs twiceSamuel Lidén Borell1-1/+2
2023-07-01Backend: Add jump when EBB's are non-sequentialSamuel Lidén Borell1-13/+16
2023-07-01Backend: Mark defined EBB's and fix ebb_id after switch-caseSamuel Lidén Borell1-0/+1
2023-07-01ir: Method namesSamuel Lidén Borell1-1/+17