go/pkg/mod/github.com/mmcloughlin/[email protected]/pass/pass.go

var Compile

type Interface

type Func

// Execute calls p.
func (p Func) Execute(f *ir.File) error {}

type FunctionPass

// Execute calls p on every function in the file. Exits on the first error.
func (p FunctionPass) Execute(f *ir.File) error {}

type InstructionPass

// Execute calls p on every instruction in the file. Exits on the first error.
func (p InstructionPass) Execute(f *ir.File) error {}

// Concat returns a pass that executes the given passes in order, stopping on the first error.
func Concat(passes ...Interface) Interface {}

type Output

// Execute prints f with the configured Printer and writes output to Writer.
func (o *Output) Execute(f *ir.File) error {}