/external/llvm/test/Analysis/CostModel/X86/ |
scalarize.ll | 1 ; RUN: opt < %s -cost-model -analyze -mtriple=i386 -mcpu=corei7-avx | FileCheck %s -check-prefix=CHECK32 2 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mcpu=corei7-avx | FileCheck %s -check-prefix=CHECK64 24 ; CHECK32: cost of 12 {{.*}}bswap.v4i32 25 ; CHECK64: cost of 12 {{.*}}bswap.v4i32 27 ; CHECK32: cost of 10 {{.*}}bswap.v2i64 28 ; CHECK64: cost of 6 {{.*}}bswap.v2i64 31 ; CHECK32: cost of 12 {{.*}}ctpop.v4i32 32 ; CHECK64: cost of 12 {{.*}}ctpop.v4i32 34 ; CHECK32: cost of 10 {{.*}}ctpop.v2i64 35 ; CHECK64: cost of 6 {{.*}}ctpop.v2i6 [all...] |
gep.ll | 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> [all...] |
sse-itoi.ll | 1 ; RUN: opt -mtriple=x86_64-apple-darwin -mattr=+sse2 -cost-model -analyze < %s | FileCheck --check-prefix=SSE2 %s 2 ; RUN: opt -mtriple=x86_64-apple-darwin -mattr=+sse4.1 -cost-model -analyze < %s | FileCheck --check-prefix=SSE41 %s 6 ; SSE2: cost of 6 {{.*}} zext 9 ; SSE41: cost of 4 {{.*}} zext 19 ; SSE2: cost of 8 {{.*}} sext 22 ; SSE41: cost of 4 {{.*}} sext 32 ; SSE2: cost of 3 {{.*}} zext 35 ; SSE41: cost of 2 {{.*}} zext 45 ; SSE2: cost of 4 {{.*}} sext 48 ; SSE41: cost of 2 {{.*}} sex [all...] |
intrinsic-cost.ll | 1 ; RUN: opt -S -mtriple=x86_64-apple-darwin -mcpu=core2 -cost-model -analyze < %s | FileCheck %s -check-prefix=CORE2 2 ; RUN: opt -S -mtriple=x86_64-apple-darwin -mcpu=corei7 -cost-model -analyze < %s | FileCheck %s -check-prefix=COREI7 24 ; CORE2: Printing analysis 'Cost Model Analysis' for function 'test1': 25 ; CORE2: Cost Model: Found an estimated cost of 46 for instruction: %2 = call <4 x float> @llvm.ceil.v4f32(<4 x float> %wide.load) 27 ; COREI7: Printing analysis 'Cost Model Analysis' for function 'test1': 28 ; COREI7: Cost Model: Found an estimated cost of 1 for instruction: %2 = call <4 x float> @llvm.ceil.v4f32(<4 x float> %wide.load) 52 ; CORE2: Printing analysis 'Cost Model Analysis' for function 'test2': 53 ; CORE2: Cost Model: Found an estimated cost of 46 for instruction: %2 = call <4 x float> @llvm.nearbyint.v4f3 (…) [all...] |
vectorized-loop.ll | 1 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mcpu=corei7-avx | FileCheck %s 8 ;CHECK: cost of 1 {{.*}} icmp 13 ;CHECK: cost of 1 {{.*}} sext 18 ;CHECK: cost of 1 {{.*}} add 21 ;CHECK: cost of 1 {{.*}} icmp 29 ;CHECK: cost of 0 {{.*}} bitcast 31 ;CHECK: cost of 2 {{.*}} load 33 ;CHECK: cost of 4 {{.*}} mul 37 ;CHECK: cost of 2 {{.*}} load 39 ;CHECK: cost of 4 {{.*}} ad [all...] |
/external/llvm/test/Transforms/LoopVectorize/ARM/ |
mul-cast-vect.ll | 1 ; RUN: opt < %s -cost-model -analyze -mtriple=armv7-linux-gnueabihf -mcpu=cortex-a9 | FileCheck --check-prefix=COST %s 18 ; 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 [all...] |
/external/llvm/test/Analysis/CostModel/ARM/ |
gep.ll | 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> [all...] |
select.ll | 1 ; RUN: opt < %s -cost-model -analyze -mtriple=thumbv7-apple-ios6.0.0 -mcpu=swift | FileCheck %s 8 ; CHECK: cost of 1 {{.*}} select 10 ; CHECK: cost of 1 {{.*}} select 12 ; CHECK: cost of 1 {{.*}} select 14 ; CHECK: cost of 2 {{.*}} select 16 ; CHECK: cost of 1 {{.*}} select 18 ; CHECK: cost of 1 {{.*}} select 22 ; CHECK: cost of 1 {{.*}} select 24 ; CHECK: cost of 1 {{.*}} select 26 ; CHECK: cost of 1 {{.*}} selec [all...] |
cast.ll | 1 ; RUN: opt < %s -cost-model -analyze -mtriple=thumbv7-apple-ios6.0.0 -mcpu=cortex-a8 | FileCheck %s 8 ; CHECK: Found an estimated cost of 1 for instruction: %r0 = sext i1 undef to i8 10 ; CHECK: Found an estimated cost of 1 for instruction: %r1 = zext i1 undef to i8 12 ; CHECK: Found an estimated cost of 1 for instruction: %r2 = sext i1 undef to i16 14 ; CHECK: Found an estimated cost of 1 for instruction: %r3 = zext i1 undef to i16 16 ; CHECK: Found an estimated cost of 1 for instruction: %r4 = sext i1 undef to i32 18 ; CHECK: Found an estimated cost of 1 for instruction: %r5 = zext i1 undef to i32 20 ; CHECK: Found an estimated cost of 1 for instruction: %r6 = sext i1 undef to i64 22 ; CHECK: Found an estimated cost of 1 for instruction: %r7 = zext i1 undef to i64 24 ; CHECK: Found an estimated cost of 0 for instruction: %r8 = trunc i8 undef to i [all...] |
shuffle.ll | 1 ; RUN: opt < %s -cost-model -analyze -mtriple=thumbv7-apple-ios6.0.0 -mcpu=swift | FileCheck %s 13 ; CHECK: cost of 1 {{.*}} shuffle 15 ; CHECK: cost of 1 {{.*}} shuffle 17 ; CHECK: cost of 1 {{.*}} shuffle 19 ; CHECK: cost of 2 {{.*}} shuffle 22 ; CHECK: cost of 1 {{.*}} shuffle 24 ; CHECK: cost of 1 {{.*}} shuffle 26 ; CHECK: cost of 2 {{.*}} shuffle 29 ; CHECK: cost of 1 {{.*}} shuffle 31 ; CHECK: cost of 2 {{.*}} shuffl [all...] |
divrem.ll | 1 ; RUN: opt < %s -cost-model -analyze -mtriple=thumbv7-apple-ios6.0.0 -mcpu=cortex-a9 | FileCheck %s 5 ; CHECK: cost of 40 {{.*}} sdiv 12 ; CHECK: cost of 40 {{.*}} sdiv 19 ; CHECK: cost of 40 {{.*}} sdiv 26 ; CHECK: cost of 40 {{.*}} sdiv 33 ; CHECK: cost of 10 {{.*}} sdiv 40 ; CHECK: cost of 10 {{.*}} sdiv 47 ; CHECK: cost of 80 {{.*}} sdiv 54 ; CHECK: cost of 80 {{.*}} sdiv 61 ; CHECK: cost of 10 {{.*}} sdi [all...] |
/external/llvm/test/Analysis/CostModel/PowerPC/ |
cmp-expanded.ll | 1 ; RUN: opt < %s -cost-model -analyze -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 -mattr=-vsx | FileCheck %s 7 ; VSX is disabled, so this cost needs to include scalarization (because 9 ; CHECK: cost of 44 {{.*}} fcmp
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/lib/gconv/ |
gconv-modules | 29 # cost: optional cost of the transformation. Default is 1. 207 # from to module cost 223 # from to module cost 239 # from to module cost 253 # from to module cost 267 # from to module cost 282 # from to module cost 299 # from to module cost 318 # from to module cost [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/lib32/gconv/ |
gconv-modules | 29 # cost: optional cost of the transformation. Default is 1. 207 # from to module cost 223 # from to module cost 239 # from to module cost 253 # from to module cost 267 # from to module cost 282 # from to module cost 299 # from to module cost 318 # from to module cost [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/lib/gconv/ |
gconv-modules | 29 # cost: optional cost of the transformation. Default is 1. 207 # from to module cost 223 # from to module cost 239 # from to module cost 253 # from to module cost 267 # from to module cost 282 # from to module cost 299 # from to module cost 318 # from to module cost [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/lib32/gconv/ |
gconv-modules | 29 # cost: optional cost of the transformation. Default is 1. 207 # from to module cost 223 # from to module cost 239 # from to module cost 253 # from to module cost 267 # from to module cost 282 # from to module cost 299 # from to module cost 318 # from to module cost [all...] |
/external/llvm/test/Analysis/CostModel/AArch64/ |
store.ll | 1 ; RUN: opt < %s -cost-model -analyze -mtriple=arm64-apple-ios -mcpu=cyclone | FileCheck %s 7 ; CHECK: cost of 12 {{.*}} store 12 ; CHECK: cost of 16 {{.*}} store 14 ; CHECK: cost of 64 {{.*}} store 16 ; CHECK: cost of 16 {{.*}} load 18 ; CHECK: cost of 64 {{.*}} load
|
/external/llvm/test/Analysis/CostModel/ |
no_info.ll | 1 ; RUN: opt < %s -cost-model -analyze | FileCheck %s 3 ; The cost model does not have any target information so it just makes boring 9 ; CHECK: cost of 1 {{.*}} add 10 ; CHECK: cost of 1 {{.*}} ret 19 ; CHECK: cost of 0 {{.*}} getelementptr 28 ; CHECK: cost of 1 {{.*}} getelementptr
|
/external/llvm/test/CodeGen/ARM/ |
vselect_imax.ll | 1 ; RUN: opt < %s -cost-model -analyze -mtriple=thumbv7-apple-ios6.0.0 -march=arm -mcpu=cortex-a8 | FileCheck %s --check-prefix=COST 23 ; COST: func_blend10 24 ; COST: cost of 2 {{.*}} select 39 ; COST: func_blend14 40 ; COST: cost of 2 {{.*}} select 55 ; COST: func_blend15 56 ; COST: cost of 4 {{.*}} selec [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/ |
typing_weighting.h | 42 float cost = 0.0f; local 44 cost += ScoringParams::HAS_MULTI_WORD_TERMINAL_COST; 47 cost += ScoringParams::HAS_PROXIMITY_TERMINAL_COST; 50 cost += ScoringParams::HAS_EDIT_CORRECTION_TERMINAL_COST; 52 return cost; 61 float cost = 0.0f; local 63 cost = 0.0f; 65 cost = ScoringParams::INTENTIONAL_OMISSION_COST; 67 cost = ScoringParams::OMISSION_COST_FIRST_CHAR; 69 cost = sameCodePoint ? ScoringParams::OMISSION_COST_SAME_CHA 87 float cost = isProximity ? (isFirstChar ? ScoringParams::FIRST_CHAR_PROXIMITY_COST local 142 float cost = (singleChar ? ScoringParams::INSERTION_COST_FIRST_CHAR : 0.0f); local 155 const float cost = ScoringParams::SPACE_OMISSION_COST; local 173 const float cost = firstCompletion ? ScoringParams::COST_FIRST_COMPLETION local 209 const float cost = ScoringParams::SPACE_SUBSTITUTION_COST * distanceToSpaceKey; local [all...] |
/external/llvm/test/Analysis/CostModel/AMDGPU/ |
br.ll | 1 ; RUN: opt -cost-model -analyze -mtriple=amdgcn-unknown-amdhsa < %s | FileCheck %s 4 ; CHECK: estimated cost of 10 for instruction: br i1 5 ; CHECK: estimated cost of 10 for instruction: br label 6 ; CHECK: estimated cost of 10 for instruction: ret void 23 ; CHECK: Unknown cost for instruction: switch
|
/external/ceres-solver/internal/ceres/ |
residual_block_test.cc | 42 // Trivial cost function that accepts three arguments. 106 // Verify cost-only evaluation. 107 double cost; local 108 residual_block.Evaluate(true, &cost, NULL, NULL, scratch); 109 EXPECT_EQ(0.5 * (0*0 + 1*1 + 2*2), cost); 111 // Verify cost and residual evaluation. 113 residual_block.Evaluate(true, &cost, residuals, NULL, scratch); 114 EXPECT_EQ(0.5 * (0*0 + 1*1 + 2*2), cost); 119 // Verify cost, residual, and jacobian evaluation. 120 cost = 0.0 246 double cost; local [all...] |
/external/llvm/include/llvm/Target/ |
CostTable.h | 1 //===-- CostTable.h - Instruction Cost Table handling -----------*- C++ -*-===// 11 /// \brief Cost tables and simple lookup functions 23 /// Cost Table Entry 27 unsigned Cost; 30 /// Find in cost table, TypeTy must be comparable to CompareTy by == 43 /// Type Conversion Cost Table 48 unsigned Cost; 51 /// Find in type conversion cost table, TypeTy must be comparable to CompareTy
|
/external/libvpx/libvpx/vp8/encoder/ |
treewriter.c | 14 static void cost( function 32 cost(C, T, P, j, d); 38 cost(c, t, p, 0, 0); 42 cost(c, t, p, start, 0);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
treewriter.c | 14 static void cost( function 32 cost(C, T, P, j, d); 38 cost(c, t, p, 0, 0); 42 cost(c, t, p, start, 0);
|