aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix `union #maybe` comparison against `nil` -llvm-apipre-dev-2021-04gingerBill2021-04-261-0/+3
|
* Merge pull request #915 from wilsonk/issue-820gingerBill2021-04-261-1/+21
|\ | | | | Fix for issue 720 (import name is not an identifier)
| * Fix for issue 820 (import name is not an identifier)Kelly Wilson2021-04-251-1/+21
| |
* | Fix #857gingerBill2021-04-251-4/+15
| |
* | Fix #911 for -llvm-api backendgingerBill2021-04-251-1/+1
| |
* | Up ci.ymlgingerBill2021-04-241-1/+1
| |
* | Move out some intrinsics into separate procedures in llvm_backend.cpp; ↵gingerBill2021-04-246-73/+108
| | | | | | | | Rename `InlineRangeStmt` to `UnrollRangeStmt` (eventually merge the two AST nodes)
* | Move `check_builtin_procedure` to check_builtin.cppgingerBill2021-04-233-2805/+2804
|/
* Warn on redundant `auto_cast`, and make an error on `-vet`gingerBill2021-04-221-0/+9
|
* Improve `auto_cast` logicgingerBill2021-04-222-2/+4
|
* Reuse unused 'context' variables to minimize stack usage (-llvm-api)gingerBill2021-04-222-5/+40
|
* Make `main` calling convention "odin" rather than "contextless" to simplify ↵gingerBill2021-04-222-45/+44
| | | | code generation
* Remove old codegingerBill2021-04-221-14/+5
|
* Change function pass manager passesgingerBill2021-04-222-4/+43
|
* Change how `lb_populate_function_pass_manager` works by using the default ↵gingerBill2021-04-222-12/+67
| | | | LLVM passes when not using minimal optimizations
* Add intrinsics: overflow_add, overflow_sub, overflow_mul; Change byte swap ↵gingerBill2021-04-227-85/+200
| | | | behaviour in -llvm-api to be the same as the intrinsic
* Add intrinsics: byte_swap (integers and floats); count_ones; trailing_zeros; ↵gingerBill2021-04-223-3/+128
| | | | reverse_bits
* Remove `intrinsics.x86_mmx` typegingerBill2021-04-228-72/+17
|
* Add new intrinsics: debug_trap, trap, read_cycle_counter, expectgingerBill2021-04-227-4/+167
|
* Add `optimization_mode` attribute for proceduresgingerBill2021-04-225-4/+67
| | | | | Allowed modes: "none", "minimal", "size", "speed" Currently: none == minimal and size == speed
* Fix typogingerBill2021-04-211-2/+2
|
* Add new `-o:<string>` flag as an alternative to `-opt:<integer>`gingerBill2021-04-212-2/+49
|
* Add `-build-mode:llvm-ir` for `-llvm-api` backendgingerBill2021-04-213-1/+10
|
* Merge branch 'master' of https://github.com/odin-lang/OdingingerBill2021-04-211-2/+2
|\
| * Merge pull request #905 from jasmcaus/patch-1gingerBill2021-04-201-2/+2
| |\ | | | | | | Fix potential Typo
| | * Fix potential Typo : S32 ==> I32Jason Dsouza2021-04-191-2/+2
| | |
* | | Remove useless error message for constant binary expressions with ↵gingerBill2021-04-211-15/+11
|/ / | | | | | | non-constant operations
* | Hack ABI for windows passing pointers to structuresgingerBill2021-04-191-2/+13
| |
* | Fix typogingerBill2021-04-191-1/+1
| |
* | Add code that was accidentally removedgingerBill2021-04-191-0/+2
| |
* | Improve `#optional_ok` logic for procedures; Add `#optional_second` for ↵gingerBill2021-04-194-99/+131
| | | | | | | | `package runtime` usage
* | Allow assignment of procedure calls with `#optional_ok` to single valuesgingerBill2021-04-191-9/+23
| |
* | Allow casting of `#optional_ok` call expressionsgingerBill2021-04-192-4/+25
| |
* | Fix `update_expr_type` behaviour, along with fixing procedure groups ↵gingerBill2021-04-191-10/+48
| | | | | | | | updating the proc expr type
* | Improve the `Allocator` interface to support returning `Allocator_Error` to ↵gingerBill2021-04-191-1/+1
| | | | | | | | | | | | allow for safer calls Virtually all code (except for user-written custom allocators) should work as normal. Extra features will need to be added to make the current procedures support the `Allocator_Error` return value (akin to #optional_ok)
* | Remove temporary reference typesgingerBill2021-04-192-4/+4
| |
* | Fix `override_entity_in_scope `behaviour to correctly to report the changes ↵gingerBill2021-04-195-45/+62
|/ | | | upstream better
* Add package flagsgingerBill2021-04-182-1/+26
|
* Improve `init_string` determination for constantsgingerBill2021-04-183-2/+26
|
* Improve odin-doc type information for Named types by storing the base typegingerBill2021-04-181-0/+1
|
* Add calling_convention to odin-doc Type formatgingerBill2021-04-182-0/+28
|
* Fix enumerated arrays for .odin-docgingerBill2021-04-182-4/+9
|
* Add `-doc-format` command for the new .odin-doc file format (to be used to ↵gingerBill2021-04-188-18/+1299
| | | | generate documentation tools)
* Correct call site attributesgingerBill2021-04-141-2/+2
|
* Add `@(cold)` attribute to procedure declarationsgingerBill2021-04-148-27/+82
|
* Allow `intrinsics` entities to be exported from other packages if wantedgingerBill2021-04-131-1/+1
|
* Minor fixes to platform checking codegingerBill2021-04-113-13/+24
|
* Merge pull request #901 from atkurtul/swarninggingerBill2021-04-091-1/+1
|\ | | | | fix Syntax Warning
| * fix Syntax WarningGitea2021-04-091-1/+1
| |
* | Fix proc literal bug not finding the associated `DeclInfo`gingerBill2021-04-091-1/+7
|/