• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1--- !Passed
2Pass:            sil-generic-specializer
3Name:            sil.Specialized
4DebugLoc:
5  File:            s.swift
6  Line:            7
7  Column:          13
8Function:        'f()'
9Args:
10  - String:          'Specialized function '
11  - Function:        '"Swift.CountableRange.init(uncheckedBounds:)"'
12  - String:          ' with type '
13  - FuncType:        '(Int, Int, @thin CountableRange<Int>.Type) -> CountableRange<Int>'
14...
15--- !Passed
16Pass:            sil-generic-specializer
17Name:            sil.Specialized
18DebugLoc:
19  File:            s.swift
20  Line:            7
21  Column:          12
22Function:        'f()'
23Args:
24  - String:          'Specialized function '
25  - Function:        '"Swift.Collection<>.makeIterator()"'
26  - String:          ' with type '
27  - FuncType:        '(@in_guaranteed CountableRange<Int>) -> IndexingIterator<CountableRange<Int>>'
28...
29--- !Passed
30Pass:            sil-generic-specializer
31Name:            sil.Specialized
32DebugLoc:
33  File:            s.swift
34  Line:            7
35  Column:          9
36Function:        'f()'
37Args:
38  - String:          'Specialized function '
39  - Function:        '"Swift.IndexingIterator.next()"'
40  - String:          ' with type '
41  - FuncType:        '(@inout IndexingIterator<CountableRange<Int>>) -> Optional<Int>'
42...
43--- !Passed
44Pass:            sil-generic-specializer
45Name:            sil.Specialized
46DebugLoc:
47  File:            s.swift
48  Line:            8
49  Column:          12
50Function:        'f()'
51Args:
52  - String:          'Specialized function '
53  - Function:        '"Swift._allocateUninitializedArray<A>(_:)"'
54  - String:          ' with type '
55  - FuncType:        '(Builtin.Word) -> (@owned Array<Any>, Builtin.RawPointer)'
56...
57--- !Passed
58Pass:            sil-generic-specializer
59Name:            sil.Specialized
60DebugLoc:
61  File:            s.swift
62  Line:            8
63  Column:          12
64Function:        'f()'
65Args:
66  - String:          'Specialized function '
67  - Function:        '"Swift.Array.subscript.getter"'
68  - String:          ' with type '
69  - FuncType:        '(Int, @guaranteed Array<Int>) -> Int'
70...
71--- !Passed
72Pass:            sil-inliner
73Name:            sil.Inlined
74DebugLoc:
75  File:            s.swift
76  Line:            7
77  Column:          13
78Function:        'f()'
79Args:
80  - Callee:          '"specialized Swift.CountableRange.init(uncheckedBounds:)"'
81    DebugLoc:
82      File:            blah.swift
83      Line:            6
84      Column:          6
85  - String:          ' inlined into '
86  - Caller:          '"s.f()"'
87    DebugLoc:
88      File:            s.swift
89      Line:            6
90      Column:          6
91  - String:          ' (cost = '
92  - Cost:            '0'
93  - String:          ', benefit = '
94  - Benefit:         '20'
95  - String:          ')'
96...
97--- !Passed
98Pass:            sil-inliner
99Name:            sil.Inlined
100DebugLoc:
101  File:            s.swift
102  Line:            8
103  Column:          12
104Function:        'f()'
105Args:
106  - Callee:          '"specialized Swift.Array.subscript.getter"'
107  - String:          ' inlined into '
108  - Caller:          '"s.f()"'
109    DebugLoc:
110      File:            s.swift
111      Line:            6
112      Column:          6
113  - String:          ' (cost = '
114  - Cost:            '3'
115  - String:          ', benefit = '
116  - Benefit:         '52'
117  - String:          ')'
118...
119--- !Passed
120Pass:            sil-generic-specializer
121Name:            sil.Specialized
122DebugLoc:
123  File:            s.swift
124  Line:            4
125  Column:          17
126Function:        main
127Args:
128  - String:          'Specialized function '
129  - Function:        '"Swift._allocateUninitializedArray<A>(_:)"'
130  - String:          ' with type '
131  - FuncType:        '(Builtin.Word) -> (@owned Array<Int>, Builtin.RawPointer)'
132...
133--- !Passed
134Pass:            sil-generic-specializer
135Name:            sil.Specialized
136DebugLoc:
137  File:            s.swift
138  Line:            4
139  Column:          16
140Function:        main
141Args:
142  - String:          'Specialized function '
143  - Function:        '"Swift.Array.init(arrayLiteral:)"'
144  - String:          ' with type '
145  - FuncType:        '(@owned Array<Int>, @thin Array<Int>.Type) -> @owned Array<Int>'
146...
147--- !Passed
148Pass:            sil-inliner
149Name:            sil.Inlined
150DebugLoc:
151  File:            s.swift
152  Line:            4
153  Column:          16
154Function:        main
155Args:
156  - Callee:          '"specialized Swift.Array.init(arrayLiteral:)"'
157  - String:          ' inlined into '
158  - Caller:          '"main"'
159  - String:          ' (cost = '
160  - Cost:            '0'
161  - String:          ', benefit = '
162  - Benefit:         '20'
163  - String:          ')'
164...
165--- !Passed
166Pass:            sil-inliner
167Name:            sil.Inlined
168DebugLoc:
169  File:            s.swift
170  Line:            12
171  Column:          1
172Function:        main
173Args:
174  - Callee:          '"s.f()"'
175    DebugLoc:
176      File:            s.swift
177      Line:            6
178      Column:          6
179  - String:          ' inlined into '
180  - Caller:          '"main"'
181  - String:          ' (cost = '
182  - Cost:            '20'
183  - String:          ', benefit = '
184  - Benefit:         '20'
185  - String:          ')'
186...
187