gingerBill
|
c1e125a009
|
Change alignment of alloca to a larger one if OdinLLVMBuildTransmute requires it
|
2021-03-29 14:31:26 +01:00 |
|
gingerBill
|
48767301a4
|
Another minor change to OdinLLVMBuildTransmute regarding minimum source alignment
|
2021-03-29 14:11:02 +01:00 |
|
gingerBill
|
253a3edd30
|
Change OdinLLVMBuildTransmute when to deal with loads
|
2021-03-29 14:07:25 +01:00 |
|
gingerBill
|
8239cd34eb
|
Issue #823 - Change semantics of disabled attribute to not evaluate any of the parameters at run time
|
2021-03-27 17:59:01 +00:00 |
|
gingerBill
|
e21d716720
|
Fix endian conversion to and from floats and ints
|
2021-03-27 14:33:33 +00:00 |
|
gingerBill
|
d62ff39e60
|
Remove extra passes
|
2021-03-27 13:30:15 +00:00 |
|
gingerBill
|
0ccf103160
|
Fix byte swapping for endian specific types in -llvm-api
|
2021-03-27 12:48:29 +00:00 |
|
gingerBill
|
7463ad23d8
|
Move variable declarations to aid other compilers
|
2021-03-25 22:59:15 +00:00 |
|
gingerBill
|
6271d10af7
|
Fix to OdinLLVMBuildTransmute to goto general_end on different sized data
|
2021-03-25 22:54:49 +00:00 |
|
gingerBill
|
c5c82e0551
|
Fix pseudo-constant local slice initialization
|
2021-03-25 22:47:23 +00:00 |
|
gingerBill
|
29ed1d5459
|
Minor zero enforcement
|
2021-03-25 22:34:35 +00:00 |
|
gingerBill
|
50b439daa8
|
Fix pseudo-constant local embedded slice generation
|
2021-03-25 22:27:52 +00:00 |
|
gingerBill
|
23c68b4f7a
|
Change to assert to test both LLVMIsConstant and LLVMIsGlobalConstant
|
2021-03-25 22:14:38 +00:00 |
|
gingerBill
|
615104afd1
|
Revert change :D
|
2021-03-25 20:59:24 +00:00 |
|
gingerBill
|
d3665331c7
|
Another minor fix to OdinLLVMBuildTransmute
|
2021-03-25 20:47:10 +00:00 |
|
gingerBill
|
04be6d190e
|
Minor fix to OdinLLVMBuildTransmute
|
2021-03-25 20:45:22 +00:00 |
|
gingerBill
|
0007ac63ed
|
Correct #c_vararg behaviour on -llvm-api
|
2021-03-25 20:23:43 +00:00 |
|
gingerBill
|
7c951cbf0a
|
Add SOA struct len/cap/allocator fields for the debug symbols
|
2021-03-24 23:12:54 +00:00 |
|
gingerBill
|
2d0e2625ac
|
Ensure pointers are of the same type in LLVM ICmp
|
2021-03-24 23:01:48 +00:00 |
|
gingerBill
|
5faf859a56
|
Support using on intermediate soa field value from a for-in statement
|
2021-03-24 22:34:55 +00:00 |
|
gingerBill
|
7028797d53
|
Implement soa_unzip
|
2021-03-24 19:29:25 +00:00 |
|
gingerBill
|
989a03dc77
|
soa_zip (-llvm-api only): creates an #soa[]struct from passed slices
x := []i32{1, 3, 9};
y := []f32{2, 4, 16};
z := []b32{true, false, true};
s_anonymous := soa_zip(x, y, z);
assert(s_anonymous[0]._1 == 2);
s_named := soa_zip(a=x, b=y, c=z);
assert(s_anonymous[0].b == 2);
|
2021-03-24 17:33:05 +00:00 |
|
gingerBill
|
2ec3326653
|
Support #soa array iteration in a for in loop for -llvm-api backend only
|
2021-03-24 14:31:44 +00:00 |
|
gingerBill
|
0e3ecc350a
|
Make the parser support as many identifiers on the LHS in for in loops to improve error messages
|
2021-03-24 12:11:00 +00:00 |
|
gingerBill
|
295c1550a8
|
Support using variables in debug information
|
2021-03-24 10:57:00 +00:00 |
|
gingerBill
|
fc1a352285
|
For bit_set, allow + and - to be aliases for | and &~, respectively
|
2021-03-23 23:34:01 +00:00 |
|
gingerBill
|
d88d6a1fdd
|
bit_set support in debug symbols by treating them like a bit field of 1 bit booleans
|
2021-03-23 22:09:16 +00:00 |
|
gingerBill
|
f1e13bdddb
|
Prefix named types with package name in debug types
|
2021-03-23 20:45:39 +00:00 |
|
gingerBill
|
331167e91f
|
Improve debug type names for composite types (arrays, map, struct, union)
|
2021-03-23 20:41:49 +00:00 |
|
gingerBill
|
e229882fde
|
Clean up some debug type code
|
2021-03-23 19:33:22 +00:00 |
|
gingerBill
|
300f988905
|
Add global variables to -llvm-api debug information
|
2021-03-23 18:34:20 +00:00 |
|
gingerBill
|
7f6a43f0af
|
Move LLVM optimization procedures to a separate file to aid with organization
|
2021-03-23 18:24:49 +00:00 |
|
gingerBill
|
ccd91aee5c
|
Fix debug information for typeid on -llvm-api
|
2021-03-22 16:14:58 +00:00 |
|
gingerBill
|
bf46a3f1d3
|
Correct debug info for basic composite types (e.g. string, any)
|
2021-03-22 15:36:18 +00:00 |
|
gingerBill
|
8ab1b32fe1
|
Add local debug variable support for -llvm-api
|
2021-03-22 14:51:19 +00:00 |
|
gingerBill
|
0355908af8
|
Start work on very basic LLVM debug type information
|
2021-03-22 13:09:23 +00:00 |
|
gingerBill
|
fd7d70954e
|
Begin integrating work from branch llvm-debug-symbols
|
2021-03-20 13:10:53 +00:00 |
|
gingerBill
|
cb0bd80f50
|
Fix LLVMConstArray usage
|
2021-03-19 16:59:46 +00:00 |
|
gingerBill
|
5a67e6ecbd
|
Fix LLVM asserts
|
2021-03-19 16:53:22 +00:00 |
|
gingerBill
|
178e891c78
|
Fix some LLVM asserts by using LLVMConstNamedStruct everywhere
|
2021-03-19 15:47:10 +00:00 |
|
gingerBill
|
468ad4837b
|
Add pkg field to testing.Internal_Test
|
2021-03-14 18:15:08 +00:00 |
|
gingerBill
|
2aa588209e
|
odin test to work with the new core:testing package
|
2021-03-14 18:01:31 +00:00 |
|
gingerBill
|
3ff7bded64
|
Add intrinsics.volatile_store and intrinsics.volatile_load
|
2021-03-09 11:40:36 +00:00 |
|
gingerBill
|
45cd5c0b1c
|
Remove test code
|
2021-03-06 16:11:39 +00:00 |
|
gingerBill
|
572b9d1b3f
|
Fix context bug with deferred_* attributes which caused a new context to be created every time
|
2021-03-06 16:11:01 +00:00 |
|
gingerBill
|
1988856eed
|
Minimize the size of runtime.Source_Code_Location to use i32 instead of int
|
2021-03-05 12:56:36 +00:00 |
|
gingerBill
|
15dbc99cb9
|
Minimize TokenPos size by using i32 for line/column/offset and file_id instead of String
To make `i32` safe, the parser limits the file size of odin files to a maximum of 2GiB (which will be good enough for the vast vast majority of cases)
|
2021-03-04 16:45:30 +00:00 |
|
gingerBill
|
c2794b62a9
|
Clean up logic for << and >> behaviour
|
2021-03-02 16:48:39 +00:00 |
|
gingerBill
|
4e63ab5edc
|
Re-enable "LLVM Function Pass"
|
2021-03-02 13:36:57 +00:00 |
|
gingerBill
|
2a1bec9fbb
|
Clean up lb_end_procedure_body logic
|
2021-03-02 00:43:25 +00:00 |
|