Commit Graph

2251 Commits

Author SHA1 Message Date
gingerBill
054e018e23 Remove dead stuff from build.bat 2020-03-19 15:30:10 +00:00
gingerBill
3d81ad46d2 Change demo.odin to default 2020-03-19 15:29:32 +00:00
gingerBill
ed4d21045b Add LLVM_BACKEND_SUPPORT macro to make the backend optional 2020-03-19 15:14:31 +00:00
gingerBill
93955a0fd8 Remove context.std* parameters; Fix unary boolean not 2020-03-19 15:03:02 +00:00
gingerBill
fc0002ab67 Fix enum type info generation 2020-03-19 12:28:39 +00:00
gingerBill
04fe23a3c8 Have different categories for optimization passes 2020-03-19 10:57:14 +00:00
gingerBill
1707e004ec Merge branch 'llvm-integration' of https://github.com/odin-lang/Odin into llvm-integration 2020-03-15 14:37:46 +00:00
gingerBill
5169dc07c7 Fix lb_add_proc_attribute_at_index 2020-03-15 14:37:39 +00:00
gingerBill
18fb6a4be4 Merge branch 'master' into llvm-integration 2020-03-15 14:31:26 +00:00
gingerBill
8dba0e332c Fix #590 2020-03-15 14:29:45 +00:00
gingerBill
3951b93d0a Fix branch statements within inline for blocks (partial hack) 2020-03-15 14:27:54 +00:00
gingerBill
10bac2445b Fix ir_print for byval types 2020-03-13 16:48:10 +00:00
gingerBill
06e364b9bd Apply byval to sret for System V ABI 2020-03-13 08:52:23 +00:00
gingerBill
ce90509a07 Add initial -mem2reg pass to opt 2020-03-13 00:04:03 +00:00
gingerBill
a0d0e93475 Fix os.read_entire_file 2020-03-12 23:45:46 +00:00
gingerBill
2ce1f4ba9f Revert os_windows.odin behaviour 2020-03-12 23:37:24 +00:00
gingerBill
a985449c31 Fix os_windows.h 2020-03-12 23:24:30 +00:00
gingerBill
6abc93ad84 Fix os.read for windows 2020-03-12 23:22:01 +00:00
gingerBill
a9bc07dbff Merge pull request #586 from Tetralux/fix-reading
Fix os.read / os.read_entire_file on Windows
2020-03-12 22:35:12 +00:00
gingerBill
da283d5a7f Add byval 2020-03-12 22:33:49 +00:00
Tetralux
1181d7cf90 Fix os.read / os.read_entire_file
- DWORDs are NOT i32
- os.read didn't correctly read as much as it could
2020-03-12 22:31:00 +00:00
gingerBill
2a2d3273ea Add @require for global variables 2020-03-12 14:40:13 +00:00
gingerBill
775e6caf31 Merge pull request #583 from machinamentum/llvm-integration
LLVM: speed improvement changes.
2020-03-09 08:46:27 +00:00
Joshua Huelsman
4468ddf8f8 LLVM: speed improvement changes. 2020-03-09 03:21:08 -04:00
gingerBill
bf0c6f5a30 Fixes for constants and nil parameters 2020-03-08 19:38:50 +00:00
gingerBill
d1e670335f Fix lb_find_or_add_entity_string_byte_slice 2020-03-08 18:50:10 +00:00
gingerBill
c6c6c56ba9 Fix mem.set for LLVM C API 2020-03-08 18:44:45 +00:00
gingerBill
d4e95282c2 Fix llvm.memset for both backends 2020-03-08 18:42:30 +00:00
gingerBill
5a02ebe2c8 Fix foreign import dependencies; Fix lbParamPass_Integer ABI 2020-03-08 17:57:46 +00:00
gingerBill
dae817e5ab Integrate linker code with the new LLVM API backend 2020-03-08 17:44:08 +00:00
gingerBill
28502ba53b Fix context system; add more to -show-more-timings for LLVM API; Add ODIN_USE_LLVM_API global constant 2020-03-08 12:34:36 +00:00
gingerBill
8dc74a004c Fix nested type declarations name generation, to be internally consistent 2020-03-08 11:46:05 +00:00
gingerBill
c584456a21 Fix logical binary expressions 2020-03-08 10:43:00 +00:00
gingerBill
c74d8405ec Merge branch 'master' into llvm-integration 2020-03-08 10:13:19 +00:00
gingerBill
e0a370f8f1 Remove adding to path in shell.bat 2020-03-08 10:12:56 +00:00
gingerBill
4cf70f360b Add clone for ast.Ternary_If_Expr and ast.Ternary_When_Expr 2020-03-07 21:41:27 +00:00
gingerBill
a83d9f59f6 Fix typo in parser.odin 2020-03-07 21:12:52 +00:00
gingerBill
5d14189a18 Merge branch 'master' of https://github.com/odin-lang/Odin 2020-03-07 16:20:04 +00:00
gingerBill
fb686bdebd Remove the need for parapoly to print an enum as a string 2020-03-07 16:19:55 +00:00
gingerBill
19b9cb7524 Merge pull request #575 from Tetralux/patch-2
Fix mem.align_backward when pointer is already aligned
2020-03-07 10:46:19 +00:00
gingerBill
f92334a769 Basic functionality, except for map and correct nested typename mangling 2020-03-07 10:38:14 +00:00
gingerBill
4ee936ab8d Merge pull request #581 from terickson001/linux_stat_fix
Linux stat fix
2020-03-06 15:42:05 +00:00
gingerBill
0c21939600 Merge pull request #579 from powerc9000/patch-1
Fix issues with stat struct.
2020-03-06 15:41:54 +00:00
Tyler Erickson
f6f2ab2f25 Fixed bad merge 2020-03-05 19:29:32 -08:00
Tyler Erickson
9d163fede8 Merge branch 'master' of https://github.com/odin-lang/Odin into linux_stat_fix 2020-03-05 16:52:34 -08:00
Tyler Erickson
bb026c99a9 Merged with master 2020-03-05 16:49:53 -08:00
gingerBill
8d2ad0da0e Fill in more of the llvm_backend code generation 2020-03-05 22:01:07 +00:00
gingerBill
db7a3ffd2a Merge branch 'master' into llvm-integration 2020-03-05 21:12:16 +00:00
gingerBill
c213d72ec6 Fix #580 defer bug 2020-03-05 20:58:59 +00:00
gingerBill
01b1385672 Disable tmp_block behaviour for ir_find_or_generate_context_ptr 2020-03-05 20:36:53 +00:00