Searched refs:COST (Results 1 – 25 of 177) sorted by relevance
12345678
22 struct COST struct28 ~COST(); argument29 COST();33 COST::COST() in COST() function in COST40 COST::~COST() in ~COST()52 COST c1;56 COST c3; in main()58 COST c2;
2 …st-model -analyze -mtriple=armv7-linux-gnueabihf -mcpu=cortex-a9 | FileCheck --check-prefix=COST %s19 ; COST-LABEL: 'direct'20 ; COST-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %v0 = load <4 x i32>, <4 x …21 ; COST-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %v1 = load <4 x i32>, <4 x …22 ; COST-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %r3 = shl <4 x i32> %v0, %v123 ; COST-NEXT: Cost Model: Found an estimated cost of 1 for instruction: store <4 x i32> %r3, <4 x i…24 ; COST-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret void38 ; COST-LABEL: 'ups1632'39 ; COST-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %v0 = load <4 x i16>, <4 x …40 ; COST-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %v1 = load <4 x i16>, <4 x …[all …]
2 …st-model -analyze -mtriple=armv7-linux-gnueabihf -mcpu=cortex-a9 | FileCheck --check-prefix=COST %s19 ; COST-LABEL: 'direct'20 ; COST-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %v0 = load <4 x i32>, <4 x …21 ; COST-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %v1 = load <4 x i32>, <4 x …22 ; COST-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %r3 = mul <4 x i32> %v0, %v123 ; COST-NEXT: Cost Model: Found an estimated cost of 1 for instruction: store <4 x i32> %r3, <4 x i…24 ; COST-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret void38 ; COST-LABEL: 'ups1632'39 ; COST-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %v0 = load <4 x i16>, <4 x …40 ; COST-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %v1 = load <4 x i16>, <4 x …[all …]
2 …st-model -analyze -mtriple=armv7-linux-gnueabihf -mcpu=cortex-a9 | FileCheck --check-prefix=COST %s19 ; COST-LABEL: 'direct'20 ; COST-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %v0 = load <4 x i32>, <4 x …21 ; COST-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %v1 = load <4 x i32>, <4 x …22 ; COST-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %r3 = sub <4 x i32> %v0, %v123 ; COST-NEXT: Cost Model: Found an estimated cost of 1 for instruction: store <4 x i32> %r3, <4 x i…24 ; COST-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret void38 ; COST-LABEL: 'ups1632'39 ; COST-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %v0 = load <4 x i16>, <4 x …40 ; COST-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %v1 = load <4 x i16>, <4 x …[all …]
1 …st-model -analyze -mtriple=armv7-linux-gnueabihf -mcpu=cortex-a9 | FileCheck --check-prefix=COST %s18 ; COST: function 'direct':24 ; COST: cost of 1 for instruction: {{.*}} add <4 x i32>32 ; COST: function 'ups1632':39 ; COST: cost of 0 for instruction: {{.*}} sext <4 x i16> {{.*}} to <4 x i32>41 ; COST: cost of 1 for instruction: {{.*}} add <4 x i32>49 ; COST: function 'upu1632':56 ; COST: cost of 0 for instruction: {{.*}} zext <4 x i16> {{.*}} to <4 x i32>58 ; COST: cost of 1 for instruction: {{.*}} add <4 x i32>66 ; COST: function 'ups3264':[all …]
1 ; RUN: opt < %s -mtriple=aarch64--linux-gnu -cost-model -analyze | FileCheck %s --check-prefix=COST4 ; COST-LABEL: uaddl_8h5 ; COST-NEXT: Cost Model: Found an estimated cost of 0 for instruction: %tmp0 = zext <8 x i8> %a to…6 ; COST-NEXT: Cost Model: Found an estimated cost of 0 for instruction: %tmp1 = zext <8 x i8> %b to…16 ; COST-LABEL: uaddl_4s17 ; COST-NEXT: Cost Model: Found an estimated cost of 0 for instruction: %tmp0 = zext <4 x i16> %a t…18 ; COST-NEXT: Cost Model: Found an estimated cost of 0 for instruction: %tmp1 = zext <4 x i16> %b t…28 ; COST-LABEL: uaddl_2d29 ; COST-NEXT: Cost Model: Found an estimated cost of 0 for instruction: %tmp0 = zext <2 x i32> %a t…30 ; COST-NEXT: Cost Model: Found an estimated cost of 0 for instruction: %tmp1 = zext <2 x i32> %b t…[all …]
1 ; RUN: opt < %s -mtriple=aarch64--linux-gnu -cost-model -analyze | FileCheck %s --check-prefix=COST4 ; COST-LABEL: add.i8.v8i85 ; COST: Found an estimated cost of 1 for instruction: %r = call i8 @llvm.vector.reduce.add.v8…13 ; COST-LABEL: add.i8.v16i814 ; COST: Found an estimated cost of 1 for instruction: %r = call i8 @llvm.vector.reduce.add.v1…22 ; COST-LABEL: add.i16.v4i1623 ; COST: Found an estimated cost of 1 for instruction: %r = call i16 @llvm.vector.reduce.add.v…31 ; COST-LABEL: add.i16.v8i1632 ; COST: Found an estimated cost of 1 for instruction: %r = call i16 @llvm.vector.reduce.add.v…40 ; COST-LABEL: add.i32.v4i32[all …]
1 ; RUN: opt < %s -mtriple=aarch64--linux-gnu -cost-model -analyze | FileCheck %s --check-prefix=COST4 ; COST-LABEL: trn1.v8i85 ; COST: Found an estimated cost of 1 for instruction: %tmp0 = shufflevector <8 x i8> %v0, <8 …13 ; COST-LABEL: trn2.v8i814 ; COST: Found an estimated cost of 1 for instruction: %tmp0 = shufflevector <8 x i8> %v0, <8 …22 ; COST-LABEL: trn1.v16i823 ; COST: Found an estimated cost of 1 for instruction: %tmp0 = shufflevector <16 x i8> %v0, <1…31 ; COST-LABEL: trn2.v16i832 ; COST: Found an estimated cost of 1 for instruction: %tmp0 = shufflevector <16 x i8> %v0, <1…40 ; COST-LABEL: trn1.v4i16[all …]
1 ; RUN: opt < %s -mtriple=aarch64--linux-gnu -cost-model -analyze | FileCheck %s --check-prefix=COST4 ; COST-LABEL: umin.v8i85 ; COST-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %res = call <8 x i8> @llvm…18 ; COST-LABEL: umin.v9i819 ; COST-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %res = call <9 x i8> @llvm…32 ; COST-LABEL: umin.v4i1633 ; COST-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %res = call <4 x i16> @llv…46 ; COST-LABEL: umin.v16i847 ; COST-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %res = call <16 x i8> @llv…60 ; COST-LABEL: umin.v8i16[all …]
1 ; RUN: opt < %s -mtriple=aarch64--linux-gnu -cost-model -analyze | FileCheck %s --check-prefix=COST4 ; COST-LABEL: v8i8_select_eq5 ; COST-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %cmp.1 = icmp eq <8 x i8>…6 ; COST-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %s.1 = select <8 x i1> %c…20 ; COST-LABEL: v16i8_select_sgt21 ; COST-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %cmp.1 = icmp sgt <16 x i…22 ; COST-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %s.1 = select <16 x i1> %…36 ; COST-LABEL: v4i16_select_ne37 ; COST-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %cmp.1 = icmp ne <4 x i16…38 ; COST-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %s.1 = select <4 x i1> %c…[all …]
1 ; RUN: opt < %s -mtriple=aarch64--linux-gnu -cost-model -analyze | FileCheck %s --check-prefix=COST4 ; COST-LABEL: sel.v8i85 ; COST: Found an estimated cost of 42 for instruction: %tmp0 = shufflevector <8 x i8> %v0, <8…13 ; COST-LABEL: sel.v16i814 ; COST: Found an estimated cost of 90 for instruction: %tmp0 = shufflevector <16 x i8> %v0, <…22 ; COST-LABEL: sel.v4i1623 ; COST: Found an estimated cost of 18 for instruction: %tmp0 = shufflevector <4 x i16> %v0, <…32 ; COST-LABEL: sel.v8i1633 ; COST: Found an estimated cost of 42 for instruction: %tmp0 = shufflevector <8 x i16> %v0, <…41 ; COST-LABEL: sel.v2i32[all …]
4 …-slp-schedule-budget=0 -slp-threshold=-30 -slp-vectorizer -S | FileCheck %s --check-prefix=MAX-COST68 ; MAX-COST-LABEL: @PR28330(69 ; MAX-COST-NEXT: entry:70 ; MAX-COST-NEXT: [[P0:%.*]] = load i8, i8* getelementptr inbounds ([80 x i8], [80 x i8]* @a, i64…71 ; MAX-COST-NEXT: [[P1:%.*]] = icmp eq i8 [[P0]], 072 ; MAX-COST-NEXT: [[P2:%.*]] = load i8, i8* getelementptr inbounds ([80 x i8], [80 x i8]* @a, i64…73 ; MAX-COST-NEXT: [[P3:%.*]] = icmp eq i8 [[P2]], 074 ; MAX-COST-NEXT: [[P4:%.*]] = load i8, i8* getelementptr inbounds ([80 x i8], [80 x i8]* @a, i64…75 ; MAX-COST-NEXT: [[P5:%.*]] = icmp eq i8 [[P4]], 076 ; MAX-COST-NEXT: [[P6:%.*]] = load i8, i8* getelementptr inbounds ([80 x i8], [80 x i8]* @a, i64…[all …]
2 ; RUN: | FileCheck %s -check-prefix=COST18 ; COST: Cost Model: Found an estimated cost of 10 for instruction: %r = sdiv i64 %a, 2024 ; COST: Cost Model: Found an estimated cost of 10 for instruction: %r = sdiv i32 %a, 2030 ; COST: Cost Model: Found an estimated cost of 10 for instruction: %r = sdiv i16 %a, 2036 ; COST: Cost Model: Found an estimated cost of 10 for instruction: %r = sdiv i8 %a, 2044 ; COST: Cost Model: Found an estimated cost of 24 for instruction: %r = sdiv <2 x i64>50 ; COST: Cost Model: Found an estimated cost of 49 for instruction: %r = sdiv <4 x i32>56 ; COST: Cost Model: Found an estimated cost of 25 for instruction: %r = sdiv <2 x i32>62 ; COST: Cost Model: Found an estimated cost of 97 for instruction: %r = sdiv <8 x i16>68 ; COST: Cost Model: Found an estimated cost of 49 for instruction: %r = sdiv <4 x i16>[all …]
2 ; RUN: | FileCheck %s -check-prefix=COST14 ; COST: Cost Model: Found an estimated cost of 4 for instruction: %r = sdiv i64 %a, 220 ; COST: Cost Model: Found an estimated cost of 4 for instruction: %r = sdiv i64 %a, -426 ; COST: Cost Model: Found an estimated cost of 4 for instruction: %r = sdiv i32 %a, 832 ; COST: Cost Model: Found an estimated cost of 4 for instruction: %r = sdiv i32 %a, -1638 ; COST: Cost Model: Found an estimated cost of 4 for instruction: %r = sdiv i16 %a, 3244 ; COST: Cost Model: Found an estimated cost of 4 for instruction: %r = sdiv i16 %a, -6450 ; COST: Cost Model: Found an estimated cost of 4 for instruction: %r = sdiv i8 %a, 6456 ; COST: Cost Model: Found an estimated cost of 4 for instruction: %r = sdiv i8 %a, -12864 ; COST: Cost Model: Found an estimated cost of 4 for instruction: %r = sdiv <2 x i64> %a, <i64 2,…[all …]
4 …-cost-model -analyze -mtriple=arm-apple-ios6.0.0 -mcpu=cortex-a8 | FileCheck %s --check-prefix=COST13 ; COST: func_cvt514 ; COST: cost of 3 {{.*}} sext29 ; COST: func_cvt130 ; COST: cost of 3 {{.*}} zext44 ; COST: func_cvt5145 ; COST: cost of 3 {{.*}} trunc60 ; COST: func_cvt5261 ; COST: cost of 6 {{.*}} sext77 ; COST: func_cvt12[all …]
1 …-cost-model -analyze -mtriple=arm-apple-ios6.0.0 -mcpu=cortex-a8 | FileCheck %s --check-prefix=COST23 ; COST: func_blend1024 ; COST: cost of 2 {{.*}} select39 ; COST: func_blend1440 ; COST: cost of 2 {{.*}} select55 ; COST: func_blend1556 ; COST: cost of 4 {{.*}} select129 ; COST: func_blend18130 ; COST: cost of 19 {{.*}} select258 ; COST: func_blend19[all …]
4 …alyze -mtriple=thumbv7-apple-ios6.0.0 -march=arm -mcpu=cortex-a8 | FileCheck %s --check-prefix=COST13 ; COST: func_cvt514 ; COST: cost of 3 {{.*}} sext29 ; COST: func_cvt130 ; COST: cost of 3 {{.*}} zext44 ; COST: func_cvt5145 ; COST: cost of 3 {{.*}} trunc60 ; COST: func_cvt5261 ; COST: cost of 6 {{.*}} sext77 ; COST: func_cvt12[all …]
1 …alyze -mtriple=thumbv7-apple-ios6.0.0 -march=arm -mcpu=cortex-a8 | FileCheck %s --check-prefix=COST23 ; COST: func_blend1024 ; COST: cost of 2 {{.*}} select39 ; COST: func_blend1440 ; COST: cost of 2 {{.*}} select55 ; COST: func_blend1556 ; COST: cost of 4 {{.*}} select74 ; COST: func_blend1875 ; COST: cost of 19 {{.*}} select92 ; COST: func_blend19[all …]
1 …st-model -analyze -mtriple=armv7-linux-gnueabihf -mcpu=cortex-a9 | FileCheck --check-prefix=COST %s18 ; COST: function 'direct':24 ; COST: cost of 2 for instruction: {{.*}} mul <4 x i32>32 ; COST: function 'ups1632':39 ; COST: cost of 0 for instruction: {{.*}} sext <4 x i16> {{.*}} to <4 x i32>41 ; COST: cost of 2 for instruction: {{.*}} mul <4 x i32>49 ; COST: function 'upu1632':56 ; COST: cost of 0 for instruction: {{.*}} zext <4 x i16> {{.*}} to <4 x i32>58 ; COST: cost of 2 for instruction: {{.*}} mul <4 x i32>66 ; COST: function 'ups3264':[all …]
2 …orize -debug-only=loop-vectorize -disable-output < %s 2>&1 | FileCheck %s --check-prefix=CHECK-COST9 ; CHECK-COST: LV: Found an estimated cost of 0 for VF 1 For instruction: %and515 = shl i32 %l41, 310 ; CHECK-COST: LV: Found an estimated cost of 1 for VF 1 For instruction: %l45 = and i32 %and515, …11 ; CHECK-COST: LV: Found an estimated cost of 2 for VF 4 For instruction: %and515 = shl i32 %l41, 312 ; CHECK-COST: LV: Found an estimated cost of 2 for VF 4 For instruction: %l45 = and i32 %and515, …
2 … -loop-vectorize -disable-output -debug-only=loop-vectorize 2>&1 | FileCheck %s --check-prefix=COST14 ; COST-LABEL: predicated_udiv_scalarized_operand15 ; COST: LV: Found an estimated cost of 4 for VF 2 For instruction: %tmp4 = udiv i64 %tmp2, %…
8 sd{"COST"}
59 #define COST(a, b, c, d, e) (a) macro
84 #define EIGEN_MEMBER_FUNCTOR(MEMBER,COST) \90 { enum { value = COST }; }; \