Lines Matching full:cost
1 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -mattr=+sse2,-sse4.1 -cost-model -analyze | FileCheck %s -check-prefix=CHECK -check-prefix=SSE2
2 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=core-avx2 -cost-model -analyze | FileCheck %s -check-prefix=CHECK -check-prefix=AVX2
8 ; CHECK: 'Cost Model Analysis' for function 'test1':
9 ; SSE2: Found an estimated cost of 15 for instruction: %div
10 ; AVX2: Found an estimated cost of 15 for instruction: %div
17 ; CHECK: 'Cost Model Analysis' for function 'test2':
18 ; SSE2: Found an estimated cost of 30 for instruction: %div
19 ; AVX2: Found an estimated cost of 15 for instruction: %div
26 ; CHECK: 'Cost Model Analysis' for function 'test3':
27 ; SSE2: Found an estimated cost of 6 for instruction: %div
28 ; AVX2: Found an estimated cost of 6 for instruction: %div
35 ; CHECK: 'Cost Model Analysis' for function 'test4':
36 ; SSE2: Found an estimated cost of 12 for instruction: %div
37 ; AVX2: Found an estimated cost of 6 for instruction: %div
44 ; CHECK: 'Cost Model Analysis' for function 'test5':
45 ; SSE2: Found an estimated cost of 6 for instruction: %div
46 ; AVX2: Found an estimated cost of 6 for instruction: %div
53 ; CHECK: 'Cost Model Analysis' for function 'test6':
54 ; SSE2: Found an estimated cost of 12 for instruction: %div
55 ; AVX2: Found an estimated cost of 6 for instruction: %div
62 ; CHECK: 'Cost Model Analysis' for function 'test7':
63 ; SSE2: Found an estimated cost of 320 for instruction: %div
64 ; AVX2: Found an estimated cost of 320 for instruction: %div
71 ; CHECK: 'Cost Model Analysis' for function 'test8':
72 ; SSE2: Found an estimated cost of 19 for instruction: %div
73 ; AVX2: Found an estimated cost of 15 for instruction: %div
80 ; CHECK: 'Cost Model Analysis' for function 'test9':
81 ; SSE2: Found an estimated cost of 38 for instruction: %div
82 ; AVX2: Found an estimated cost of 15 for instruction: %div
89 ; CHECK: 'Cost Model Analysis' for function 'test10':
90 ; SSE2: Found an estimated cost of 160 for instruction: %div
91 ; AVX2: Found an estimated cost of 160 for instruction: %div