T3717.stderr 2.63 KB
Newer Older
Simon Peyton Jones's avatar
Simon Peyton Jones committed
1 2

==================== Tidy Core ====================
lukemaurer's avatar
lukemaurer committed
3 4
Result size of Tidy Core
  = {terms: 36, types: 15, coercions: 0, joins: 0/0}
5

lukemaurer's avatar
lukemaurer committed
6
-- RHS size: {terms: 1, types: 0, coercions: 0, joins: 0/0}
7 8 9 10 11 12
T3717.$trModule4 :: GHC.Prim.Addr#
[GblId,
 Caf=NoCafRefs,
 Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
         WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 20 0}]
T3717.$trModule4 = "main"#
13

lukemaurer's avatar
lukemaurer committed
14
-- RHS size: {terms: 2, types: 0, coercions: 0, joins: 0/0}
15
T3717.$trModule3 :: GHC.Types.TrName
16 17
[GblId,
 Caf=NoCafRefs,
18
 Str=m1,
19
 Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
20 21 22
         WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 20}]
T3717.$trModule3 = GHC.Types.TrNameS T3717.$trModule4

lukemaurer's avatar
lukemaurer committed
23
-- RHS size: {terms: 1, types: 0, coercions: 0, joins: 0/0}
24 25 26 27 28 29
T3717.$trModule2 :: GHC.Prim.Addr#
[GblId,
 Caf=NoCafRefs,
 Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
         WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 30 0}]
T3717.$trModule2 = "T3717"#
30

lukemaurer's avatar
lukemaurer committed
31
-- RHS size: {terms: 2, types: 0, coercions: 0, joins: 0/0}
32
T3717.$trModule1 :: GHC.Types.TrName
33 34
[GblId,
 Caf=NoCafRefs,
35
 Str=m1,
36
 Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
37 38
         WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 20}]
T3717.$trModule1 = GHC.Types.TrNameS T3717.$trModule2
39

lukemaurer's avatar
lukemaurer committed
40
-- RHS size: {terms: 3, types: 0, coercions: 0, joins: 0/0}
41
T3717.$trModule :: GHC.Types.Module
42
[GblId,
43
 Caf=NoCafRefs,
44
 Str=m,
45 46
 Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
         WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 30}]
47 48
T3717.$trModule
  = GHC.Types.Module T3717.$trModule3 T3717.$trModule1
Simon Peyton Jones's avatar
Simon Peyton Jones committed
49

Simon Peyton Jones's avatar
Simon Peyton Jones committed
50
Rec {
lukemaurer's avatar
lukemaurer committed
51
-- RHS size: {terms: 10, types: 2, coercions: 0, joins: 0/0}
52
T3717.$wfoo [InlPrag=NOUSERINLINE[0], Occ=LoopBreaker]
53
  :: GHC.Prim.Int# -> GHC.Prim.Int#
54
[GblId, Arity=1, Caf=NoCafRefs, Str=<S,1*U>]
55 56 57 58 59 60
T3717.$wfoo
  = \ (ww :: GHC.Prim.Int#) ->
      case ww of ds {
        __DEFAULT -> T3717.$wfoo (GHC.Prim.-# ds 1#);
        0# -> 0#
      }
Simon Peyton Jones's avatar
Simon Peyton Jones committed
61 62
end Rec }

lukemaurer's avatar
lukemaurer committed
63
-- RHS size: {terms: 10, types: 4, coercions: 0, joins: 0/0}
64
foo [InlPrag=NOUSERINLINE[0]] :: Int -> Int
Simon Peyton Jones's avatar
Simon Peyton Jones committed
65 66 67
[GblId,
 Arity=1,
 Caf=NoCafRefs,
68
 Str=<S(S),1*U(1*U)>m,
Simon Peyton Jones's avatar
Simon Peyton Jones committed
69 70 71
 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)
72
         Tmpl= \ (w [Occ=Once!] :: Int) ->
73
                 case w of { GHC.Types.I# ww1 [Occ=Once] ->
74
                 case T3717.$wfoo ww1 of ww2 { __DEFAULT -> GHC.Types.I# ww2 }
Simon Peyton Jones's avatar
Simon Peyton Jones committed
75
                 }}]
76 77 78 79 80
foo
  = \ (w :: Int) ->
      case w of { GHC.Types.I# ww1 ->
      case T3717.$wfoo ww1 of ww2 { __DEFAULT -> GHC.Types.I# ww2 }
      }
Simon Peyton Jones's avatar
Simon Peyton Jones committed
81 82 83