Lines Matching full:cost
1 ; RUN: opt -cost-model -analyze -mtriple=thumbv7-apple-ios6.0.0 -mcpu=swift < %s | FileCheck %s
8 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds i8, i8*
10 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds i16, i16*
12 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds i32, i32*
14 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds i64, i64*
16 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds float, float*
18 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds double, double*
20 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds <4 x i8>, <4 x i8>*
22 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds <4 x i16>, <4 x i16>*
24 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds <4 x i32>, <4 x i32>*
26 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds <4 x i64>, <4 x i64>*
28 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds <4 x float>, <4 x float>*
30 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds <4 x double>, <4 x double>*
33 ; Cost of GEPs is one if we cannot fold the address computation.
34 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds i8, i8*
36 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds i16, i16*
39 ;CHECK: cost of 1 for instruction: {{.*}} getelementptr inbounds i32, i32*
41 ;CHECK: cost of 1 for instruction: {{.*}} getelementptr inbounds i64, i64*
43 ;CHECK: cost of 1 for instruction: {{.*}} getelementptr inbounds float, float*
45 ;CHECK: cost of 1 for instruction: {{.*}} getelementptr inbounds double, double*
47 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds <4 x i8>, <4 x i8>*
49 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds <4 x i16>, <4 x i16>*
51 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds <4 x i32>, <4 x i32>*
53 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds <4 x i64>, <4 x i64>*
55 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds <4 x float>, <4 x float>*
57 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds <4 x double>, <4 x double>*
60 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds i8, i8*
62 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds i16, i16*
64 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds i32, i32*
66 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds i64, i64*
68 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds float, float*
70 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds double, double*
72 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds <4 x i8>, <4 x i8>*
74 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds <4 x i16>, <4 x i16>*
77 ;CHECK: cost of 1 for instruction: {{.*}} getelementptr inbounds <4 x i32>, <4 x i32>*
79 ;CHECK: cost of 1 for instruction: {{.*}} getelementptr inbounds <4 x i64>, <4 x i64>*
81 ;CHECK: cost of 1 for instruction: {{.*}} getelementptr inbounds <4 x float>, <4 x float>*
83 ;CHECK: cost of 1 for instruction: {{.*}} getelementptr inbounds <4 x double>, <4 x double>*