Commit 3b53f54
authored
codegen: restructure, remove recursion (#25984)
also provides support for using a different code_native format,
as a fallback, later we'll want to make this more configurable
there are now several primary interfaces to native code:
- codegen: mostly internal, support for translating IR to LLVM
- jitlayers: manages runtime codegen results and executable memory
- aotcompile: support for managing external code output
- disasm: pretty-printer for code objects
- debuginfo: tracking for unwind info
also removes the global type caches and
move all codegen pass handling to aotcompile.cpp1 parent ddf904c commit 3b53f54
File tree
33 files changed
+2606
-2338
lines changed- base
- compiler
- contrib
- doc/src/devdocs
- src
- stdlib/InteractiveUtils
- src
- test
- test
- llvmpasses
33 files changed
+2606
-2338
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | 87 | | |
92 | 88 | | |
93 | 89 | | |
| |||
546 | 542 | | |
547 | 543 | | |
548 | 544 | | |
549 | | - | |
| 545 | + | |
550 | 546 | | |
551 | 547 | | |
552 | 548 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
965 | 965 | | |
966 | 966 | | |
967 | 967 | | |
968 | | - | |
969 | | - | |
970 | 968 | | |
971 | 969 | | |
972 | 970 | | |
| |||
980 | 978 | | |
981 | 979 | | |
982 | 980 | | |
983 | | - | |
984 | | - | |
| 981 | + | |
985 | 982 | | |
986 | 983 | | |
987 | 984 | | |
988 | | - | |
989 | | - | |
| 985 | + | |
| 986 | + | |
990 | 987 | | |
991 | 988 | | |
992 | 989 | | |
993 | 990 | | |
994 | 991 | | |
| 992 | + | |
995 | 993 | | |
996 | 994 | | |
997 | 995 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
| 178 | + | |
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
| 222 | + | |
222 | 223 | | |
223 | 224 | | |
224 | 225 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
| 136 | + | |
140 | 137 | | |
141 | 138 | | |
142 | 139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
0 commit comments