tinygo/transform/testdata
Ayke van Laethem f180339d6b compiler: add alloc attributes to runtime.alloc
This gives a small improvement now, and is needed to be able to use the
Heap2Stack transform that's available in the Attributor pass. This
Heap2Stack transform could replace our custom OptimizeAllocs pass.

Most of the changes are just IR that changed, the actual change is
relatively small.

To give an example of why this is useful, here is the code size before
this change:

    $ tinygo build -o test -size=short ./testdata/stdlib.go
       code    data     bss |   flash     ram
      95620    1812     968 |   97432    2780

    $ tinygo build -o test -size=short ./testdata/stdlib.go
       code    data     bss |   flash     ram
      95380    1812     968 |   97192    2780

That's a 0.25% reduction. Not a whole lot, but nice for such a small
patch.
2023-03-22 00:34:43 +01:00
..
allocs.ll transform: update allocs test to opaque pointers 2023-03-16 13:46:03 -07:00
allocs.out.ll transform: update allocs test to opaque pointers 2023-03-16 13:46:03 -07:00
allocs2.go compiler: add alloc attributes to runtime.alloc 2023-03-22 00:34:43 +01:00
gc-stackslots.ll transform: update gc-stackslots test to opaque pointers 2023-03-16 13:46:03 -07:00
gc-stackslots.out.ll transform: update gc-stackslots test to opaque pointers 2023-03-16 13:46:03 -07:00
interface.ll transform: update interface test to opaque pointers 2023-03-16 13:46:03 -07:00
interface.out.ll transform: update interface test to opaque pointers 2023-03-16 13:46:03 -07:00
interrupt.ll transform: update interrupt test to opaque pointers 2023-03-16 13:46:03 -07:00
interrupt.out.ll transform: update interrupt test to opaque pointers 2023-03-16 13:46:03 -07:00
maps.ll transform: update maps test to opaque pointers 2023-03-16 13:46:03 -07:00
maps.out.ll transform: update maps test to opaque pointers 2023-03-16 13:46:03 -07:00
panic.ll transform: update panic test to opaque pointers 2023-03-16 13:46:03 -07:00
panic.out.ll transform: update panic test to opaque pointers 2023-03-16 13:46:03 -07:00
reflect-implements.ll transform: fix OptimizeReflectImplements pass for new named elem offset 2023-03-19 17:45:43 +01:00
reflect-implements.out.ll transform: fix OptimizeReflectImplements pass for new named elem offset 2023-03-19 17:45:43 +01:00
reflect.go transform: split interface and reflect lowering 2021-05-03 20:10:49 +02:00
stacksize.ll transform: update stacksize test to opaque pointers 2023-03-16 13:46:03 -07:00
stacksize.out.ll transform: update stacksize test to opaque pointers 2023-03-16 13:46:03 -07:00
stringequal.ll transform: update stringequal test to opaque pointers 2023-03-16 13:46:03 -07:00
stringequal.out.ll transform: update stringequal test to opaque pointers 2023-03-16 13:46:03 -07:00
stringtobytes.ll transform: update stringtobytes test to opaque pointers 2023-03-16 13:46:03 -07:00
stringtobytes.out.ll transform: update stringtobytes test to opaque pointers 2023-03-16 13:46:03 -07:00
wasm-abi.ll transform: update wasm-abi to use opaque pointers 2023-03-16 13:46:03 -07:00
wasm-abi.out.ll transform: update wasm-abi to use opaque pointers 2023-03-16 13:46:03 -07:00