Commit Graph

20 Commits

Author SHA1 Message Date
Dmitry Stogov
1fa3f2b6ae Fixed LLVM "ptrtoint" and "inttoptr" conversion 2023-12-14 13:15:16 +03:00
Dmitry Stogov
d04540e4dc Fixed incorrect LLVM "getelementptr" conversion 2023-12-14 12:40:19 +03:00
Dmitry Stogov
5b2619243a Fixed several LLVM loader bugs 2023-12-14 01:30:48 +03:00
Dmitry Stogov
0981d76cc7 iImproved LLVM export (builtin function support) 2023-12-06 12:47:03 +03:00
Dmitry Stogov
76e6418cae Support for function prototypes 2023-11-30 21:10:41 +03:00
Dmitry Stogov
ea2de69592 Add bit counting nodes (JIT code generation is not supported yet) 2023-11-16 03:05:10 +03:00
Dmitry Stogov
90b6f34db2 Add FRAME_ADDR node 2023-11-16 01:59:26 +03:00
Dmitry Stogov
507175b228 Add VA_ARG nodes (JIT code generation is not supported yet) 2023-11-16 00:29:24 +03:00
Dmitry Stogov
0e421792ae Fixed support for both limits in llvm.sadd.sat and llvm.ssub.sat 2023-11-15 16:59:40 +03:00
Dmitry Stogov
a8e514266f Add support for some LLVM intrinsic 2023-11-15 15:17:36 +03:00
Dmitry Stogov
a2c6f98e75 Improve LLVM loader support (incomplete) 2023-11-10 18:09:48 +03:00
Dmitry Stogov
49316643e7 Initial support for modules (incomplete) 2023-10-20 17:44:45 +03:00
Dmitry Stogov
9b1ce974cb Improve loader interface (incomplete) 2023-10-20 01:09:46 +03:00
Dmitry Stogov
d0686408e2 Initial support for SYM constants (incomplete) 2023-10-18 11:45:57 +03:00
Dmitry Stogov
2984f34fe7 Fix zext(bool)->i8 2023-10-13 15:41:54 +03:00
Dmitry Stogov
78e95131b4 Proper VADDR insertion 2023-10-12 12:37:34 +03:00
Dmitry Stogov
d51efd33d4 Fix incorrect SSA construction 2023-10-12 10:17:04 +03:00
Dmitry Stogov
1fbb2ac2ed Skip some intrinsic 2023-10-12 08:18:18 +03:00
Dmitry Stogov
211884cf29 Introduce API to load modules 2023-10-11 22:55:25 +03:00
Dmitry Stogov
8668550427
Initial support for LLVM loader (incomplete) (#53)
Currently we may just load LLVM module and convert all functions into IR (print it).
For better LLVM support IR framework needs support for modules.
Some LLVM features are not supported yet (see TODOs in ir_load_llvm.c) .
2023-10-11 12:46:31 +03:00