summaryrefslogtreecommitdiff
path: root/testsuite/tests/numeric/should_compile/T7116.stdout
blob: 3f92b38386cfd277d446dec5ed0c411cb21e8d4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110

==================== Tidy Core ====================
Result size of Tidy Core = {terms: 32, types: 17, coercions: 0}

-- RHS size: {terms: 2, types: 0, coercions: 0}
T7116.$trModule2 :: GHC.Types.TrName
[GblId,
 Caf=NoCafRefs,
 Str=m1,
 Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
         WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 30 20}]
T7116.$trModule2 = GHC.Types.TrNameS "main"#

-- RHS size: {terms: 2, types: 0, coercions: 0}
T7116.$trModule1 :: GHC.Types.TrName
[GblId,
 Caf=NoCafRefs,
 Str=m1,
 Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
         WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 40 20}]
T7116.$trModule1 = GHC.Types.TrNameS "T7116"#

-- RHS size: {terms: 3, types: 0, coercions: 0}
T7116.$trModule :: GHC.Types.Module
[GblId,
 Caf=NoCafRefs,
 Str=m,
 Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
         WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 30}]
T7116.$trModule =
  GHC.Types.Module T7116.$trModule2 T7116.$trModule1

-- RHS size: {terms: 8, types: 3, coercions: 0}
dr :: Double -> Double
[GblId,
 Arity=1,
 Caf=NoCafRefs,
 Str=<S(S),1*U(U)>m,
 Unf=Unf{Src=InlineStable, TopLvl=True, Value=True, ConLike=True,
         WorkFree=True, Expandable=True,
         Guidance=ALWAYS_IF(arity=1,unsat_ok=True,boring_ok=False)
         Tmpl= \ (x [Occ=Once!] :: Double) ->
                 case x of _ [Occ=Dead] { GHC.Types.D# x1 ->
                 GHC.Types.D# (GHC.Prim.+## x1 x1)
                 }}]
dr =
  \ (x :: Double) ->
    case x of _ [Occ=Dead] { GHC.Types.D# x1 ->
    GHC.Types.D# (GHC.Prim.+## x1 x1)
    }

-- RHS size: {terms: 8, types: 3, coercions: 0}
dl :: Double -> Double
[GblId,
 Arity=1,
 Caf=NoCafRefs,
 Str=<S(S),1*U(U)>m,
 Unf=Unf{Src=InlineStable, TopLvl=True, Value=True, ConLike=True,
         WorkFree=True, Expandable=True,
         Guidance=ALWAYS_IF(arity=1,unsat_ok=True,boring_ok=False)
         Tmpl= \ (x [Occ=Once!] :: Double) ->
                 case x of _ [Occ=Dead] { GHC.Types.D# y ->
                 GHC.Types.D# (GHC.Prim.+## y y)
                 }}]
dl =
  \ (x :: Double) ->
    case x of _ [Occ=Dead] { GHC.Types.D# y ->
    GHC.Types.D# (GHC.Prim.+## y y)
    }

-- RHS size: {terms: 8, types: 3, coercions: 0}
fr :: Float -> Float
[GblId,
 Arity=1,
 Caf=NoCafRefs,
 Str=<S(S),1*U(U)>m,
 Unf=Unf{Src=InlineStable, TopLvl=True, Value=True, ConLike=True,
         WorkFree=True, Expandable=True,
         Guidance=ALWAYS_IF(arity=1,unsat_ok=True,boring_ok=False)
         Tmpl= \ (x [Occ=Once!] :: Float) ->
                 case x of _ [Occ=Dead] { GHC.Types.F# x1 ->
                 GHC.Types.F# (GHC.Prim.plusFloat# x1 x1)
                 }}]
fr =
  \ (x :: Float) ->
    case x of _ [Occ=Dead] { GHC.Types.F# x1 ->
    GHC.Types.F# (GHC.Prim.plusFloat# x1 x1)
    }

-- RHS size: {terms: 8, types: 3, coercions: 0}
fl :: Float -> Float
[GblId,
 Arity=1,
 Caf=NoCafRefs,
 Str=<S(S),1*U(U)>m,
 Unf=Unf{Src=InlineStable, TopLvl=True, Value=True, ConLike=True,
         WorkFree=True, Expandable=True,
         Guidance=ALWAYS_IF(arity=1,unsat_ok=True,boring_ok=False)
         Tmpl= \ (x [Occ=Once!] :: Float) ->
                 case x of _ [Occ=Dead] { GHC.Types.F# y ->
                 GHC.Types.F# (GHC.Prim.plusFloat# y y)
                 }}]
fl =
  \ (x :: Float) ->
    case x of _ [Occ=Dead] { GHC.Types.F# y ->
    GHC.Types.F# (GHC.Prim.plusFloat# y y)
    }