/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/CostModel/SystemZ/ |
D | cmp-ext.ll | 4 define i8 @fun0(i8 %val1, i8 %val2) { 5 %cmp = icmp eq i8 %val1, %val2 10 ; CHECK: cost of 3 for instruction: %cmp = icmp eq i8 %val1, %val2 14 define i16 @fun1(i8 %val1, i8 %val2) { 15 %cmp = icmp eq i8 %val1, %val2 20 ; CHECK: cost of 3 for instruction: %cmp = icmp eq i8 %val1, %val2 24 define i32 @fun2(i8 %val1, i8 %val2) { 25 %cmp = icmp eq i8 %val1, %val2 30 ; CHECK: cost of 3 for instruction: %cmp = icmp eq i8 %val1, %val2 34 define i64 @fun3(i8 %val1, i8 %val2) { [all …]
|
D | cmpsel.ll | 8 define i8 @fun0(i8 %val1, i8 %val2, 10 %cmp = icmp eq i8 %val1, %val2 15 ; CHECK: cost of 3 for instruction: %cmp = icmp eq i8 %val1, %val2 19 define i16 @fun1(i8 %val1, i8 %val2, 21 %cmp = icmp eq i8 %val1, %val2 26 ; CHECK: cost of 3 for instruction: %cmp = icmp eq i8 %val1, %val2 30 define i32 @fun2(i8 %val1, i8 %val2, 32 %cmp = icmp eq i8 %val1, %val2 37 ; CHECK: cost of 3 for instruction: %cmp = icmp eq i8 %val1, %val2 41 define i64 @fun3(i8 %val1, i8 %val2, [all …]
|
/external/swiftshader/third_party/LLVM/test/CodeGen/CellSPU/ |
D | icmp16.ll | 16 ; $3 = %arg1, $4 = %arg2, $5 = %val1, $6 = %val2 17 ; $3 = %arg1, $4 = %val1, $5 = %val2 29 define i16 @icmp_eq_select_i16(i16 %arg1, i16 %arg2, i16 %val1, i16 %val2) nounwind { 32 %B = select i1 %A, i16 %val1, i16 %val2 36 define i1 @icmp_eq_setcc_i16(i16 %arg1, i16 %arg2, i16 %val1, i16 %val2) nounwind { 42 define i16 @icmp_eq_immed01_i16(i16 %arg1, i16 %val1, i16 %val2) nounwind { 45 %B = select i1 %A, i16 %val1, i16 %val2 49 define i16 @icmp_eq_immed02_i16(i16 %arg1, i16 %val1, i16 %val2) nounwind { 52 %B = select i1 %A, i16 %val1, i16 %val2 56 define i16 @icmp_eq_immed03_i16(i16 %arg1, i16 %val1, i16 %val2) nounwind { [all …]
|
D | icmp32.ll | 16 ; $3 = %arg1, $4 = %arg2, $5 = %val1, $6 = %val2 17 ; $3 = %arg1, $4 = %val1, $5 = %val2 29 define i32 @icmp_eq_select_i32(i32 %arg1, i32 %arg2, i32 %val1, i32 %val2) nounwind { 32 %B = select i1 %A, i32 %val1, i32 %val2 36 define i1 @icmp_eq_setcc_i32(i32 %arg1, i32 %arg2, i32 %val1, i32 %val2) nounwind { 42 define i32 @icmp_eq_immed01_i32(i32 %arg1, i32 %val1, i32 %val2) nounwind { 45 %B = select i1 %A, i32 %val1, i32 %val2 49 define i32 @icmp_eq_immed02_i32(i32 %arg1, i32 %val1, i32 %val2) nounwind { 52 %B = select i1 %A, i32 %val1, i32 %val2 56 define i32 @icmp_eq_immed03_i32(i32 %arg1, i32 %val1, i32 %val2) nounwind { [all …]
|
D | icmp8.ll | 15 ; $3 = %arg1, $4 = %arg2, $5 = %val1, $6 = %val2 16 ; $3 = %arg1, $4 = %val1, $5 = %val2 28 define i8 @icmp_eq_select_i8(i8 %arg1, i8 %arg2, i8 %val1, i8 %val2) nounwind { 31 %B = select i1 %A, i8 %val1, i8 %val2 35 define i1 @icmp_eq_setcc_i8(i8 %arg1, i8 %arg2, i8 %val1, i8 %val2) nounwind { 41 define i8 @icmp_eq_immed01_i8(i8 %arg1, i8 %val1, i8 %val2) nounwind { 44 %B = select i1 %A, i8 %val1, i8 %val2 48 define i8 @icmp_eq_immed02_i8(i8 %arg1, i8 %val1, i8 %val2) nounwind { 51 %B = select i1 %A, i8 %val1, i8 %val2 55 define i8 @icmp_eq_immed03_i8(i8 %arg1, i8 %val1, i8 %val2) nounwind { [all …]
|
D | icmp64.ll | 14 ; $3 = %arg1, $4 = %arg2, $5 = %val1, $6 = %val2 15 ; $3 = %arg1, $4 = %val1, $5 = %val2 18 define i64 @icmp_eq_select_i64(i64 %arg1, i64 %arg2, i64 %val1, i64 %val2) nounwind { 21 %B = select i1 %A, i64 %val1, i64 %val2 25 define i1 @icmp_eq_setcc_i64(i64 %arg1, i64 %arg2, i64 %val1, i64 %val2) nounwind { 31 define i64 @icmp_ne_select_i64(i64 %arg1, i64 %arg2, i64 %val1, i64 %val2) nounwind { 34 %B = select i1 %A, i64 %val1, i64 %val2 38 define i1 @icmp_ne_setcc_i64(i64 %arg1, i64 %arg2, i64 %val1, i64 %val2) nounwind { 44 define i64 @icmp_ugt_select_i64(i64 %arg1, i64 %arg2, i64 %val1, i64 %val2) nounwind { 47 %B = select i1 %A, i64 %val1, i64 %val2 [all …]
|
/external/libcxx/test/libcxx/atomics/ |
D | diagnose_invalid_memory_order.fail.cpp | 27 int val2 = 2; ((void)val2); in main() local 78 …x.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_release); // expe… in main() 79 …x.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_acq_rel); // expe… in main() 80 …vx.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_release); // exp… in main() 81 …vx.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_acq_rel); // exp… in main() 83 x.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_relaxed); in main() 84 x.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_consume); in main() 85 x.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_acquire); in main() 86 x.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_seq_cst); in main() 89 x.compare_exchange_weak(val1, val2, std::memory_order_release); in main() [all …]
|
/external/llvm/test/CodeGen/SystemZ/ |
D | vec-move-01.ll | 6 define <16 x i8> @f1(<16 x i8> %val1, <16 x i8> %val2) { 10 ret <16 x i8> %val2 14 define <8 x i16> @f2(<8 x i16> %val1, <8 x i16> %val2) { 18 ret <8 x i16> %val2 22 define <4 x i32> @f3(<4 x i32> %val1, <4 x i32> %val2) { 26 ret <4 x i32> %val2 30 define <2 x i64> @f4(<2 x i64> %val1, <2 x i64> %val2) { 34 ret <2 x i64> %val2 38 define <4 x float> @f5(<4 x float> %val1, <4 x float> %val2) { 42 ret <4 x float> %val2 [all …]
|
D | vec-max-04.ll | 6 define <2 x i64> @f1(<2 x i64> %val1, <2 x i64> %val2) { 10 %cmp = icmp slt <2 x i64> %val1, %val2 11 %ret = select <2 x i1> %cmp, <2 x i64> %val2, <2 x i64> %val1 16 define <2 x i64> @f2(<2 x i64> %val1, <2 x i64> %val2) { 20 %cmp = icmp sle <2 x i64> %val1, %val2 21 %ret = select <2 x i1> %cmp, <2 x i64> %val2, <2 x i64> %val1 26 define <2 x i64> @f3(<2 x i64> %val1, <2 x i64> %val2) { 30 %cmp = icmp sgt <2 x i64> %val1, %val2 31 %ret = select <2 x i1> %cmp, <2 x i64> %val1, <2 x i64> %val2 36 define <2 x i64> @f4(<2 x i64> %val1, <2 x i64> %val2) { [all …]
|
D | vec-max-02.ll | 6 define <8 x i16> @f1(<8 x i16> %val1, <8 x i16> %val2) { 10 %cmp = icmp slt <8 x i16> %val1, %val2 11 %ret = select <8 x i1> %cmp, <8 x i16> %val2, <8 x i16> %val1 16 define <8 x i16> @f2(<8 x i16> %val1, <8 x i16> %val2) { 20 %cmp = icmp sle <8 x i16> %val1, %val2 21 %ret = select <8 x i1> %cmp, <8 x i16> %val2, <8 x i16> %val1 26 define <8 x i16> @f3(<8 x i16> %val1, <8 x i16> %val2) { 30 %cmp = icmp sgt <8 x i16> %val1, %val2 31 %ret = select <8 x i1> %cmp, <8 x i16> %val1, <8 x i16> %val2 36 define <8 x i16> @f4(<8 x i16> %val1, <8 x i16> %val2) { [all …]
|
D | vec-max-03.ll | 6 define <4 x i32> @f1(<4 x i32> %val1, <4 x i32> %val2) { 10 %cmp = icmp slt <4 x i32> %val1, %val2 11 %ret = select <4 x i1> %cmp, <4 x i32> %val2, <4 x i32> %val1 16 define <4 x i32> @f2(<4 x i32> %val1, <4 x i32> %val2) { 20 %cmp = icmp sle <4 x i32> %val1, %val2 21 %ret = select <4 x i1> %cmp, <4 x i32> %val2, <4 x i32> %val1 26 define <4 x i32> @f3(<4 x i32> %val1, <4 x i32> %val2) { 30 %cmp = icmp sgt <4 x i32> %val1, %val2 31 %ret = select <4 x i1> %cmp, <4 x i32> %val1, <4 x i32> %val2 36 define <4 x i32> @f4(<4 x i32> %val1, <4 x i32> %val2) { [all …]
|
D | vec-min-02.ll | 6 define <8 x i16> @f1(<8 x i16> %val1, <8 x i16> %val2) { 10 %cmp = icmp slt <8 x i16> %val2, %val1 11 %ret = select <8 x i1> %cmp, <8 x i16> %val2, <8 x i16> %val1 16 define <8 x i16> @f2(<8 x i16> %val1, <8 x i16> %val2) { 20 %cmp = icmp sle <8 x i16> %val2, %val1 21 %ret = select <8 x i1> %cmp, <8 x i16> %val2, <8 x i16> %val1 26 define <8 x i16> @f3(<8 x i16> %val1, <8 x i16> %val2) { 30 %cmp = icmp sgt <8 x i16> %val2, %val1 31 %ret = select <8 x i1> %cmp, <8 x i16> %val1, <8 x i16> %val2 36 define <8 x i16> @f4(<8 x i16> %val1, <8 x i16> %val2) { [all …]
|
D | vec-min-01.ll | 6 define <16 x i8> @f1(<16 x i8> %val1, <16 x i8> %val2) { 10 %cmp = icmp slt <16 x i8> %val2, %val1 11 %ret = select <16 x i1> %cmp, <16 x i8> %val2, <16 x i8> %val1 16 define <16 x i8> @f2(<16 x i8> %val1, <16 x i8> %val2) { 20 %cmp = icmp sle <16 x i8> %val2, %val1 21 %ret = select <16 x i1> %cmp, <16 x i8> %val2, <16 x i8> %val1 26 define <16 x i8> @f3(<16 x i8> %val1, <16 x i8> %val2) { 30 %cmp = icmp sgt <16 x i8> %val2, %val1 31 %ret = select <16 x i1> %cmp, <16 x i8> %val1, <16 x i8> %val2 36 define <16 x i8> @f4(<16 x i8> %val1, <16 x i8> %val2) { [all …]
|
D | vec-min-04.ll | 6 define <2 x i64> @f1(<2 x i64> %val1, <2 x i64> %val2) { 10 %cmp = icmp slt <2 x i64> %val2, %val1 11 %ret = select <2 x i1> %cmp, <2 x i64> %val2, <2 x i64> %val1 16 define <2 x i64> @f2(<2 x i64> %val1, <2 x i64> %val2) { 20 %cmp = icmp sle <2 x i64> %val2, %val1 21 %ret = select <2 x i1> %cmp, <2 x i64> %val2, <2 x i64> %val1 26 define <2 x i64> @f3(<2 x i64> %val1, <2 x i64> %val2) { 30 %cmp = icmp sgt <2 x i64> %val2, %val1 31 %ret = select <2 x i1> %cmp, <2 x i64> %val1, <2 x i64> %val2 36 define <2 x i64> @f4(<2 x i64> %val1, <2 x i64> %val2) { [all …]
|
D | vec-max-01.ll | 6 define <16 x i8> @f1(<16 x i8> %val1, <16 x i8> %val2) { 10 %cmp = icmp slt <16 x i8> %val1, %val2 11 %ret = select <16 x i1> %cmp, <16 x i8> %val2, <16 x i8> %val1 16 define <16 x i8> @f2(<16 x i8> %val1, <16 x i8> %val2) { 20 %cmp = icmp sle <16 x i8> %val1, %val2 21 %ret = select <16 x i1> %cmp, <16 x i8> %val2, <16 x i8> %val1 26 define <16 x i8> @f3(<16 x i8> %val1, <16 x i8> %val2) { 30 %cmp = icmp sgt <16 x i8> %val1, %val2 31 %ret = select <16 x i1> %cmp, <16 x i8> %val1, <16 x i8> %val2 36 define <16 x i8> @f4(<16 x i8> %val1, <16 x i8> %val2) { [all …]
|
D | vec-min-03.ll | 6 define <4 x i32> @f1(<4 x i32> %val1, <4 x i32> %val2) { 10 %cmp = icmp slt <4 x i32> %val2, %val1 11 %ret = select <4 x i1> %cmp, <4 x i32> %val2, <4 x i32> %val1 16 define <4 x i32> @f2(<4 x i32> %val1, <4 x i32> %val2) { 20 %cmp = icmp sle <4 x i32> %val2, %val1 21 %ret = select <4 x i1> %cmp, <4 x i32> %val2, <4 x i32> %val1 26 define <4 x i32> @f3(<4 x i32> %val1, <4 x i32> %val2) { 30 %cmp = icmp sgt <4 x i32> %val2, %val1 31 %ret = select <4 x i1> %cmp, <4 x i32> %val1, <4 x i32> %val2 36 define <4 x i32> @f4(<4 x i32> %val1, <4 x i32> %val2) { [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/SystemZ/ |
D | vec-move-01.ll | 6 define <16 x i8> @f1(<16 x i8> %val1, <16 x i8> %val2) { 10 ret <16 x i8> %val2 14 define <8 x i16> @f2(<8 x i16> %val1, <8 x i16> %val2) { 18 ret <8 x i16> %val2 22 define <4 x i32> @f3(<4 x i32> %val1, <4 x i32> %val2) { 26 ret <4 x i32> %val2 30 define <2 x i64> @f4(<2 x i64> %val1, <2 x i64> %val2) { 34 ret <2 x i64> %val2 38 define <4 x float> @f5(<4 x float> %val1, <4 x float> %val2) { 42 ret <4 x float> %val2 [all …]
|
D | vec-min-02.ll | 6 define <8 x i16> @f1(<8 x i16> %val1, <8 x i16> %val2) { 10 %cmp = icmp slt <8 x i16> %val2, %val1 11 %ret = select <8 x i1> %cmp, <8 x i16> %val2, <8 x i16> %val1 16 define <8 x i16> @f2(<8 x i16> %val1, <8 x i16> %val2) { 20 %cmp = icmp sle <8 x i16> %val2, %val1 21 %ret = select <8 x i1> %cmp, <8 x i16> %val2, <8 x i16> %val1 26 define <8 x i16> @f3(<8 x i16> %val1, <8 x i16> %val2) { 30 %cmp = icmp sgt <8 x i16> %val2, %val1 31 %ret = select <8 x i1> %cmp, <8 x i16> %val1, <8 x i16> %val2 36 define <8 x i16> @f4(<8 x i16> %val1, <8 x i16> %val2) { [all …]
|
D | vec-min-03.ll | 6 define <4 x i32> @f1(<4 x i32> %val1, <4 x i32> %val2) { 10 %cmp = icmp slt <4 x i32> %val2, %val1 11 %ret = select <4 x i1> %cmp, <4 x i32> %val2, <4 x i32> %val1 16 define <4 x i32> @f2(<4 x i32> %val1, <4 x i32> %val2) { 20 %cmp = icmp sle <4 x i32> %val2, %val1 21 %ret = select <4 x i1> %cmp, <4 x i32> %val2, <4 x i32> %val1 26 define <4 x i32> @f3(<4 x i32> %val1, <4 x i32> %val2) { 30 %cmp = icmp sgt <4 x i32> %val2, %val1 31 %ret = select <4 x i1> %cmp, <4 x i32> %val1, <4 x i32> %val2 36 define <4 x i32> @f4(<4 x i32> %val1, <4 x i32> %val2) { [all …]
|
D | vec-max-01.ll | 6 define <16 x i8> @f1(<16 x i8> %val1, <16 x i8> %val2) { 10 %cmp = icmp slt <16 x i8> %val1, %val2 11 %ret = select <16 x i1> %cmp, <16 x i8> %val2, <16 x i8> %val1 16 define <16 x i8> @f2(<16 x i8> %val1, <16 x i8> %val2) { 20 %cmp = icmp sle <16 x i8> %val1, %val2 21 %ret = select <16 x i1> %cmp, <16 x i8> %val2, <16 x i8> %val1 26 define <16 x i8> @f3(<16 x i8> %val1, <16 x i8> %val2) { 30 %cmp = icmp sgt <16 x i8> %val1, %val2 31 %ret = select <16 x i1> %cmp, <16 x i8> %val1, <16 x i8> %val2 36 define <16 x i8> @f4(<16 x i8> %val1, <16 x i8> %val2) { [all …]
|
D | vec-max-04.ll | 6 define <2 x i64> @f1(<2 x i64> %val1, <2 x i64> %val2) { 10 %cmp = icmp slt <2 x i64> %val1, %val2 11 %ret = select <2 x i1> %cmp, <2 x i64> %val2, <2 x i64> %val1 16 define <2 x i64> @f2(<2 x i64> %val1, <2 x i64> %val2) { 20 %cmp = icmp sle <2 x i64> %val1, %val2 21 %ret = select <2 x i1> %cmp, <2 x i64> %val2, <2 x i64> %val1 26 define <2 x i64> @f3(<2 x i64> %val1, <2 x i64> %val2) { 30 %cmp = icmp sgt <2 x i64> %val1, %val2 31 %ret = select <2 x i1> %cmp, <2 x i64> %val1, <2 x i64> %val2 36 define <2 x i64> @f4(<2 x i64> %val1, <2 x i64> %val2) { [all …]
|
D | vec-max-02.ll | 6 define <8 x i16> @f1(<8 x i16> %val1, <8 x i16> %val2) { 10 %cmp = icmp slt <8 x i16> %val1, %val2 11 %ret = select <8 x i1> %cmp, <8 x i16> %val2, <8 x i16> %val1 16 define <8 x i16> @f2(<8 x i16> %val1, <8 x i16> %val2) { 20 %cmp = icmp sle <8 x i16> %val1, %val2 21 %ret = select <8 x i1> %cmp, <8 x i16> %val2, <8 x i16> %val1 26 define <8 x i16> @f3(<8 x i16> %val1, <8 x i16> %val2) { 30 %cmp = icmp sgt <8 x i16> %val1, %val2 31 %ret = select <8 x i1> %cmp, <8 x i16> %val1, <8 x i16> %val2 36 define <8 x i16> @f4(<8 x i16> %val1, <8 x i16> %val2) { [all …]
|
D | vec-min-04.ll | 6 define <2 x i64> @f1(<2 x i64> %val1, <2 x i64> %val2) { 10 %cmp = icmp slt <2 x i64> %val2, %val1 11 %ret = select <2 x i1> %cmp, <2 x i64> %val2, <2 x i64> %val1 16 define <2 x i64> @f2(<2 x i64> %val1, <2 x i64> %val2) { 20 %cmp = icmp sle <2 x i64> %val2, %val1 21 %ret = select <2 x i1> %cmp, <2 x i64> %val2, <2 x i64> %val1 26 define <2 x i64> @f3(<2 x i64> %val1, <2 x i64> %val2) { 30 %cmp = icmp sgt <2 x i64> %val2, %val1 31 %ret = select <2 x i1> %cmp, <2 x i64> %val1, <2 x i64> %val2 36 define <2 x i64> @f4(<2 x i64> %val1, <2 x i64> %val2) { [all …]
|
D | vec-max-03.ll | 6 define <4 x i32> @f1(<4 x i32> %val1, <4 x i32> %val2) { 10 %cmp = icmp slt <4 x i32> %val1, %val2 11 %ret = select <4 x i1> %cmp, <4 x i32> %val2, <4 x i32> %val1 16 define <4 x i32> @f2(<4 x i32> %val1, <4 x i32> %val2) { 20 %cmp = icmp sle <4 x i32> %val1, %val2 21 %ret = select <4 x i1> %cmp, <4 x i32> %val2, <4 x i32> %val1 26 define <4 x i32> @f3(<4 x i32> %val1, <4 x i32> %val2) { 30 %cmp = icmp sgt <4 x i32> %val1, %val2 31 %ret = select <4 x i1> %cmp, <4 x i32> %val1, <4 x i32> %val2 36 define <4 x i32> @f4(<4 x i32> %val1, <4 x i32> %val2) { [all …]
|
D | vec-min-01.ll | 6 define <16 x i8> @f1(<16 x i8> %val1, <16 x i8> %val2) { 10 %cmp = icmp slt <16 x i8> %val2, %val1 11 %ret = select <16 x i1> %cmp, <16 x i8> %val2, <16 x i8> %val1 16 define <16 x i8> @f2(<16 x i8> %val1, <16 x i8> %val2) { 20 %cmp = icmp sle <16 x i8> %val2, %val1 21 %ret = select <16 x i1> %cmp, <16 x i8> %val2, <16 x i8> %val1 26 define <16 x i8> @f3(<16 x i8> %val1, <16 x i8> %val2) { 30 %cmp = icmp sgt <16 x i8> %val2, %val1 31 %ret = select <16 x i1> %cmp, <16 x i8> %val1, <16 x i8> %val2 36 define <16 x i8> @f4(<16 x i8> %val1, <16 x i8> %val2) { [all …]
|