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

func TestShiftConstAMD64(t *testing.T) {}

func makeConstShiftFunc(c *Conf, amount int64, op Op, typ *types.Type) fun {}

func TestShiftToExtensionAMD64(t *testing.T) {}

// makeShiftExtensionFunc generates a function containing:
//
//	(rshift (lshift (Const64 [amount])) (Const64 [amount]))
//
// This may be equivalent to a sign or zero extension.
func makeShiftExtensionFunc(c *Conf, amount int64, lshift, rshift Op, typ *types.Type) fun {}