aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Unify thread pool logic across the rest of the compiler, using a global ↵gingerBill2021-08-261-5/+2
| | | | thread pool
* Correct procedure checking flag handling, and correct the (bodge) handle of ↵gingerBill2021-08-231-0/+1
| | | | unchecked procedure bodies
* Rewrite thread_pool.cppnakst2021-08-221-2/+1
|
* Fix race condition from `add_entity_use` due to Entity.identifiergingerBill2021-08-191-2/+3
|
* Remove unused codegingerBill2021-08-191-20/+3
|
* Correct DllMain behaviourgingerBill2021-08-091-3/+19
|
* Inline heap_allocator resize logic on *nix platformsgingerBill2021-08-071-1/+1
|
* Minor clean-upgingerBill2021-08-071-3/+3
|
* Reorganize llvm_backend.cpp into separate files for easier maintenancegingerBill2021-08-071-14673/+8
|
* Fix #1070gingerBill2021-08-071-3/+5
|
* Fix typogingerBill2021-08-031-2/+2
|
* Add extra `debugf` message for generate missing proceduregingerBill2021-08-031-0/+1
|
* Remove debug `gb_printf_err` and replace with `debugf`gingerBill2021-08-031-4/+6
|
* Reorganize `missing_procedures_to_check` generation codegingerBill2021-08-031-4/+8
|
* Add `missing_procedures_to_check` to `lbModule`gingerBill2021-08-031-47/+65
|
* Add sanity check in `lb_create_procedure`gingerBill2021-08-031-1/+4
|
* Begin optimizing tokenizer; Replace `gb_utf8_decode` with `utf8_decode` (CC ↵gingerBill2021-08-011-2/+2
| | | | but easier to change later)
* Big simplification and improvement of the entity collection system, reducing ↵gingerBill2021-07-271-105/+148
| | | | unneeded steps for packages
* Manually short circuit in `lb_build_if_stmt` for constant conditionsgingerBill2021-07-261-10/+52
|
* Move asserts aroundgingerBill2021-07-131-3/+5
|
* Correct `lb_big_int_to_llvm`gingerBill2021-07-131-9/+10
|
* Add extra message to assertgingerBill2021-07-131-3/+1
|
* Do manual byte swapping for endianness in `lb_big_int_to_llvm`gingerBill2021-07-131-5/+12
|
* Temporarily disable `-threaded-checker`; Restructure the untyped-expr-info ↵gingerBill2021-07-131-0/+1
| | | | system to be much more thread-friendly
* Add sanity casts for 32/64 bit correctnessgingerBill2021-07-121-25/+25
|
* Clean up big int to LLVM integer codegingerBill2021-07-111-63/+34
|
* Change the compiler's big integer library to use libTomMathgingerBill2021-07-111-20/+54
| | | | This now replaces Bill's crappy big int implementation
* Add sanity conversion check for integer to quaterniongingerBill2021-07-111-0/+19
|
* Convert constant tag to the correct type for LLVMAddCasegingerBill2021-07-101-0/+1
|
* Prepare for multithreading the semantic checker by giving mutexes to ↵gingerBill2021-07-101-1/+1
| | | | | | variables of contention NOTE(bill): I know this is dodgy, but I want to make sure it is correct logic before improve those data structures
* Fix #1050gingerBill2021-07-101-1/+1
|
* Allow `x in ptr_to_map_or_bit_set`gingerBill2021-07-101-0/+5
|
* Remove `try`; Replace `try x else y` with `or_else(x, y)`gingerBill2021-07-051-52/+47
|
* Try `try` and `or_else` built-in procedures with operators `try` and `try else`gingerBill2021-07-041-100/+55
|
* Refactor `return` logic to be more reusable with `lb_emit_try`gingerBill2021-07-041-44/+24
|
* Simplify `lb_emit_try` return logicgingerBill2021-07-041-88/+18
|
* Fix `lb_emit_try`gingerBill2021-07-041-9/+13
|
* [Experimental] Add 'try' and `or_else' built-in proceduresgingerBill2021-07-041-6/+270
|
* Fix #1042gingerBill2021-06-281-19/+21
|
* Fix #1043gingerBill2021-06-281-0/+3
|
* Fix swizzling of pointers to arraysgingerBill2021-06-281-2/+7
|
* Modify scope finding rules for distinct types in lb_debug_typegingerBill2021-06-271-3/+23
|
* Fix #1044gingerBill2021-06-261-4/+17
|
* Support compound literals for `struct #raw_union` typesgingerBill2021-06-261-2/+12
|
* Fix compiler errorsgingerBill2021-06-251-3/+3
|
* Change logic for comparison against `nil` for array-like data types (compare ↵gingerBill2021-06-241-12/+27
| | | | the pointer rather than the length/capacity)
* Correct selector call expression chaining behaviour (a bit of a hack)gingerBill2021-06-161-9/+28
|
* Fix #1017gingerBill2021-06-151-4/+7
|
* Fix #1019gingerBill2021-06-151-2/+0
|
* Fix #1015gingerBill2021-06-141-11/+15
|