mirror of https://github.com/tinygo-org/tinygo.git
wasmstm32webassemblymicrocontrollerarmavrspiwasiadafruitarduinocircuitplayground-expressgpioi2cllvmmicrobitnrf51nrf52nrf52840samd21tinygo
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
738 B
13 lines
738 B
// Package transform contains transformation passes for the TinyGo compiler.
|
|
// These transformation passes may be optimization passes or lowering passes.
|
|
//
|
|
// Optimization passes transform the IR in such a way that they increase the
|
|
// performance of the generated code and/or help the LLVM optimizer better do
|
|
// its job by simplifying the IR. This usually means that certain
|
|
// TinyGo-specific runtime calls are removed or replaced with something simpler
|
|
// if that is a valid operation.
|
|
//
|
|
// Lowering passes are usually required to run. One example is the interface
|
|
// lowering pass, which replaces stub runtime calls to get an interface method
|
|
// with the method implementation (either a direct call or a thunk).
|
|
package transform
|
|
|