[lit] Add argument check: --timeout must be non-negative integer
[llvm-core.git] / test / tools / opt-viewer / Inputs / basic / or.yaml
blob80de83455a53643684e409857c332c95ff723c45
1 --- !Missed
2 Pass:            inline
3 Name:            NoDefinition
4 DebugLoc:        { File: basic/or.c, Line: 2, Column: 14 }
5 Function:        foo
6 Args:
7   - Callee:          bar
8   - String:          ' will not be inlined into '
9   - Caller:          foo
10   - String:          ' because its definition is unavailable'
11 ...
12 --- !Missed
13 Pass:            inline
14 Name:            NoDefinition
15 DebugLoc:        { File: basic/or.h, Line: 15, Column: 10 }
16 Function:        TestH
17 Args:
18   - Callee:          bar
19   - String:          ' will not be inlined into '
20   - Caller:          TestH
21   - String:          ' because its definition is unavailable'
22 ...
23 --- !Analysis
24 Pass:            inline
25 Name:            CanBeInlined
26 DebugLoc:        { File: basic/or.h, Line: 13, Column: 3 }
27 Function:        TestH
28 Args:
29   - Callee:          foo
30   - String:          ' can be inlined into '
31   - Caller:          TestH
32   - String:          ' with cost='
33   - Cost:            '30'
34   - String:          ' (threshold='
35   - Threshold:       '412'
36   - String:          ')'
37 ...
38 --- !Passed
39 Pass:            inline
40 Name:            Inlined
41 DebugLoc:        { File: basic/or.h, Line: 13, Column: 3 }
42 Function:        TestH
43 Args:
44   - Callee:          foo
45   - String:          ' inlined into '
46   - Caller:          TestH
47 ...
48 --- !Analysis
49 Pass:            inline
50 Name:            CanBeInlined
51 DebugLoc:        { File: basic/or.h, Line: 15, Column: 3 }
52 Function:        TestH
53 Args:
54   - Callee:          foo
55   - String:          ' can be inlined into '
56   - Caller:          TestH
57   - String:          ' with cost='
58   - Cost:            '30'
59   - String:          ' (threshold='
60   - Threshold:       '412'
61   - String:          ')'
62 ...
63 --- !Passed
64 Pass:            inline
65 Name:            Inlined
66 DebugLoc:        { File: basic/or.h, Line: 15, Column: 3 }
67 Function:        TestH
68 Args:
69   - Callee:          foo
70   - String:          ' inlined into '
71   - Caller:          TestH
72 ...
73 --- !Analysis
74 Pass:            inline
75 Name:            CanBeInlined
76 DebugLoc:        { File: basic/or.h, Line: 15, Column: 17 }
77 Function:        TestH
78 Args:
79   - Callee:          foo
80   - String:          ' can be inlined into '
81   - Caller:          TestH
82   - String:          ' with cost='
83   - Cost:            '30'
84   - String:          ' (threshold='
85   - Threshold:       '412'
86   - String:          ')'
87 ...
88 --- !Passed
89 Pass:            inline
90 Name:            Inlined
91 DebugLoc:        { File: basic/or.h, Line: 15, Column: 17 }
92 Function:        TestH
93 Args:
94   - Callee:          foo
95   - String:          ' inlined into '
96   - Caller:          TestH
97 ...
98 --- !Passed
99 Pass:            loop-unroll
100 Name:            FullyUnrolled
101 DebugLoc:        { File: basic/or.h, Line: 9, Column: 3 }
102 Function:        TestH
103 Args:
104   - String:          'completely unrolled loop with '
105   - UnrollCount:     '16'
106   - String:          ' iterations'
108 --- !Missed
109 Pass:            inline
110 Name:            NoDefinition
111 DebugLoc:        { File: basic/or.c, Line: 20, Column: 10 }
112 Function:        Test
113 Args:
114   - Callee:          bar
115   - String:          ' will not be inlined into '
116   - Caller:          Test
117   - String:          ' because its definition is unavailable'
119 --- !Analysis
120 Pass:            inline
121 Name:            CanBeInlined
122 DebugLoc:        { File: basic/or.c, Line: 18, Column: 3 }
123 Function:        Test
124 Args:
125   - Callee:          foo
126   - String:          ' can be inlined into '
127   - Caller:          Test
128   - String:          ' with cost='
129   - Cost:            '30'
130   - String:          ' (threshold='
131   - Threshold:       '412'
132   - String:          ')'
134 --- !Passed
135 Pass:            inline
136 Name:            Inlined
137 DebugLoc:        { File: basic/or.c, Line: 18, Column: 3 }
138 Function:        Test
139 Args:
140   - Callee:          foo
141   - String:          ' inlined into '
142   - Caller:          Test
144 --- !Analysis
145 Pass:            inline
146 Name:            CanBeInlined
147 DebugLoc:        { File: basic/or.c, Line: 20, Column: 3 }
148 Function:        Test
149 Args:
150   - Callee:          foo
151   - String:          ' can be inlined into '
152   - Caller:          Test
153   - String:          ' with cost='
154   - Cost:            '30'
155   - String:          ' (threshold='
156   - Threshold:       '412'
157   - String:          ')'
159 --- !Passed
160 Pass:            inline
161 Name:            Inlined
162 DebugLoc:        { File: basic/or.c, Line: 20, Column: 3 }
163 Function:        Test
164 Args:
165   - Callee:          foo
166   - String:          ' inlined into '
167   - Caller:          Test
169 --- !Analysis
170 Pass:            inline
171 Name:            CanBeInlined
172 DebugLoc:        { File: basic/or.c, Line: 20, Column: 17 }
173 Function:        Test
174 Args:
175   - Callee:          foo
176   - String:          ' can be inlined into '
177   - Caller:          Test
178   - String:          ' with cost='
179   - Cost:            '30'
180   - String:          ' (threshold='
181   - Threshold:       '412'
182   - String:          ')'
184 --- !Passed
185 Pass:            inline
186 Name:            Inlined
187 DebugLoc:        { File: basic/or.c, Line: 20, Column: 17 }
188 Function:        Test
189 Args:
190   - Callee:          foo
191   - String:          ' inlined into '
192   - Caller:          Test
194 --- !Passed
195 Pass:            loop-unroll
196 Name:            FullyUnrolled
197 DebugLoc:        { File: basic/or.c, Line: 14, Column: 3 }
198 Function:        Test
199 Args:
200   - String:          'completely unrolled loop with '
201   - UnrollCount:     '16'
202   - String:          ' iterations'
204 --- !Passed
205 Pass:            loop-vectorize
206 Name:            Vectorized
207 DebugLoc:        { File: basic/or.h, Line: 5, Column: 3 }
208 Function:        TestH
209 Args:
210   - String:          'vectorized loop (vectorization width: '
211   - VectorizationFactor: '4'
212   - String:          ', interleaved count: '
213   - InterleaveCount: '2'
214   - String:          ')'
216 --- !Passed
217 Pass:            loop-vectorize
218 Name:            Vectorized
219 DebugLoc:        { File: basic/or.c, Line: 10, Column: 3 }
220 Function:        Test
221 Args:
222   - String:          'vectorized loop (vectorization width: '
223   - VectorizationFactor: '4'
224   - String:          ', interleaved count: '
225   - InterleaveCount: '2'
226   - String:          ')'
228 --- !Passed
229 Pass:            multiline
230 Name:            ShowMultiLine
231 DebugLoc:        { File: basic/or.c, Line: 10, Column: 3 }
232 Function:        Test
233 Args:
234   - String:   |
235       This is a remark with
236       multiple
237         lines