aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend_const.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Only add packing if the padding is non-zero for a #raw_union constantgingerBill2025-09-291-1/+1
|
* Short circuit for `Union{}`gingerBill2025-09-291-0/+11
|
* Rudimentary support for some constant `struct #raw_union`gingerBill2025-09-291-0/+33
|
* Remove debug codegingerBill2025-09-291-8/+0
|
* Rearrange const union initialization so that it is prioritygingerBill2025-09-291-110/+35
|
* Do not need an extra local copy for the slicesgingerBill2025-09-281-9/+18
|
* Check for empty compound literal early for constantsgingerBill2025-09-281-7/+7
|
* Correct failure check for const castgingerBill2025-09-281-23/+34
|
* Use `memcpy` for local constant slice arrays from a global constantgingerBill2025-09-281-176/+26
|
* Fix constant `union{proc()}`gingerBill2025-09-281-24/+27
|
* Fix `Union{}`gingerBill2025-09-281-0/+10
|
* Global const unions with `@(rodata)`gingerBill2025-09-281-20/+27
|
* Begin to support constant array of unionsgingerBill2025-09-281-8/+10
|
* First step towards constant unionsgingerBill2025-09-281-27/+60
|
* Remove stray `0`gingerBill2025-09-271-1/+1
|
* Completely comment out `lb_construct_const_union`gingerBill2025-09-261-0/+4
|
* Early short circuit `lb_construct_const_union`gingerBill2025-09-261-4/+3
|
* Ignore furthergingerBill2025-09-251-0/+3
|
* Disable some of `lb_construct_const_union` for the time being.gingerBill2025-09-251-0/+5
|
* Again, better const union stuffgingerBill2025-09-241-137/+55
|
* More improves for const union stuff!gingerBill2025-09-241-25/+193
|
* More const union improvementsgingerBill2025-09-241-16/+55
|
* Improve const union attempsgingerBill2025-09-241-3/+23
|
* Try to improve const `union` LLVM constructiongingerBill2025-09-241-0/+94
|
* Allow unions with one variant to be constantgingerBill2025-09-191-1/+42
|
* Fix string16 literal length set in LLVMgingerBill2025-08-021-3/+10
|
* Cache const `string16` in LLVMgingerBill2025-08-021-1/+1
|
* Begin supporting `string16` across the core librarygingerBill2025-08-021-4/+73
|
* [source-code-locations] - added options to show, obfuscate, and hide source ↵Hayden Gray2025-06-261-3/+17
| | | | code locations (#5412)
* Let compound literal array be broadcast to a struct field of arraysFeoramund2025-06-051-0/+11
| | | | | | Fixes #4364 Patch courtesy of @cribalik
* Add support for `#soa[N]T` compound literalsgingerBill2025-06-041-0/+142
|
* CHECK 1 donebogwi2025-05-051-1/+4
| | | | | | | Fix panic in LLVM backend when using generic procedure with default arguments - Fixed panic in `llvm_backend_proc.cpp` when using unspecialized polymorphic procedures as defaults. - Ensured correct type inference when generic procedures are used as default parameters.
* Propagate `@(link_section=<string>)` to nested declarationsgingerBill2025-04-081-40/+52
|
* Fix #4980Jeroen van Rijn2025-04-021-1/+1
| | | | Add nullptr check.
* Use `store`gingerBill2025-03-241-17/+20
|
* Use `store` over `memcpy`gingerBill2025-03-241-6/+6
|
* Fix #4952gingerBill2025-03-241-5/+44
|
* Improve global array index to be on a per module basisgingerBill2025-02-251-5/+5
|
* Canonicalize global source code locationsgingerBill2025-02-241-6/+32
|
* fix some LLVM assertionsLaytan Laats2024-09-111-2/+2
|
* Propagate `rodata` a bit more in `lb_const_value`gingerBill2024-07-231-28/+36
|
* Fix #3964gingerBill2024-07-231-1/+5
|
* Begin work for `bit_set[...; [N]T]` (not working)gingerBill2024-07-151-0/+2
|
* Reduce the size of `runtime.Type_Info`gingerBill2024-07-141-0/+9
|
* Fix assertion false positiveLaytan Laats2024-07-041-1/+0
| | | | | | | | | Assertion was added in #3855 - https://github.com/odin-lang/Odin/pull/3855/commits/723314909679b89e159cb4cb05d250d12ac64436 to mimic LLVM's own internal assertion for this, turns out their assertion is more sophisticated than an `==` so lets just remove it. To be clear their internal assertion is not hit while this one is, which defeats the purpose of ours.
* fix llvm assertion failure when const initializer is not the same typeLaytan Laats2024-07-021-3/+1
|
* Fix #3589gingerBill2024-05-161-1/+1
|
* Obfuscate `#line`gingerBill2024-04-081-9/+2
|
* Obfuscate `#file` and `#procedure` when `-obfuscate-source-code-locations` ↵gingerBill2024-04-081-13/+2
| | | | is enabled
* Implement endian conversions for smaller float types.rick-masters2024-03-291-3/+15
|