summaryrefslogtreecommitdiff
path: root/testsuite/tests/simplCore/should_compile/T3772.stdout
blob: 1ef8c79002a954b70bce3df1031a69674f9b5f31 (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

==================== Tidy Core ====================
Result size of Tidy Core = {terms: 36, types: 14, coercions: 0}

Rec {
-- RHS size: {terms: 10, types: 2, coercions: 0}
$wxs :: Int# -> ()
[GblId, Arity=1, Caf=NoCafRefs, Str=DmdType <S,1*U>]
$wxs =
  \ (ww :: Int#) ->
    case ww of ds1 {
      __DEFAULT -> $wxs (-# ds1 1#);
      1# -> ()
    }
end Rec }

-- RHS size: {terms: 14, types: 5, coercions: 0}
foo [InlPrag=NOINLINE] :: Int -> ()
[GblId, Arity=1, Caf=NoCafRefs, Str=DmdType <S,1*U(U)>]
foo =
  \ (n :: Int) ->
    case n of _ [Occ=Dead] { I# y ->
    case tagToEnum# @ Bool (<# 0# y) of _ [Occ=Dead] {
      False -> ();
      True -> $wxs y
    }
    }

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

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

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