aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend_utility.cpp
Commit message (Collapse)AuthorAgeFilesLines
* commentjakubtomsu2025-10-181-0/+3
|
* prefer Type pointer over LLVMTypeRef when doing a struct_field_remapping lookupjakubtomsu2025-10-181-2/+2
|
* llvm 21 supportLaytan2025-10-141-5/+3
|
* Use module-prefixed naming scheme for trackingHarold Brenes2025-10-051-12/+10
| | | | objc block instead of shared id counter.
* Fix Objective-C block symbols naming conflict across modules.Harold Brenes2025-10-051-10/+11
| | | | | Fix assert triggered when there's checker errors and Objective-C method implementations.
* Merge pull request #5738 from jakubtomsu/fix-simd-ptr-transmutegingerBill2025-10-051-0/+7
|\ | | | | [LLVM backend] SIMD vector transmute only uses bitcast when the elements aren't pointers
| * bitcast only non-pointer-like-element simd vectors, handle others like other ↵Jakub Tomsu2025-10-011-0/+7
| | | | | | | | aggregate types
* | Merge pull request #5727 from harold-b/hb.intrinsics.objc_supergingerBill2025-10-051-31/+180
|\ \ | |/ |/| Add intrinsics.objc_super and Automatically emit objc_msgSend calls
| * Remove outdated todoHarold Brenes2025-09-291-1/+0
| |
| * Automatically emit objc_msgSend calls when calling imported or implemented ↵Harold Brenes2025-09-291-31/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Correct format stringsbill/global-variable-distributiongingerBill2025-09-291-6/+20
| |
* | Rename to `-build-diagnostics`gingerBill2025-09-291-1/+1
| |
* | Add module stuff to `-para-poly-diagnostics`gingerBill2025-09-291-12/+100
|/
* Change sort for single instanced proceduresgingerBill2025-09-291-0/+7
|
* Add `-para-poly-diagnostics`gingerBill2025-09-291-0/+180
|
* Implementes the block ABI.2010.3.16 natively via the `objc_block` intrinsic ↵Harold Brenes2025-08-061-0/+391
| | | | | | and the `Objc_Block` builtin type. See: https://clang.llvm.org/docs/Block-ABI-Apple.html
* `for in string16`; Support `string16` across coregingerBill2025-08-021-0/+17
|
* Begin supporting `string16` across the core librarygingerBill2025-08-021-1/+18
|
* Add `string16` and `cstring16` (UTF-16 based strings)gingerBill2025-08-021-0/+12
|
* Change ivar offsets from u32 to (odin base type) int/native pointer size.Harold Brenes2025-04-301-3/+3
|
* Fix indentationsHarold Brenes2025-04-271-7/+7
| | | | Fix Objective-C wrapper procs not forwarding return value
* Include the ivar in the Objective-C class unconditionally of it being used ↵Harold Brenes2025-04-221-13/+18
| | | | | | or not. Allow pseudo-fields for ivar access.
* Fix ivar in multi-module mode.Harold Brenes2025-04-211-8/+6
|
* Add initial support for Objective-C class implementationHarold Brenes2025-04-201-8/+66
|
* Remove refactorgingerBill2025-04-031-15/+34
|
* Minor clean up to `lb_handle_objc_find_or_register_internal`gingerBill2025-04-031-37/+12
|
* Rewrite objc SEL/Class register handling codegingerBill2025-04-031-68/+50
|
* Add mutex for `lb_handle_objc_find_or_register_class`gingerBill2025-04-021-0/+6
|
* Add mutex for `lb_handle_objc_find_or_register_selector`gingerBill2025-04-021-0/+7
|
* fix off by one temp cstring and put objc names on permanent allocator to be safeLaytan Laats2025-03-211-2/+2
| | | | Fixes #4922
* Use `::` rather than `$` to try and fix mac SEL stuffgingerBill2025-03-121-4/+3
|
* Use more predictable object namegingerBill2025-02-251-2/+2
|
* Try to make globally generated variables deterministic in namegingerBill2025-02-251-2/+13
|
* Handle `any` correctly for 32-bit systemsgingerBill2025-02-201-0/+7
|
* -obfuscate-source-code-locations on bounds checks and type assertionsLaytan Laats2025-02-051-6/+2
|
* optimize fixLaytan Laats2025-01-241-30/+26
|
* fix separate modules with objc codeLaytan Laats2025-01-241-41/+51
|
* Merge pull request #4611 from tf2spi/4491-max-field-align-packgingerBill2025-01-011-3/+16
|\ | | | | Add packing + aligned access w/ field_align
| * Pack struct when needed, use field_align metadatamisomosi2024-12-221-3/+16
| |
* | Add `#branch_location`gingerBill2025-01-011-4/+4
|/
* Remove `#relative` types from the compilergingerBill2024-11-141-6/+0
|
* Keep ASAN happy on type assertionsgingerBill2024-11-131-2/+10
|
* check packed load and set alignment on all loads, not just lb_emit_loadLaytan Laats2024-10-251-1/+1
|
* Fix inline transmutation of `[16]i8` to `i128`Feoramund2024-08-261-1/+1
| | | | Forbids LLVM from generating SSE aligned loads on unaligned data.
* Cache the paddding filler typegingerBill2024-08-181-3/+24
|
* wasm: add foreign import and linking of wasm object filesLaytan Laats2024-07-021-1/+5
|
* disallow non-global foreign import of variables on wasmLaytan Laats2024-06-281-1/+1
|
* Fix #3649gingerBill2024-05-301-0/+2
|
* Fix Odin to LLVM memory order mapping for .Relaxed and .ConsumeKamil T2024-05-201-2/+2
|
* Fix `soa_zip` and `soa_unzip`gingerBill2024-05-161-3/+11
|