tinygo/transform/testdata
Ayke van Laethem a4afc3b4b0 compiler: simplify interface lowering
This commit simplifies the IR a little bit: instead of calling
pseudo-functions runtime.interfaceImplements and
runtime.interfaceMethod, real declared functions are being called that
are then defined in the interface lowering pass. This should simplify
the interaction between various transformation passes. It also reduces
the number of lines of code, which is generally a good thing.
2021-10-31 14:17:25 +01:00
..
allocs.ll transform: do not lower zero-sized alloc to alloca 2021-04-12 08:11:28 +02:00
allocs.out.ll all: drop support for LLVM 10 2021-10-31 10:44:17 +01:00
allocs2.go compiler: do not emit nil checks for loading closure variables 2021-05-26 20:21:08 +02:00
coroutines.ll transform (coroutines): fix memory corruption for tail calls that reference stack allocations 2021-09-21 20:08:30 +02:00
coroutines.out.ll transform (coroutines): fix memory corruption for tail calls that reference stack allocations 2021-09-21 20:08:30 +02:00
func-lowering.ll compiler: decouple func lowering from interface type codes 2021-04-12 12:07:42 +02:00
func-lowering.out.ll compiler: decouple func lowering from interface type codes 2021-04-12 12:07:42 +02:00
gc-globals.ll transform: do not track const globals 2020-02-24 21:04:50 +01:00
gc-globals.out.ll all: drop support for LLVM 10 2021-10-31 10:44:17 +01:00
gc-stackslots.ll transform: improve GC stack slot pass to work around a bug 2021-08-04 20:06:59 +02:00
gc-stackslots.out.ll all: drop support for LLVM 10 2021-10-31 10:44:17 +01:00
globals-function-sections.ll compiler: move ApplyFunctionSections to transform package 2020-03-19 19:56:08 +01:00
globals-function-sections.out.ll compiler: move ApplyFunctionSections to transform package 2020-03-19 19:56:08 +01:00
interface.ll compiler: simplify interface lowering 2021-10-31 14:17:25 +01:00
interface.out.ll compiler: simplify interface lowering 2021-10-31 14:17:25 +01:00
interrupt-avr.ll avr: fix target triple 2020-06-30 20:48:42 +02:00
interrupt-avr.out.ll avr: fix target triple 2020-06-30 20:48:42 +02:00
interrupt-cortexm.ll all: add compiler support for interrupts 2020-01-20 21:19:12 +01:00
interrupt-cortexm.out.ll main: switch to LLVM 10 2020-04-09 20:23:51 +02:00
maps.ll all: move OptimizeMaps to transforms and add tests 2019-09-15 21:26:27 +02:00
maps.out.ll all: drop support for LLVM 10 2021-10-31 10:44:17 +01:00
panic.ll compiler: move ReplacePanicsWithTrap pass to transforms 2019-11-16 18:41:28 +01:00
panic.out.ll compiler: move ReplacePanicsWithTrap pass to transforms 2019-11-16 18:41:28 +01:00
reflect-implements.ll compiler: simplify interface lowering 2021-10-31 14:17:25 +01:00
reflect-implements.out.ll compiler: simplify interface lowering 2021-10-31 14:17:25 +01:00
reflect.go transform: split interface and reflect lowering 2021-05-03 20:10:49 +02:00
stacksize.ll arm: automatically determine stack sizes 2020-08-27 19:23:22 +02:00
stacksize.out.ll all: drop support for LLVM 10 2021-10-31 10:44:17 +01:00
stringequal.ll transform: optimize string comparisons against "" 2021-03-18 17:22:00 +01:00
stringequal.out.ll transform: optimize string comparisons against "" 2021-03-18 17:22:00 +01:00
stringtobytes.ll compiler: move OptimizeStringToBytes to transform package 2019-09-22 08:25:50 +02:00
stringtobytes.out.ll compiler: move OptimizeStringToBytes to transform package 2019-09-22 08:25:50 +02:00
wasm-abi.ll compiler: move wasm ABI workaround to transform package 2020-01-28 19:29:09 +01:00
wasm-abi.out.ll all: drop support for LLVM 10 2021-10-31 10:44:17 +01:00