Lines Matching full:cost
1 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mcpu=knl | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-AVX512
2 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mcpu=core-avx2 | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-AVX2
3 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mcpu=corei7-avx | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-AVX
11 ;CHECK: cost of 1 {{.*}} zext
13 ;CHECK: cost of 2 {{.*}} sext
15 ;CHECK: cost of 0 {{.*}} trunc
19 ;CHECK-NOT: cost of 1 {{.*}} zext
21 ;CHECK-NOT: cost of 2 {{.*}} sext
23 ;CHECK-NOT: cost of 2 {{.*}} trunc
28 ;CHECK: cost of 1 {{.*}} zext
30 ;CHECK: cost of 0 {{.*}} trunc
33 ;CHECK: cost of 0 {{.*}} ret
40 ;CHECK-AVX2: cost of 3 {{.*}} zext
41 ;CHECK-AVX: cost of 4 {{.*}} zext
43 ;CHECK-AVX2: cost of 3 {{.*}} sext
44 ;CHECK-AVX: cost of 7 {{.*}} sext
47 ;CHECK-AVX2: cost of 1 {{.*}} zext
48 ;CHECK-AVX: cost of 4 {{.*}} zext
50 ;CHECK-AVX2: cost of 1 {{.*}} sext
51 ;CHECK-AVX: cost of 4 {{.*}} sext
53 ;CHECK-AVX2: cost of 1 {{.*}} sext
54 ;CHECK-AVX: cost of 4 {{.*}} sext
56 ;CHECK-AVX2: cost of 1 {{.*}} zext
57 ;CHECK-AVX: cost of 4 {{.*}} zext
59 ;CHECK-AVX2: cost of 1 {{.*}} sext
60 ;CHECK-AVX: cost of 4 {{.*}} sext
63 ;CHECK-AVX2: cost of 3 {{.*}} zext
64 ;CHECK-AVX: cost of 4 {{.*}} zext
66 ;CHECK-AVX2: cost of 3 {{.*}} sext
67 ;CHECK-AVX: cost of 7 {{.*}} sext
69 ;CHECK-AVX2: cost of 3 {{.*}} zext
70 ;CHECK-AVX: cost of 3 {{.*}} zext
72 ;CHECK-AVX2: cost of 3 {{.*}} sext
73 ;CHECK-AVX: cost of 6 {{.*}} sext
76 ;CHECK-AVX2: cost of 3 {{.*}} zext
77 ;CHECK-AVX: cost of 4 {{.*}} zext
79 ;CHECK-AVX2: cost of 3 {{.*}} sext
80 ;CHECK-AVX: cost of 6 {{.*}} sext
83 ;CHECK-AVX2: cost of 1 {{.*}} zext
84 ;CHECK-AVX: cost of 4 {{.*}} zext
87 ;CHECK-AVX512: cost of 1 {{.*}} %D1 = zext
90 ;CHECK-AVX512: cost of 1 {{.*}} %D2 = sext
93 ;CHECK-AVX512: cost of 1 {{.*}} %D3 = zext
95 ;CHECK-AVX512: cost of 1 {{.*}} %D4 = zext
97 ;CHECK-AVX512: cost of 2 {{.*}} %D5 = zext
100 ;CHECK-AVX2: cost of 2 {{.*}} trunc
101 ;CHECK-AVX: cost of 4 {{.*}} trunc
103 ;CHECK-AVX2: cost of 2 {{.*}} trunc
104 ;CHECK-AVX: cost of 5 {{.*}} trunc
106 ;CHECK-AVX2: cost of 4 {{.*}} trunc
107 ;CHECK-AVX: cost of 4 {{.*}} trunc
109 ;CHECK-AVX2: cost of 2 {{.*}} trunc
110 ;CHECK-AVX: cost of 4 {{.*}} trunc
112 ;CHECK-AVX2: cost of 2 {{.*}} trunc
113 ;CHECK-AVX: cost of 4 {{.*}} trunc
116 ;CHECK-AVX2: cost of 4 {{.*}} trunc
117 ;CHECK-AVX: cost of 9 {{.*}} trunc
118 ;CHECK_AVX512: cost of 1 {{.*}} G = trunc
121 ;CHECK-AVX512: cost of 1 {{.*}} %G1 = trunc
124 ;CHECK-AVX512: cost of 1 {{.*}} %G2 = trunc
133 ;CHECK-AVX2: cost of 3 {{.*}} zext
134 ;CHECK-AVX: cost of 4 {{.*}} zext
136 ;CHECK-AVX2: cost of 3 {{.*}} sext
137 ;CHECK-AVX: cost of 7 {{.*}} sext
146 ;CHECK-AVX2: cost of 3 {{.*}} zext
147 ;CHECK-AVX: cost of 4 {{.*}} zext
149 ;CHECK-AVX2: cost of 3 {{.*}} sext
150 ;CHECK-AVX: cost of 6 {{.*}} sext
157 ; CHECK: cost of 3 {{.*}} sitofp
159 ; CHECK: cost of 3 {{.*}} sitofp
162 ; CHECK: cost of 3 {{.*}} sitofp
164 ; CHECK: cost of 3 {{.*}} sitofp
167 ; CHECK: cost of 3 {{.*}} sitofp
169 ; CHECK: cost of 3 {{.*}} sitofp
172 ; CHECK: cost of 1 {{.*}} sitofp
174 ; CHECK: cost of 1 {{.*}} sitofp
181 ; CHECK: cost of 8 {{.*}} sitofp
184 ; CHECK: cost of 8 {{.*}} sitofp
187 ; CHECK: cost of 5 {{.*}} sitofp
190 ; CHECK: cost of 1 {{.*}} sitofp
197 ; CHECK: cost of 7 {{.*}} uitofp
199 ; CHECK: cost of 7 {{.*}} uitofp
202 ; CHECK: cost of 2 {{.*}} uitofp
204 ; CHECK: cost of 2 {{.*}} uitofp
207 ; CHECK: cost of 2 {{.*}} uitofp
209 ; CHECK: cost of 2 {{.*}} uitofp
212 ; CHECK-AVX2: cost of 6 {{.*}} uitofp
214 ; CHECK-AVX2: cost of 6 {{.*}} uitofp
221 ; CHECK-AVX2: cost of 6 {{.*}} uitofp
224 ; CHECK-AVX2: cost of 5 {{.*}} uitofp
225 ; CHECK-AVX512: cost of 2 {{.*}} uitofp
228 ; CHECK-AVX2: cost of 5 {{.*}} uitofp
229 ; CHECK-AVX512: cost of 2 {{.*}} uitofp
232 ; CHECK-AVX2: cost of 8 {{.*}} uitofp
233 ; CHECK-AVX512: cost of 1 {{.*}} uitofp
234 ; CHECK-AVX: cost of 9 {{.*}} uitofp
241 ; CHECK-AVX512: cost of 1 {{.*}} fpext
244 ; CHECK-AVX512: cost of 1 {{.*}} fpext
247 ; CHECK-AVX2: cost of 3 {{.*}} %A3 = fpext
248 ; CHECK-AVX512: cost of 1 {{.*}} %A3 = fpext
251 ; CHECK-AVX2: cost of 3 {{.*}} %A4 = fptrunc
252 ; CHECK-AVX512: cost of 1 {{.*}} %A4 = fptrunc
255 ; CHECK-AVX512: cost of 1 {{.*}} %A5 = fptrunc