aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend_const.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add `#row_major matrix[R, C]T`gingerBill2024-03-191-2/+2
| | | | | As well as `#column_major matrix[R, C]T` as an alias for just `matrix[R, C]T`. This is because some libraries require a row_major internal layout but still want to be used with row or major oriented vectors.
* Add `-obfuscate-source-code-locations`gingerBill2023-12-131-4/+37
|
* Disable using giant packed struct for type info table for the time beinggingerBill2023-10-271-0/+3
|
* Begin work on making the type info table be constantly initializedgingerBill2023-09-221-5/+9
|
* Fix build times for `-o:<string>` in LLVM-17gingerBill2023-09-211-11/+0
|
* Update to LLVM-17gingerBill2023-09-191-3/+3
|
* Fix constant literals using the wrong typegingerBill2023-09-191-4/+4
|
* Fix bug: Disallow non-specialized polymorphic in typeid assignmentgingerBill2023-09-061-2/+5
|
* Mock out more global value stuffgingerBill2023-07-201-1/+1
|
* Basic constant compound literal supportgingerBill2023-07-191-68/+66
|
* Fix issue with pointer casting internal llvm intrinsicsgingerBill2023-07-071-1/+4
|
* Fix a race condition when produced anonymous procedure literals with ↵gingerBill2023-06-131-0/+1
| | | | `-use-separate-modules`
* Fix non-constant compound literals of slicesgingerBill2023-06-071-2/+20
|
* Fix constant slice initialization for wasm64p32gingerBill2023-06-061-5/+21
|
* Minor fix to internal `using` logic with LLVM causing a compiler buggingerBill2023-06-061-4/+9
|
* Minor change to handling of propagation of errors with `---` as a valuegingerBill2023-05-221-1/+1
|
* Simplify copy elision on variable declarationsgingerBill2023-03-161-7/+1
|
* Fix value elision on declarationgingerBill2023-03-091-1/+8
|
* Allow compound literals to access fields through `using`gingerBill2023-02-261-3/+74
|
* Minimize stack wastage with compound literals defining variablesgingerBill2023-02-171-0/+4
|
* Fix overriding procedure information for literalsgingerBill2023-02-171-1/+0
|
* Revert "Change `tav` to be a pointer internally"gingerBill2022-12-221-28/+28
| | | | This reverts commit e98f1a28e68e82753728f58b3465793192b74f9d.
* Change `tav` to be a pointer internallygingerBill2022-12-221-28/+28
|
* `gb_internal` LLVM backendgingerBill2022-12-181-30/+30
|
* Begin work on map static setgingerBill2022-11-111-4/+13
|
* Ad-hoc pass source code location directly by pointer without stack copygingerBill2022-10-311-5/+5
|
* Optimize `#caller_location` and `#location` to use read only data section ↵gingerBill2022-10-311-0/+17
| | | | where possible
* Clean up of the core library to make the stream vtables not be pointers ↵gingerBill2022-09-151-0/+3
| | | | directly.
* Minor fix to `lb_big_int_to_llvm`gingerBill2022-09-141-1/+1
|
* Fix pointer cast of constant procedure valuesgingerBill2022-09-081-10/+9
|
* Fix #2029 Eumerated array of procs literal crashes the compiler with an llvm ↵gingerBill2022-09-071-0/+4
| | | | error
* `#load(path, type)`gingerBill2022-08-111-2/+2
| | | | where `type` can be `string` or `[]T` where `T` is a simple type
* Comment out a bit of code in `lb_is_const_or_global`gingerBill2022-08-091-1/+3
|
* Removed use of deprecated functions. Cleaned up most deprecated use of ↵Christoffer Lerno2022-08-071-4/+4
| | | | LLVMGetElementType.
* remove leftover print statementPhil2022-07-251-1/+0
|
* Fix #1883gingerBill2022-07-161-12/+11
|
* Merge pull request #1395 from hdooley/mastergingerBill2022-06-121-5/+3
|\ | | | | factor out alloca generation into a helper
| * review feedbackHenry Dooley2021-12-281-2/+0
| |
| * factor out alloca generation into a helperHenry Dooley2021-12-251-3/+3
| |
* | Remove need for `simd.splat`gingerBill2022-05-261-5/+21
| |