• Home
  • Raw
  • Download

Lines Matching full:cost

1 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=pentium4 -cost-model -analyze | FileCheck %…
2 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -cost-model -analyze | FileCheck %s …
3 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7-avx -cost-model -analyze | FileCheck…
4 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=core-avx2 -cost-model -analyze | FileCheck …
5 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=bdver2 -cost-model -analyze | FileCheck %s …
6 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=bdver4 -cost-model -analyze | FileCheck %s …
8 ; Verify the cost of scalar bitreverse instructions.
16 ; CHECK: 'Cost Model Analysis' for function 'var_bitreverse_i64':
17 ; SSE2: Found an estimated cost of 1 for instruction: %bitreverse
18 ; SSE42: Found an estimated cost of 1 for instruction: %bitreverse
19 ; AVX: Found an estimated cost of 1 for instruction: %bitreverse
20 ; AVX2: Found an estimated cost of 1 for instruction: %bitreverse
21 ; XOP: Found an estimated cost of 3 for instruction: %bitreverse
27 ; CHECK: 'Cost Model Analysis' for function 'var_bitreverse_i32':
28 ; SSE2: Found an estimated cost of 1 for instruction: %bitreverse
29 ; SSE42: Found an estimated cost of 1 for instruction: %bitreverse
30 ; AVX: Found an estimated cost of 1 for instruction: %bitreverse
31 ; AVX2: Found an estimated cost of 1 for instruction: %bitreverse
32 ; XOP: Found an estimated cost of 3 for instruction: %bitreverse
38 ; CHECK: 'Cost Model Analysis' for function 'var_bitreverse_i16':
39 ; SSE2: Found an estimated cost of 1 for instruction: %bitreverse
40 ; SSE42: Found an estimated cost of 1 for instruction: %bitreverse
41 ; AVX: Found an estimated cost of 1 for instruction: %bitreverse
42 ; AVX2: Found an estimated cost of 1 for instruction: %bitreverse
43 ; XOP: Found an estimated cost of 3 for instruction: %bitreverse
49 ; CHECK: 'Cost Model Analysis' for function 'var_bitreverse_i8':
50 ; SSE2: Found an estimated cost of 1 for instruction: %bitreverse
51 ; SSE42: Found an estimated cost of 1 for instruction: %bitreverse
52 ; AVX: Found an estimated cost of 1 for instruction: %bitreverse
53 ; AVX2: Found an estimated cost of 1 for instruction: %bitreverse
54 ; XOP: Found an estimated cost of 3 for instruction: %bitreverse
59 ; Verify the cost of vector bitreverse instructions.
72 ; CHECK: 'Cost Model Analysis' for function 'var_bitreverse_v2i64':
73 ; SSE2: Found an estimated cost of 6 for instruction: %bitreverse
74 ; SSE42: Found an estimated cost of 5 for instruction: %bitreverse
75 ; AVX: Found an estimated cost of 5 for instruction: %bitreverse
76 ; AVX2: Found an estimated cost of 5 for instruction: %bitreverse
77 ; XOP: Found an estimated cost of 1 for instruction: %bitreverse
83 ; CHECK: 'Cost Model Analysis' for function 'var_bitreverse_v4i64':
84 ; SSE2: Found an estimated cost of 12 for instruction: %bitreverse
85 ; SSE42: Found an estimated cost of 10 for instruction: %bitreverse
86 ; AVX: Found an estimated cost of 10 for instruction: %bitreverse
87 ; AVX2: Found an estimated cost of 5 for instruction: %bitreverse
88 ; XOP: Found an estimated cost of 4 for instruction: %bitreverse
94 ; CHECK: 'Cost Model Analysis' for function 'var_bitreverse_v4i32':
95 ; SSE2: Found an estimated cost of 12 for instruction: %bitreverse
96 ; SSE42: Found an estimated cost of 5 for instruction: %bitreverse
97 ; AVX: Found an estimated cost of 5 for instruction: %bitreverse
98 ; AVX2: Found an estimated cost of 5 for instruction: %bitreverse
99 ; XOP: Found an estimated cost of 1 for instruction: %bitreverse
105 ; CHECK: 'Cost Model Analysis' for function 'var_bitreverse_v8i32':
106 ; SSE2: Found an estimated cost of 24 for instruction: %bitreverse
107 ; SSE42: Found an estimated cost of 10 for instruction: %bitreverse
108 ; AVX: Found an estimated cost of 10 for instruction: %bitreverse
109 ; AVX2: Found an estimated cost of 5 for instruction: %bitreverse
110 ; XOP: Found an estimated cost of 4 for instruction: %bitreverse
116 ; CHECK: 'Cost Model Analysis' for function 'var_bitreverse_v8i16':
117 ; SSE2: Found an estimated cost of 24 for instruction: %bitreverse
118 ; SSE42: Found an estimated cost of 5 for instruction: %bitreverse
119 ; AVX: Found an estimated cost of 5 for instruction: %bitreverse
120 ; AVX2: Found an estimated cost of 5 for instruction: %bitreverse
121 ; XOP: Found an estimated cost of 1 for instruction: %bitreverse
127 ; CHECK: 'Cost Model Analysis' for function 'var_bitreverse_v16i16':
128 ; SSE2: Found an estimated cost of 48 for instruction: %bitreverse
129 ; SSE42: Found an estimated cost of 10 for instruction: %bitreverse
130 ; AVX: Found an estimated cost of 10 for instruction: %bitreverse
131 ; AVX2: Found an estimated cost of 5 for instruction: %bitreverse
132 ; XOP: Found an estimated cost of 4 for instruction: %bitreverse
138 ; CHECK: 'Cost Model Analysis' for function 'var_bitreverse_v16i8':
139 ; SSE2: Found an estimated cost of 48 for instruction: %bitreverse
140 ; SSE42: Found an estimated cost of 5 for instruction: %bitreverse
141 ; AVX: Found an estimated cost of 5 for instruction: %bitreverse
142 ; AVX2: Found an estimated cost of 5 for instruction: %bitreverse
143 ; XOP: Found an estimated cost of 1 for instruction: %bitreverse
149 ; CHECK: 'Cost Model Analysis' for function 'var_bitreverse_v32i8':
150 ; SSE2: Found an estimated cost of 96 for instruction: %bitreverse
151 ; SSE42: Found an estimated cost of 10 for instruction: %bitreverse
152 ; AVX: Found an estimated cost of 10 for instruction: %bitreverse
153 ; AVX2: Found an estimated cost of 5 for instruction: %bitreverse
154 ; XOP: Found an estimated cost of 4 for instruction: %bitreverse