[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / tools / opt-viewer / Inputs / suppress / s.opt.yaml
blobde161bf95f8c96902dddf601f08f5cc2d43d7ee6
1 --- !Passed
2 Pass:            sil-generic-specializer
3 Name:            sil.Specialized
4 DebugLoc:
5   File:            s.swift
6   Line:            7
7   Column:          13
8 Function:        'f()'
9 Args:
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
16 Pass:            sil-generic-specializer
17 Name:            sil.Specialized
18 DebugLoc:
19   File:            s.swift
20   Line:            7
21   Column:          12
22 Function:        'f()'
23 Args:
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
30 Pass:            sil-generic-specializer
31 Name:            sil.Specialized
32 DebugLoc:
33   File:            s.swift
34   Line:            7
35   Column:          9
36 Function:        'f()'
37 Args:
38   - String:          'Specialized function '
39   - Function:        '"Swift.IndexingIterator.next()"'
40   - String:          ' with type '
41   - FuncType:        '(@inout IndexingIterator<CountableRange<Int>>) -> Optional<Int>'
42 ...
43 --- !Passed
44 Pass:            sil-generic-specializer
45 Name:            sil.Specialized
46 DebugLoc:
47   File:            s.swift
48   Line:            8
49   Column:          12
50 Function:        'f()'
51 Args:
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
58 Pass:            sil-generic-specializer
59 Name:            sil.Specialized
60 DebugLoc:
61   File:            s.swift
62   Line:            8
63   Column:          12
64 Function:        'f()'
65 Args:
66   - String:          'Specialized function '
67   - Function:        '"Swift.Array.subscript.getter"'
68   - String:          ' with type '
69   - FuncType:        '(Int, @guaranteed Array<Int>) -> Int'
70 ...
71 --- !Passed
72 Pass:            sil-inliner
73 Name:            sil.Inlined
74 DebugLoc:
75   File:            s.swift
76   Line:            7
77   Column:          13
78 Function:        'f()'
79 Args:
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
98 Pass:            sil-inliner
99 Name:            sil.Inlined
100 DebugLoc:
101   File:            s.swift
102   Line:            8
103   Column:          12
104 Function:        'f()'
105 Args:
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:          ')'
119 --- !Passed
120 Pass:            sil-generic-specializer
121 Name:            sil.Specialized
122 DebugLoc:
123   File:            s.swift
124   Line:            4
125   Column:          17
126 Function:        main
127 Args:
128   - String:          'Specialized function '
129   - Function:        '"Swift._allocateUninitializedArray<A>(_:)"'
130   - String:          ' with type '
131   - FuncType:        '(Builtin.Word) -> (@owned Array<Int>, Builtin.RawPointer)'
133 --- !Passed
134 Pass:            sil-generic-specializer
135 Name:            sil.Specialized
136 DebugLoc:
137   File:            s.swift
138   Line:            4
139   Column:          16
140 Function:        main
141 Args:
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>'
147 --- !Passed
148 Pass:            sil-inliner
149 Name:            sil.Inlined
150 DebugLoc:
151   File:            s.swift
152   Line:            4
153   Column:          16
154 Function:        main
155 Args:
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:          ')'
165 --- !Passed
166 Pass:            sil-inliner
167 Name:            sil.Inlined
168 DebugLoc:
169   File:            s.swift
170   Line:            12
171   Column:          1
172 Function:        main
173 Args:
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:          ')'