aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add `#must_tail` (similar syntax to `#force_inline`gingerBill2026-01-151-6/+6
|
* Disable global variable initialization into separate functions to circumvent ↵gingerBill2025-12-191-1/+1
| | | | an LLVM bug
* With `-use-single-module` make some procedures use internal linkage rather ↵gingerBill2025-12-171-6/+8
| | | | than weak linkage
* Fix allocation of anonymous globalsTohei Ichikawa2025-11-091-0/+1
|
* Remove duplicate importJeroen van Rijn2025-10-301-7/+1
|
* For test runner, try to look for `os.exit` or `os2.exit`gingerBill2025-10-301-1/+18
|
* Just retry again with `lb_generate_missing_procedures`gingerBill2025-10-291-0/+10
|
* Add target triple and LLVM code mode debug prints (#5839)Jeroen van Rijn2025-10-221-0/+6
|
* llvm 21 supportLaytan2025-10-141-6/+4
|
* Make `-target-features` flag support disabling of a featureYhya Ibrahim2025-10-111-1/+4
|
* Merge pull request #5762 from A1029384756/llvm-14-entry-fixgingerBill2025-10-061-1/+2
|\ | | | | [llvm-14-entry-fix] bitcast context pointer to match types for llvm 14
| * [llvm-14-entry-fix] bitcast context pointer to match types for llvm 14A10293847562025-10-061-1/+2
| |
* | Merge pull request #5727 from harold-b/hb.intrinsics.objc_supergingerBill2025-10-051-53/+117
|\ \ | |/ |/| Add intrinsics.objc_super and Automatically emit objc_msgSend calls
| * Automatically emit objc_msgSend calls when calling imported or implemented ↵Harold Brenes2025-09-291-53/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Objective-C methods - Add intrinsics.objc_super() - Emit objc_msgSendSuper2 calls when an objc method call is combined with objc_super(self) - Fix objc_block return value ABI for large struct returns - Fix objc_implement method wrappers bad ABI for large struct returns and indirect args - Simplify parameter forwarding for objc_imlpement methods - Add intrinsics.objc_instancetype to mimi Objective-C instancetype* returns This facilitates returning the correct type on subclasses when calling mehtods such as `alloc`, `init`, `retain`, etc. - Refactor Objective-C class implementations generation so that hierarchies are properly initialized - Better codegen for context passing with ivar-based autocontext - Allow @superclass on imported objc-c objects - Better codegen for block forwarding invoker, arguments are forwarded directly
* | Rename to `-build-diagnostics`gingerBill2025-09-291-2/+2
| |
* | Add module stuff to `-para-poly-diagnostics`gingerBill2025-09-291-11/+26
|/
* Add `-para-poly-diagnostics`gingerBill2025-09-291-0/+4
|
* Rearrange const union initialization so that it is prioritygingerBill2025-09-291-6/+0
|
* Add more `check_is_operand_compound_lit_constant` usesgingerBill2025-09-281-2/+8
|
* Fix global initialization when non was setgingerBill2025-09-281-2/+2
|
* Global const unions with `@(rodata)`gingerBill2025-09-281-33/+42
|
* Try to improve const `union` LLVM constructiongingerBill2025-09-241-1/+1
|
* Make `LLVM_WEAK_MONOMORPHIZATION` opt-in againgingerBill2025-09-241-1/+1
|
* Single thread `lb_create_startup_runtime_generate_body`gingerBill2025-09-221-3/+2
|
* Handle missing procedures bettergingerBill2025-09-191-5/+11
|
* Convert `missing_procedures_to_check` to a queuegingerBill2025-09-191-7/+7
|
* Convert `procedures_to_generate` to a queuegingerBill2025-09-191-23/+31
|
* Split furthergingerBill2025-09-191-1/+1
|
* Split up startup call into separate callsgingerBill2025-09-191-1/+20
|
* Separate ini global var stuffgingerBill2025-09-191-63/+76
|
* Merge pull request #5632 from kalsprite/x386gingerBill2025-09-181-1/+9
|\ | | | | windows i386 support
| * windows i386 supportJon Lipstate2025-08-291-1/+9
| |
* | More improvements to minimize code gen sizegingerBill2025-09-181-9/+30
| |
* | Minor rearrangementgingerBill2025-09-181-3/+3
| |
* | Revert global procedure threadinggingerBill2025-09-181-35/+38
| |
* | After global procedures and types are generated, then queue the generation ↵gingerBill2025-09-181-38/+35
| | | | | | | | of the procedures for each module
* | Mulithread startup procedure body generationgingerBill2025-09-181-32/+33
| |
* | Use multiple modules per file in package runtimegingerBill2025-09-181-35/+15
| |
* | Try moving parapoly procs into a separate module when doing weak ↵gingerBill2025-09-181-1/+1
| | | | | | | | monomorphization
* | Multithread min dep set by removing the set itselfgingerBill2025-09-101-6/+11
|/
* Add `@(raddbg_type_view=<optional-string>)`gingerBill2025-08-211-0/+22
| | | | | If no string parameter is provided, then one will be generated from the struct field tags. The attribute must be applied if the automatic struct field tag approach is to be used.
* Add support for `[dynamic]T` in `.raddbg`gingerBill2025-08-071-2/+3
|
* Begin supporting `string16` across the core librarygingerBill2025-08-021-0/+6
|
* Fix @objc_implement methods not respecting @objc_is_class_methodHarold Brenes2025-07-151-12/+30
| | | | Fix incorrect type encoding for objc_class
* Allow overriding object extension in `-build-mode:obj`Feoramund2025-05-301-29/+6
|
* Don't double-append module name when building separate objectsFeoramund2025-05-301-1/+2
| | | | | `m->module_name` will already have the `BuildPath_Output` name prepended.
* raddebugger: change table to columnsMohit Sethi2025-05-281-32/+32
|
* Merge pull request #5130 from odin-lang/bill/raddebugger-custom-sectiongingerBill2025-05-281-2/+90
|\ | | | | RAD Debugger support through the custom `.raddbg` section
| * Merge branch 'master' into bill/raddebugger-custom-sectiongingerBill2025-05-221-43/+665
| |\
| * | Move raddbg string stuff to a thread-safe queuegingerBill2025-05-071-85/+87
| | |