/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/AArch64/ |
H A D | AArch64PerfectShuffle.h | 19 // 31 entries have cost 0 20 // 756 entries have cost 1 21 // 3690 entries have cost 2 22 // 2084 entries have cost 3 26 135053414U, // <0,0,0,0>: Cost 1 vdup0 LHS 27 2080972802U, // <0,0,0,1>: Cost 2 ins <0,0,u,1>, lane 2 28 1679065190U, // <0,0,0,2>: Cost 2 vuzpl <0,2,0,2>, LHS 29 2085707777U, // <0,0,0,3>: Cost 2 ins <0,u,0,3>, lane 1 30 1476398390U, // <0,0,0,4>: Cost 2 vext1 <0,0,0,0>, RHS 31 2080440323U, // <0,0,0,5>: Cost 2 ins <0,0,0,u>, lane 3 [all …]
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
H A D | PPCPerfectShuffle.h | 17 // 31 entries have cost 0 18 // 292 entries have cost 1 19 // 1384 entries have cost 2 20 // 3061 entries have cost 3 21 // 1733 entries have cost 4 22 // 60 entries have cost 5 26 202162278U, // <0,0,0,0>: Cost 1 vspltisw0 LHS 27 1140850790U, // <0,0,0,1>: Cost 2 vmrghw <0,0,0,0>, LHS 28 2617247181U, // <0,0,0,2>: Cost 3 vsldoi4 <0,0,0,0>, <2,0,3,0> 29 2635163787U, // <0,0,0,3>: Cost 3 vsldoi4 <3,0,0,0>, <3,0,0,0> [all …]
|
/aosp_15_r20/external/llvm/lib/Target/AArch64/ |
H A D | AArch64PerfectShuffle.h | 18 // 31 entries have cost 0 19 // 242 entries have cost 1 20 // 1447 entries have cost 2 21 // 3602 entries have cost 3 22 // 1237 entries have cost 4 23 // 2 entries have cost 5 27 135053414U, // <0,0,0,0>: Cost 1 vdup0 LHS 28 1543503974U, // <0,0,0,1>: Cost 2 vext2 <0,0,0,0>, LHS 29 2618572962U, // <0,0,0,2>: Cost 3 vext2 <0,2,0,0>, <0,2,0,0> 30 2568054923U, // <0,0,0,3>: Cost 3 vext1 <3,0,0,0>, <3,0,0,0> [all …]
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/ARM/ |
H A D | ARMPerfectShuffle.h | 17 // 31 entries have cost 0 18 // 242 entries have cost 1 19 // 1447 entries have cost 2 20 // 3602 entries have cost 3 21 // 1237 entries have cost 4 22 // 2 entries have cost 5 26 135053414U, // <0,0,0,0>: Cost 1 vdup0 LHS 27 1543503974U, // <0,0,0,1>: Cost 2 vext2 <0,0,0,0>, LHS 28 2618572962U, // <0,0,0,2>: Cost 3 vext2 <0,2,0,0>, <0,2,0,0> 29 2568054923U, // <0,0,0,3>: Cost 3 vext1 <3,0,0,0>, <3,0,0,0> [all …]
|
/aosp_15_r20/external/llvm/lib/Target/PowerPC/ |
H A D | PPCPerfectShuffle.h | 18 // 31 entries have cost 0 19 // 292 entries have cost 1 20 // 1384 entries have cost 2 21 // 3061 entries have cost 3 22 // 1733 entries have cost 4 23 // 60 entries have cost 5 27 202162278U, // <0,0,0,0>: Cost 1 vspltisw0 LHS 28 1140850790U, // <0,0,0,1>: Cost 2 vmrghw <0,0,0,0>, LHS 29 2617247181U, // <0,0,0,2>: Cost 3 vsldoi4 <0,0,0,0>, <2,0,3,0> 30 2635163787U, // <0,0,0,3>: Cost 3 vsldoi4 <3,0,0,0>, <3,0,0,0> [all …]
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
H A D | AArch64PerfectShuffle.h | 17 // 31 entries have cost 0 18 // 242 entries have cost 1 19 // 1447 entries have cost 2 20 // 3602 entries have cost 3 21 // 1237 entries have cost 4 22 // 2 entries have cost 5 26 135053414U, // <0,0,0,0>: Cost 1 vdup0 LHS 27 1543503974U, // <0,0,0,1>: Cost 2 vext2 <0,0,0,0>, LHS 28 2618572962U, // <0,0,0,2>: Cost 3 vext2 <0,2,0,0>, <0,2,0,0> 29 2568054923U, // <0,0,0,3>: Cost 3 vext1 <3,0,0,0>, <3,0,0,0> [all …]
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/PowerPC/ |
H A D | PPCPerfectShuffle.h | 17 // 31 entries have cost 0 18 // 292 entries have cost 1 19 // 1384 entries have cost 2 20 // 3061 entries have cost 3 21 // 1733 entries have cost 4 22 // 60 entries have cost 5 26 202162278U, // <0,0,0,0>: Cost 1 vspltisw0 LHS 27 1140850790U, // <0,0,0,1>: Cost 2 vmrghw <0,0,0,0>, LHS 28 2617247181U, // <0,0,0,2>: Cost 3 vsldoi4 <0,0,0,0>, <2,0,3,0> 29 2635163787U, // <0,0,0,3>: Cost 3 vsldoi4 <3,0,0,0>, <3,0,0,0> [all …]
|
/aosp_15_r20/external/llvm/lib/Target/ARM/ |
H A D | ARMPerfectShuffle.h | 18 // 31 entries have cost 0 19 // 242 entries have cost 1 20 // 1447 entries have cost 2 21 // 3602 entries have cost 3 22 // 1237 entries have cost 4 23 // 2 entries have cost 5 27 135053414U, // <0,0,0,0>: Cost 1 vdup0 LHS 28 1543503974U, // <0,0,0,1>: Cost 2 vext2 <0,0,0,0>, LHS 29 2618572962U, // <0,0,0,2>: Cost 3 vext2 <0,2,0,0>, <0,2,0,0> 30 2568054923U, // <0,0,0,3>: Cost 3 vext1 <3,0,0,0>, <3,0,0,0> [all …]
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
H A D | ARMPerfectShuffle.h | 17 // 31 entries have cost 0 18 // 242 entries have cost 1 19 // 1447 entries have cost 2 20 // 3602 entries have cost 3 21 // 1237 entries have cost 4 22 // 2 entries have cost 5 26 135053414U, // <0,0,0,0>: Cost 1 vdup0 LHS 27 1543503974U, // <0,0,0,1>: Cost 2 vext2 <0,0,0,0>, LHS 28 2618572962U, // <0,0,0,2>: Cost 3 vext2 <0,2,0,0>, <0,2,0,0> 29 2568054923U, // <0,0,0,3>: Cost 3 vext1 <3,0,0,0>, <3,0,0,0> [all …]
|
/aosp_15_r20/external/llvm/test/Analysis/CostModel/X86/ |
H A D | vshift-shl-cost.ll | 1 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -mattr=+sse2,-sse4.1 -cost-model -an… 2 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -cost-model -analyze | FileCheck %s … 3 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7-avx -cost-model -analyze | FileCheck… 4 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=core-avx2 -cost-model -analyze | FileCheck … 5 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=bdver2 -cost-model -analyze | FileCheck %s … 6 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=bdver4 -cost-model -analyze | FileCheck %s … 8 ; Verify the cost of vector shift left instructions. 16 ; CHECK: 'Cost Model Analysis' for function 'var_shift_v2i64': 17 ; SSE2: Found an estimated cost of 4 for instruction: %shift 18 ; SSE41: Found an estimated cost of 4 for instruction: %shift [all …]
|
H A D | vshift-lshr-cost.ll | 1 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -mattr=+sse2,-sse4.1 -cost-model -an… 2 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -cost-model -analyze | FileCheck %s … 3 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7-avx -cost-model -analyze | FileCheck… 4 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=core-avx2 -cost-model -analyze | FileCheck … 5 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=bdver2 -cost-model -analyze | FileCheck %s … 6 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=bdver4 -cost-model -analyze | FileCheck %s … 8 ; Verify the cost of vector logical shift right instructions. 15 ; CHECK: 'Cost Model Analysis' for function 'var_shift_v2i64': 16 ; SSE2: Found an estimated cost of 4 for instruction: %shift 17 ; SSE41: Found an estimated cost of 4 for instruction: %shift [all …]
|
H A D | vshift-ashr-cost.ll | 1 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -mattr=+sse2,-sse4.1 -cost-model -an… 2 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -cost-model -analyze | FileCheck %s … 3 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7-avx -cost-model -analyze | FileCheck… 4 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=core-avx2 -cost-model -analyze | FileCheck … 5 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=bdver2 -cost-model -analyze | FileCheck %s … 6 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=bdver4 -cost-model -analyze | FileCheck %s … 8 ; Verify the cost of vector arithmetic shift right instructions. 15 ; CHECK: 'Cost Model Analysis' for function 'var_shift_v2i64': 16 ; SSE2: Found an estimated cost of 12 for instruction: %shift 17 ; SSE41: Found an estimated cost of 12 for instruction: %shift [all …]
|
H A D | ctbits-cost.ll | 1 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=pentium4 -cost-model -analyze | FileCheck %… 2 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -cost-model -analyze | FileCheck %s … 3 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7-avx -cost-model -analyze | FileCheck… 4 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=core-avx2 -cost-model -analyze | FileCheck … 5 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=bdver2 -cost-model -analyze | FileCheck %s … 6 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=bdver4 -cost-model -analyze | FileCheck %s … 8 ; Verify the cost of vector population count instructions. 21 ; CHECK: 'Cost Model Analysis' for function 'var_ctpop_v2i64': 22 ; SSE: Found an estimated cost of 2 for instruction: %ctpop 23 ; AVX: Found an estimated cost of 2 for instruction: %ctpop [all …]
|
H A D | sitofp.ll | 1 ; RUN: opt -mtriple=x86_64-apple-darwin -mattr=+sse2 -cost-model -analyze < %s | FileCheck --check-… 2 ; RUN: opt -mtriple=x86_64-apple-darwin -mattr=+avx -cost-model -analyze < %s | FileCheck --check-… 3 ; RUN: opt -mtriple=x86_64-apple-darwin -mattr=+avx2 -cost-model -analyze < %s | FileCheck --check-… 4 ; RUN: opt -mtriple=x86_64-apple-darwin -mattr=+avx512f -cost-model -analyze < %s | FileCheck --che… 8 ; SSE2: cost of 20 {{.*}} sitofp 11 ; AVX1: cost of 4 {{.*}} sitofp 14 ; AVX2: cost of 4 {{.*}} sitofp 17 ; AVX512F: cost of 4 {{.*}} sitofp 24 ; SSE2: cost of 40 {{.*}} sitofp 27 ; AVX1: cost of 3 {{.*}} sitofp [all …]
|
H A D | uitofp.ll | 1 ; RUN: opt -mtriple=x86_64-apple-darwin -mattr=+sse2 -cost-model -analyze < %s | FileCheck --check-… 2 ; RUN: opt -mtriple=x86_64-apple-darwin -mattr=+avx -cost-model -analyze < %s | FileCheck --check-… 3 ; RUN: opt -mtriple=x86_64-apple-darwin -mattr=+avx2 -cost-model -analyze < %s | FileCheck --check-… 4 ; RUN: opt -mtriple=x86_64-apple-darwin -mattr=+avx512f -cost-model -analyze < %s | FileCheck --che… 5 ; RUN: opt -mtriple=x86_64-apple-darwin -mattr=+avx512dq -cost-model -analyze < %s | FileCheck --ch… 9 ; SSE2: cost of 20 {{.*}} uitofp 12 ; AVX1: cost of 4 {{.*}} uitofp 15 ; AVX2: cost of 4 {{.*}} uitofp 18 ; AVX512F: cost of 2 {{.*}} uitofp 25 ; SSE2: cost of 40 {{.*}} uitofp [all …]
|
H A D | alternate-shuffle-cost.ll | 1 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mattr=+sse2,-ssse3 -cost-model -analyze | FileCh… 2 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mattr=+sse2,+sse3,+ssse3 -cost-model -analyze | … 3 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -cost-model -analyze | FileCheck %s … 4 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7-avx -cost-model -analyze | FileCheck… 5 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=core-avx2 -cost-model -analyze | FileCheck … 8 ; Verify the cost model for alternate shuffles. 18 ; CHECK: Printing analysis 'Cost Model Analysis' for function 'test_v2i32': 19 ; SSE2: Cost Model: {{.*}} 1 for instruction: %1 = shufflevector 20 ; SSSE3: Cost Model: {{.*}} 1 for instruction: %1 = shufflevector 21 ; SSE41: Cost Model: {{.*}} 1 for instruction: %1 = shufflevector [all …]
|
H A D | arith.ll | 1 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mattr=+ssse3 | FileCheck … 2 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mattr=+sse4.2 | FileCheck… 3 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mattr=+avx | FileCheck %s… 4 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mattr=+avx2 | FileCheck %… 11 ; SSSE3: cost of 1 {{.*}} %A = add 12 ; SSE42: cost of 1 {{.*}} %A = add 13 ; AVX: cost of 1 {{.*}} %A = add 14 ; AVX2: cost of 1 {{.*}} %A = add 16 ; SSSE3: cost of 2 {{.*}} %B = add 17 ; SSE42: cost of 2 {{.*}} %B = add [all …]
|
H A D | cmp.ll | 1 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mcpu=pentium4 | FileCheck… 2 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mcpu=yonah | FileCheck --… 3 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mcpu=core2 | FileCheck --… 4 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mcpu=penryn | FileCheck -… 5 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mcpu=corei7 | FileCheck -… 6 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mcpu=corei7-avx | FileChe… 7 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mcpu=core-avx2 | FileChec… 8 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mcpu=knl | FileCheck --ch… 15 ;SSE2: cost of 3 {{.*}} fcmp 16 ;SSE3: cost of 3 {{.*}} fcmp [all …]
|
H A D | cast.ll | 1 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mcpu=knl | FileCheck %s -… 2 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mcpu=core-avx2 | FileChec… 3 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mcpu=corei7-avx | FileChe… 11 ;CHECK: cost of 1 {{.*}} zext 13 ;CHECK: cost of 2 {{.*}} sext 15 ;CHECK: cost of 0 {{.*}} trunc 19 ;CHECK-NOT: cost of 1 {{.*}} zext 21 ;CHECK-NOT: cost of 2 {{.*}} sext 23 ;CHECK-NOT: cost of 2 {{.*}} trunc 28 ;CHECK: cost of 1 {{.*}} zext [all …]
|
H A D | bitreverse.ll | 1 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=pentium4 -cost-model -analyze | FileCheck %… 2 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -cost-model -analyze | FileCheck %s … 3 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7-avx -cost-model -analyze | FileCheck… 4 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=core-avx2 -cost-model -analyze | FileCheck … 5 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=bdver2 -cost-model -analyze | FileCheck %s … 6 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=bdver4 -cost-model -analyze | FileCheck %s … 8 ; Verify the cost of scalar bitreverse instructions. 16 ; CHECK: 'Cost Model Analysis' for function 'var_bitreverse_i64': 17 ; SSE2: Found an estimated cost of 1 for instruction: %bitreverse 18 ; SSE42: Found an estimated cost of 1 for instruction: %bitreverse [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/core/grappler/costs/ |
H A D | op_level_cost_estimator_test.cc | 60 void ExpectZeroCost(const Costs& cost) { in ExpectZeroCost() argument 61 EXPECT_TRUE(cost.inaccurate); in ExpectZeroCost() 62 EXPECT_EQ(cost.compute_time, Costs::Duration::zero()); in ExpectZeroCost() 63 EXPECT_EQ(cost.execution_time, Costs::Duration::zero()); in ExpectZeroCost() 64 EXPECT_EQ(cost.memory_time, Costs::Duration::zero()); in ExpectZeroCost() 167 // Wrangles the minimum number of proto fields to set up a 1D Tensor for cost 175 // Wrangles the minimum number of proto fields to set up a 4D Tensor for cost 187 // Wrangles the minimum number of proto fields to set up a 4D Tensor for cost 320 // cost model for applying elementwise operations to tensors with unequal 671 // Minimum cost for all persistent ops. in TEST_F() [all …]
|
/aosp_15_r20/external/llvm/test/Analysis/CostModel/ARM/ |
H A D | 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 i1 [all …]
|
/aosp_15_r20/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/sysroot/usr/lib32/gconv/ |
D | gconv-modules | 28 # cost: optional cost of the transformation. Default is 1. 206 # from to module cost 222 # from to module cost 238 # from to module cost 252 # from to module cost 266 # from to module cost 281 # from to module cost 298 # from to module cost 317 # from to module cost 332 # from to module cost [all …]
|
/aosp_15_r20/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/sysroot/usr/lib/gconv/ |
D | gconv-modules | 28 # cost: optional cost of the transformation. Default is 1. 206 # from to module cost 222 # from to module cost 238 # from to module cost 252 # from to module cost 266 # from to module cost 281 # from to module cost 298 # from to module cost 317 # from to module cost 332 # from to module cost [all …]
|
/aosp_15_r20/external/llvm/lib/Analysis/ |
H A D | TargetTransformInfo.cpp | 52 int Cost = TTIImpl->getOperationCost(Opcode, Ty, OpTy); in getOperationCost() local 53 assert(Cost >= 0 && "TTI should not produce negative costs!"); in getOperationCost() 54 return Cost; in getOperationCost() 58 int Cost = TTIImpl->getCallCost(FTy, NumArgs); in getCallCost() local 59 assert(Cost >= 0 && "TTI should not produce negative costs!"); in getCallCost() 60 return Cost; in getCallCost() 65 int Cost = TTIImpl->getCallCost(F, Arguments); in getCallCost() local 66 assert(Cost >= 0 && "TTI should not produce negative costs!"); in getCallCost() 67 return Cost; in getCallCost() 81 int Cost = TTIImpl->getIntrinsicCost(IID, RetTy, Arguments); in getIntrinsicCost() local [all …]
|