Commit graph

71 commits

Author SHA1 Message Date
09f5c141df xo-jit: fnptr -> closures for primitives+lambdas throughout 2024-07-10 16:05:00 -04:00
659c0c400b xo-jit: refactor: + closures [wip: not tested] 2024-07-08 18:31:06 -04:00
56b924a286 xo-jit: gen lvtype name in type2llvm::create_localenv_llvm_type() 2024-07-08 11:46:18 -04:00
792dcf0157 xo-jit: + type2llvm::create_closure_lvtype() 2024-07-08 11:45:58 -04:00
4c8289336d xo-jit: + primitive wrapper (accept+ignore envptr as 1st argument) 2024-07-07 16:57:05 -04:00
d7192c1d97 xo-jit: + explicit env for captured function args [wip, not tested] 2024-07-07 13:27:12 -04:00
fdc5d46fd7 xo-jit: + runtime_binding_path, ++ to activation_record 2024-07-05 20:26:07 -04:00
1f0c0cb71d xo-jit: use Environment for toplevel lambdas 2024-06-30 20:03:55 -04:00
71df4f824d xo-jit: progress towards explicit stack frames [wip, incomplete] 2024-06-26 14:38:48 -04:00
be3e62f75a xo-jit: helper functions -> explicit stack frames [wip, not used] 2024-06-26 13:11:22 -04:00
27d8f05b52 xo-jit: handle pointer types 2024-06-26 13:11:02 -04:00
465be8ddd2 xo-jit: drop isPacked=true when creating struct types 2024-06-26 13:10:36 -04:00
7e1f3c8cb5 xo-jit: cosmetic -- code layout 2024-06-25 11:14:22 -04:00
585e4cc35c xo-jit: + MachPipeline::xsession() 2024-06-25 11:14:06 -04:00
09d884737d xo-jit: + MachPipeline::codegen_type() 2024-06-25 11:13:25 -04:00
56210442a2 xo-jit: honor clang nit 2024-06-25 09:36:06 -04:00
fcd87b52c0 xo-jit: + MachPipeline::data_layout() 2024-06-25 09:35:17 -04:00
72d0305cdb xo-jit: refactor: Jit::mangle() -> std::string_view 2024-06-25 09:31:07 -04:00
ce9d93240a xo-jit: + LLVM_LIBRARY_DIR, need this on darwin 2024-06-25 00:27:58 -04:00
be6d7c2aab xo-jit: TypeDescr->llvm::Type conv for structs 2024-06-24 22:18:59 -04:00
d06f176c98 xo-jit: add sub/div intrinsics 2024-06-24 15:08:20 -04:00
e246f12d70 xo-jit: refactor to support function pointer arguments. 2024-06-24 14:02:47 -04:00
2235bba872 xo-jit: add mem-to-register pass to IrPipeline 2024-06-21 17:01:30 -04:00
6abede9c33 xo-jit: print IR before- and after- optimization 2024-06-21 17:01:11 -04:00
f1de52b962 xo-jit: cosmetic: code layout 2024-06-21 17:00:59 -04:00
e671686a3a xo-jit: refactor MachPipeline to use stack for lambda formals 2024-06-21 17:00:06 -04:00
88cc8885b6 xo-jit: in MachPipeline use intrinsic for faster code path 2024-06-21 14:08:07 -04:00
0273a8b8df xo-jit: cosmetic: code layout 2024-06-19 18:24:06 -04:00
c09f1f46df xo-jit: in codegen_primitive() honor explicit_symbol_def flag 2024-06-19 18:23:23 -04:00
ba39b6366d xo-jit: + Jit::intern_symbol() 2024-06-19 18:22:53 -04:00
39a8e8aad4 xo-jit: cosmetic: code layout / comments 2024-06-19 18:22:24 -04:00
69ee09fa59 xo-jit: tidy: drop unused temporary 2024-06-19 18:22:08 -04:00
787d0b69e2 xo-jit: + MachPipeline::mangle() 2024-06-19 18:21:46 -04:00
3f441d8ba6 xo-jit: cosmetic: code layout/comments 2024-06-19 18:21:18 -04:00
d59328ee1f xo-jit: build: + intrinsics 2024-06-19 18:19:02 -04:00
1f02ec02ef xo-pyexpression: experiment: try moving xo intrinsics into xo-jit 2024-06-19 18:18:15 -04:00
2a4b9a4360 xo-jit: + td_to_llvm_type() + support native int+float values 2024-06-19 10:54:42 -04:00
c739e3bd4c xo-jit: + MachPipeline::dump_current_module 2024-06-17 17:14:44 -04:00
3298fdf277 xo-jit: bugfix + debug for codegen_lambda() 2024-06-17 13:48:03 -04:00
0759cc0c51 xo-jit: bugfix: shortcircuit on unknown variable 2024-06-17 13:47:04 -04:00
8d122425a0 xo-jit: track new make_apply interface 2024-06-17 13:46:37 -04:00
32c7451191 xo-jit: + codegen for if-expressions 2024-06-17 12:29:15 -04:00
f7e4433a1d xo-jit: fix Lambda generation to handle multiple arguments 2024-06-17 11:47:17 -04:00
bfbd097db5 xo-jit: minor tidy (comments) 2024-06-16 12:16:55 -04:00
596ecbdf66 xo-jit: refactor: cosmetic 2024-06-16 12:14:51 -04:00
9bcb86e8bc xo-jit: refactor: Jit.addModule() -> add_llvm_module() 2024-06-16 12:10:17 -04:00
b6ece85856 xo-jit: refactor: MachPipeline.kal_jit -> jit 2024-06-16 12:06:28 -04:00
fb3ccff617 xo-jit: refactor: Jit.getMainJITDyLib -> dest_dynamic_lib_ref() 2024-06-16 12:02:26 -04:00
6d7de854da xo-jit: refactor: KaleidoscopeJIT -> Jit + ancillary renames 2024-06-16 12:00:57 -04:00
932e7cd966 xo-jit: refactor: Jit -> MachPipeline 2024-06-16 11:49:23 -04:00