gingerBill
|
cb2e6ea31d
|
Remove use_llvm_api related checks and other related things
|
2021-04-25 20:03:05 +01:00 |
|
gingerBill
|
74c683e908
|
Remove -llvm-api from CI
|
2021-04-25 19:59:35 +01:00 |
|
gingerBill
|
6383714bff
|
Remove old procedure ABI code
|
2021-04-25 19:56:46 +01:00 |
|
gingerBill
|
a25e796b00
|
Delete ir.cpp and related files
|
2021-04-25 19:52:37 +01:00 |
|
gingerBill
|
833784e196
|
Remove old backend specific code in main
|
2021-04-25 19:51:57 +01:00 |
|
gingerBill
|
66a70b9d27
|
Remove the need for LLVM_BACKEND_SUPPORT
|
2021-04-25 19:49:29 +01:00 |
|
gingerBill
|
cd125c0f41
|
Override -llvm-api to always be true
|
2021-04-25 19:46:48 +01:00 |
|
gingerBill
|
ff620422fa
|
Fix #857
|
2021-04-25 19:40:02 +01:00 |
|
gingerBill
|
5685a8d885
|
Fix #911 for -llvm-api backend
|
2021-04-25 19:19:44 +01:00 |
|
gingerBill
|
b8327ad00d
|
Merge pull request #912 from odin-lang/llvm-api-ci-changes
Update Makefile to compile with LLVM C API
|
2021-04-25 19:02:24 +01:00 |
|
gingerBill
|
1bdce19c18
|
Update nightly.yml to support -llvm-api
|
2021-04-25 18:44:05 +01:00 |
|
gingerBill
|
041ff13672
|
Update CI for Linux
|
2021-04-25 18:06:29 +01:00 |
|
gingerBill
|
60a2eaf666
|
Revert changes to macOS Makefile
|
2021-04-25 18:04:07 +01:00 |
|
gingerBill
|
ec2db568c1
|
Update Makefile for macOS to be more "correct" with Linux
|
2021-04-25 15:57:35 +01:00 |
|
gingerBill
|
1387fd9047
|
Make -llvm-api run first before old backend on Linux
|
2021-04-25 15:52:24 +01:00 |
|
gingerBill
|
fb6288a54e
|
Try specifying the specific libs on Linux
|
2021-04-25 15:48:54 +01:00 |
|
gingerBill
|
4d00058858
|
Try clang-11
|
2021-04-24 22:11:38 +01:00 |
|
gingerBill
|
5c26cf9d73
|
Try llvm-config-11 in the Makefil
|
2021-04-24 21:58:44 +01:00 |
|
gingerBill
|
6048d25d36
|
Try llvm-config-11
|
2021-04-24 21:26:14 +01:00 |
|
gingerBill
|
748f094e15
|
Add llvm-dev-11 to Linux CI (just testing)
|
2021-04-24 21:20:18 +01:00 |
|
gingerBill
|
184c686c7e
|
Add clang-11 for Linux; blank out threading_example on darwin
|
2021-04-24 21:13:40 +01:00 |
|
gingerBill
|
240a568eb9
|
Update CI to run both old and new backends
|
2021-04-24 21:09:35 +01:00 |
|
gingerBill
|
ad953c4670
|
Add cast on S_ISDIR
|
2021-04-24 21:08:15 +01:00 |
|
gingerBill
|
0f9b0c2052
|
Remove libllvm-11
|
2021-04-24 21:04:38 +01:00 |
|
gingerBill
|
cde334ada3
|
Modify flags in Makefile
|
2021-04-24 21:03:22 +01:00 |
|
gingerBill
|
2b4010998d
|
Up ci.yml
|
2021-04-24 20:55:50 +01:00 |
|
gingerBill
|
4272fe5e85
|
Update Makefile to compile with LLVM C API
|
2021-04-24 20:46:47 +01:00 |
|
gingerBill
|
c29b643a58
|
Move out some intrinsics into separate procedures in llvm_backend.cpp; Rename InlineRangeStmt to UnrollRangeStmt (eventually merge the two AST nodes)
|
2021-04-24 15:00:01 +01:00 |
|
gingerBill
|
c9b82a21e9
|
Move check_builtin_procedure to check_builtin.cpp
|
2021-04-23 10:01:52 +01:00 |
|
gingerBill
|
bd31a99bf7
|
Remove redundant auto_cast
|
2021-04-23 09:50:26 +01:00 |
|
gingerBill
|
17bbb48d8a
|
Warn on redundant auto_cast, and make an error on -vet
|
2021-04-22 17:36:28 +01:00 |
|
gingerBill
|
ac53577e9b
|
Improve auto_cast logic
|
2021-04-22 17:29:48 +01:00 |
|
gingerBill
|
896057b5a7
|
Reuse unused 'context' variables to minimize stack usage (-llvm-api)
|
2021-04-22 16:56:02 +01:00 |
|
gingerBill
|
01db195b47
|
Make main calling convention "odin" rather than "contextless" to simplify code generation
|
2021-04-22 16:26:28 +01:00 |
|
gingerBill
|
d33350e3a5
|
Add truncate_to_byte and truncate_to_rune for packages strings and bytes
|
2021-04-22 15:49:10 +01:00 |
|
gingerBill
|
8a86c4c7cc
|
Remove old code
|
2021-04-22 14:24:30 +01:00 |
|
gingerBill
|
1c9f48031d
|
Change function pass manager passes
|
2021-04-22 13:54:26 +01:00 |
|
gingerBill
|
7fcd5ecbd5
|
Change how lb_populate_function_pass_manager works by using the default LLVM passes when not using minimal optimizations
|
2021-04-22 12:35:01 +01:00 |
|
gingerBill
|
b68b090f13
|
Add intrinsics: overflow_add, overflow_sub, overflow_mul; Change byte swap behaviour in -llvm-api to be the same as the intrinsic
|
2021-04-22 11:33:46 +01:00 |
|
gingerBill
|
542098dc6f
|
Add intrinsics: byte_swap (integers and floats); count_ones; trailing_zeros; reverse_bits
|
2021-04-22 11:06:16 +01:00 |
|
gingerBill
|
0a66f8c9a3
|
Remove intrinsics.x86_mmx type
|
2021-04-22 10:39:20 +01:00 |
|
gingerBill
|
158e4c0b6c
|
Add @(cold) tag
|
2021-04-22 10:35:37 +01:00 |
|
gingerBill
|
47c7dc6a9b
|
Add new intrinsics: debug_trap, trap, read_cycle_counter, expect
|
2021-04-22 10:35:17 +01:00 |
|
gingerBill
|
65551ba8fb
|
Add optimization_mode attribute for procedures
Allowed modes: "none", "minimal", "size", "speed"
Currently: none == minimal and size == speed
|
2021-04-22 00:04:47 +01:00 |
|
gingerBill
|
c7d92562c2
|
Fix typo
|
2021-04-21 23:40:19 +01:00 |
|
gingerBill
|
5b3802b8ca
|
Add new -o:<string> flag as an alternative to -opt:<integer>
|
2021-04-21 23:39:48 +01:00 |
|
gingerBill
|
2fb0383e82
|
Add -build-mode:llvm-ir for -llvm-api backend
|
2021-04-21 23:25:08 +01:00 |
|
gingerBill
|
8077d5f565
|
Merge branch 'master' of https://github.com/odin-lang/Odin
|
2021-04-21 10:52:34 +01:00 |
|
gingerBill
|
6b45856e81
|
Remove useless error message for constant binary expressions with non-constant operations
|
2021-04-21 10:52:26 +01:00 |
|
gingerBill
|
28e5df6e7f
|
Merge pull request #907 from awwdev/fix-variable-name-in-path_unix
fix variable name in path_unix
|
2021-04-20 21:14:25 +01:00 |
|