...

Package interleaved

import "cmd/compile/internal/inline/interleaved"
Overview
Index

Overview ▾

Package interleaved implements the interleaved devirtualization and inlining pass.

func DevirtualizeAndInlineFunc

func DevirtualizeAndInlineFunc(fn *ir.Func, profile *pgoir.Profile)

DevirtualizeAndInlineFunc interleaves devirtualization and inlining on a single function.

func DevirtualizeAndInlinePackage

func DevirtualizeAndInlinePackage(pkg *ir.Package, profile *pgoir.Profile)

DevirtualizeAndInlinePackage interleaves devirtualization and inlining on all functions within pkg.