nac3/nac3core/src/codegen
David Mak 8fd7216243 [core] toplevel/composer: Add lateinit_builtins
This is required for the new core_log and rtio_log functions, which take
a generic type as its parameter. However, in ARTIQ builtins are
initialized using one unifier and then actually used by another unifier.

lateinit_builtins workaround this issue by deferring the initialization
of functions requiring type variables until the actual unifier is ready.
2024-08-13 15:19:03 +08:00
..
irrt core: Add label name and hooks to gen_for functions 2024-07-26 13:35:40 +08:00
builtin_fns.rs core/toplevel/builtins: Add support for len() on tuples 2024-08-13 15:02:59 +08:00
classes.rs core: Add label name and hooks to gen_for functions 2024-07-26 13:35:40 +08:00
concrete_type.rs core/typecheck/typedef: Add is_vararg_ctx to TTuple 2024-08-06 11:45:54 +08:00
expr.rs [core] codegen/expr: Make gen_string return StructValue 2024-08-13 15:19:03 +08:00
extern_fns.rs core: remove np_linalg_matmul 2024-08-05 11:44:55 +08:00
generator.rs core: reimplement assignment type inference and codegen 2024-08-05 19:30:48 +08:00
llvm_intrinsics.rs core/codegen: Add va_start and va_end intrinsics 2024-08-06 11:48:42 +08:00
mod.rs core/codegen: Implement support for va_info on supported architectures 2024-08-06 11:48:40 +08:00
numpy.rs [core] codegen/expr: Make gen_string return StructValue 2024-08-13 15:19:03 +08:00
stmt.rs [core] codegen/expr: Make gen_string return StructValue 2024-08-13 15:19:03 +08:00
test.rs [core] toplevel/composer: Add lateinit_builtins 2024-08-13 15:19:03 +08:00