go/src/cmd/compile/internal/ssa/passbm_test.go

const blockCount

const passCount

type passFunc

func BenchmarkDSEPass(b *testing.B)           {}

func BenchmarkDSEPassBlock(b *testing.B)      {}

func BenchmarkCSEPass(b *testing.B)           {}

func BenchmarkCSEPassBlock(b *testing.B)      {}

func BenchmarkDeadcodePass(b *testing.B)      {}

func BenchmarkDeadcodePassBlock(b *testing.B) {}

func multi(f *Func) {}

func BenchmarkMultiPass(b *testing.B)      {}

func BenchmarkMultiPassBlock(b *testing.B) {}

// benchFnPass runs passFunc b.N times across a single function.
func benchFnPass(b *testing.B, fn passFunc, size int, bg blockGen) {}

// benchFnBlock runs passFunc across a function with b.N blocks.
func benchFnBlock(b *testing.B, fn passFunc, bg blockGen) {}

func genFunction(size int) []bloc {}