Commit 35c88e4
committed
- Add volatile flag to Load/Store memory operations with instr_load_ex
and instr_store_ex methods
- Add FunctionAttrs struct with 15 function-level attributes (nounwind,
noreturn, cold, hot, willreturn, nosync, nofree, norecurse, readnone,
readonly, writeonly, inlinehint, alwaysinline, noinline, minsize,
optsize) and LLVM lowering support
- Implement GEP type inference with compute_gep_result_type() helper,
GepIndexKind enum, and GepTypeError. Update instr_gep() to auto-infer
result type; add instr_gep_ex() for explicit type specification
- Add comprehensive intrinsics system with Intrinsic enum supporting:
- Memory: memcpy, memset, memmove
- Overflow: sadd/uadd/ssub/usub/smul/umul.with.overflow
- Math: sqrt, sin, cos, exp, log, fabs, floor, ceil, pow, fma, etc.
- Bit manipulation: ctpop, ctlz, cttz, bitreverse, bswap, fshl, fshr
- Other: expect, assume, trap, debugtrap
- Update ROADMAP.md to reflect completed items1 parent 00f1747 commit 35c88e4
File tree
8 files changed
+1614
-19
lines changed- irvm-lower/src
- src
8 files changed
+1614
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| 167 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
| 250 | + | |
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
| |||
0 commit comments