Lines Matching full:cost
1 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mcpu=corei7-avx | FileCheck %s
8 ; Cost of should be zero. We expect it to be folded into
10 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds i8, i8*
12 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds i16, i16*
14 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds i32, i32*
16 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds i64, i64*
19 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds float, float*
21 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds double, double*
24 ; Vector geps should also have zero cost.
25 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds <4 x i8>, <4 x i8>*
27 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds <4 x i16>, <4 x i16>*
29 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds <4 x i32>, <4 x i32>*
31 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds <4 x i64>, <4 x i64>*
33 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds <4 x float>, <4 x float>*
35 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds <4 x double>, <4 x double>*