tinygo/transform
Ayke van Laethem 3b1913ac57 all: use the new LLVM pass manager
The old LLVM pass manager is deprecated and should not be used anymore.
Moreover, the pass manager builder (which we used to set up a pass
pipeline) is actually removed from LLVM entirely in LLVM 17:
https://reviews.llvm.org/D145387
https://reviews.llvm.org/D145835

The new pass manager does change the binary size in many cases: both
growing and shrinking it. However, on average the binary size remains
more or less the same.

This is needed as a preparation for LLVM 17.
2023-10-04 13:05:58 +02:00
..
testdata all: remove LLVM 14 support 2023-10-01 18:32:15 +02:00
allocs.go all: remove LLVM 14 support 2023-10-01 18:32:15 +02:00
allocs_test.go all: use the new LLVM pass manager 2023-10-04 13:05:58 +02:00
errors.go refactor coroutine lowering and tasks 2020-03-17 12:16:10 +01:00
gc.go all: remove LLVM 14 support 2023-10-01 18:32:15 +02:00
gc_test.go gc: drop support for 'precise' globals 2022-06-01 21:21:30 +02:00
interface-lowering.go all: remove LLVM 14 support 2023-10-01 18:32:15 +02:00
interface-lowering_test.go all: use the new LLVM pass manager 2023-10-04 13:05:58 +02:00
interrupt.go ci: add support for LLVM 15 2022-10-19 22:23:19 +02:00
interrupt_test.go transform: refactor interrupt lowering 2021-11-06 09:40:15 +01:00
llvm.go ci: add support for LLVM 15 2022-10-19 22:23:19 +02:00
maps.go all: move OptimizeMaps to transforms and add tests 2019-09-15 21:26:27 +02:00
maps_test.go all: use the new LLVM pass manager 2023-10-04 13:05:58 +02:00
optimizer.go all: use the new LLVM pass manager 2023-10-04 13:05:58 +02:00
panic.go all: add type parameter to CreateCall 2022-10-19 22:23:19 +02:00
panic_test.go transform: move tests to transform_test package 2021-04-22 19:53:42 +02:00
rtcalls.go transform: fix bug in StringToBytes optimization pass 2023-09-23 07:48:43 -07:00
rtcalls_test.go transform: move tests to transform_test package 2021-04-22 19:53:42 +02:00
stacksize.go transform: add debug information to internal/task.stackSize 2023-03-08 07:09:46 +01:00
stacksize_test.go all: add flag for setting the goroutine stack size 2022-09-15 12:43:51 +02:00
transform.go all: use the new LLVM pass manager 2023-10-04 13:05:58 +02:00
transform_test.go all: update _test.go files for ioutil changes 2022-08-07 10:32:23 +02:00
util.go compiler: move OptimizeStringToBytes to transform package 2019-09-22 08:25:50 +02:00