David Mak
|
6d171ec284
|
core: Add label name and hooks to gen_for functions
|
2024-07-26 13:35:40 +08:00 |
David Mak
|
075536d7bd
|
core: Add BreakContinueHooks for gen_for_callback
|
2024-07-04 15:32:18 +08:00 |
David Mak
|
13beeaa2bf
|
core: Implement handling for zero-length lists
|
2024-07-04 15:32:18 +08:00 |
David Mak
|
23974feae7
|
meta: Restrict number of allowed lints
|
2024-06-12 16:10:57 +08:00 |
lyken
|
8168692cc3
|
apply cargo fmt
|
2024-06-12 14:45:03 +08:00 |
David Mak
|
679656f9e1
|
core/classes: Fix incorrect field locations for lists
|
2024-06-11 15:30:06 +08:00 |
David Mak
|
210d9e2334
|
core: Add more creator functions for ProxyType
|
2024-06-11 15:26:37 +08:00 |
David Mak
|
181ac3ec1a
|
core/classes: Fix incorrect pointers of range.{stop,step}
|
2024-06-11 15:13:31 +08:00 |
David Mak
|
f0ab1b858a
|
core: Refactor class abstractions
- Introduce new Type abstractions
- Rearrange some functions
|
2024-06-06 13:45:51 +08:00 |
David Mak
|
b6ff75dcaf
|
core/irrt: Add support for calculating partial size of NDArray
|
2024-06-03 16:40:05 +08:00 |
David Mak
|
588c15f80d
|
core/stmt: Add gen_for_range_callback
For generating for loops over range objects or array slices.
|
2024-06-03 16:40:05 +08:00 |
David Mak
|
5dfcc63978
|
core/classes: Take reference of indexes
|
2024-04-16 17:20:24 +08:00 |
David Mak
|
6af13a8261
|
core: Implement elementwise binary operators
Including immediate variants of these operators.
|
2024-04-03 00:07:33 +08:00 |
David Mak
|
26a01b14d5
|
core: Use more typed slices in APIs
|
2024-04-01 16:48:25 +08:00 |
David Mak
|
789bfb5a26
|
core: Fix index-based operations not returning i32
|
2024-04-01 16:46:45 +08:00 |
David Mak
|
f0da9c0283
|
core: Add ArrayLikeValue
For exposing LLVM values that can be accessed like an array.
|
2024-03-22 15:51:06 +08:00 |
David Mak
|
2c4bf3ce59
|
core: Allow unsized CodeGenerator to be passed to some codegen functions
Enables codegen_callback to call these codegen functions as well.
|
2024-03-22 15:07:28 +08:00 |
David Mak
|
e980f19c93
|
core: Simplify typed value assertions
|
2024-03-22 15:07:28 +08:00 |
David Mak
|
cfbc37c1ed
|
core: Add gen_for_callback_incrementing
Simplifies generation of monotonically increasing for loops.
|
2024-03-22 15:07:28 +08:00 |
David Mak
|
50264e8750
|
core: Add missing unchecked accessors for NDArrayDimsProxy
|
2024-03-22 15:07:28 +08:00 |
David Mak
|
c8866b1534
|
core/classes: Rename get_* functions to remove prefix
As suggested by Rust API Guidelines.
|
2024-03-21 15:46:10 +08:00 |
David Mak
|
84a888758a
|
core: Rename unsafe functions to unchecked
This is this intended name of the functions.
|
2024-03-21 15:46:10 +08:00 |
David Mak
|
82fdb02d13
|
core: Extract LLVM intrinsic functions to their functions
|
2024-02-23 15:41:06 +08:00 |
David Mak
|
4efdd17513
|
core: Add missing From implementations for LLVM wrapper classes
|
2024-02-23 15:41:06 +08:00 |
David Mak
|
49de81ef1e
|
core: Apply clippy suggestions
|
2024-02-23 15:41:06 +08:00 |
David Mak
|
8492503af2
|
core: Update cargo dependencies
|
2024-02-23 15:41:04 +08:00 |
David Mak
|
976a9512c1
|
core: Add const variants to NDArray element getters
|
2024-02-19 16:56:21 +08:00 |
David Mak
|
8470915809
|
core: Add NDArrayValue and helper functions
|
2024-01-25 15:51:39 +08:00 |
David Mak
|
148900302e
|
core: Add RangeValue and helper functions
|
2024-01-25 15:51:39 +08:00 |
David Mak
|
5ee08b585f
|
core: Add ListValue and helper functions
|
2024-01-25 15:51:39 +08:00 |