Home
last modified time | relevance | path

Searched refs:v2i8 (Results 1 – 25 of 172) sorted by relevance

1234567

/external/llvm-project/llvm/test/Transforms/InstSimplify/ConstProp/
Dsaturating-add-sub.ll6 declare <2 x i8> @llvm.uadd.sat.v2i8(<2 x i8>, <2 x i8>)
7 declare <2 x i8> @llvm.sadd.sat.v2i8(<2 x i8>, <2 x i8>)
11 declare <2 x i8> @llvm.usub.sat.v2i8(<2 x i8>, <2 x i8>)
12 declare <2 x i8> @llvm.ssub.sat.v2i8(<2 x i8>, <2 x i8>)
58 %x = call <2 x i8> @llvm.uadd.sat.v2i8(<2 x i8> <i8 10, i8 15>, <2 x i8> <i8 10, i8 15>)
66 %x = call <2 x i8> @llvm.uadd.sat.v2i8(<2 x i8> <i8 100, i8 200>, <2 x i8> <i8 250, i8 100>)
74 %x = call <2 x i8> @llvm.sadd.sat.v2i8(<2 x i8> <i8 10, i8 -15>, <2 x i8> <i8 -20, i8 -15>)
82 %x = call <2 x i8> @llvm.sadd.sat.v2i8(<2 x i8> <i8 100, i8 10>, <2 x i8> <i8 30, i8 120>)
90 %x = call <2 x i8> @llvm.sadd.sat.v2i8(<2 x i8> <i8 -100, i8 -10>, <2 x i8> <i8 -30, i8 -120>)
138 %x = call <2 x i8> @llvm.usub.sat.v2i8(<2 x i8> <i8 20, i8 15>, <2 x i8> <i8 10, i8 10>)
[all …]
/external/llvm-project/llvm/test/Transforms/InstSimplify/
Dsaturating-add-sub.ll8 declare <2 x i8> @llvm.uadd.sat.v2i8(<2 x i8>, <2 x i8>)
12 declare <2 x i8> @llvm.sadd.sat.v2i8(<2 x i8>, <2 x i8>)
16 declare <2 x i8> @llvm.usub.sat.v2i8(<2 x i8>, <2 x i8>)
17 declare <2 x i8> @llvm.ssub.sat.v2i8(<2 x i8>, <2 x i8>)
31 %x1v = call <2 x i8> @llvm.uadd.sat.v2i8(<2 x i8> %a, <2 x i8> zeroinitializer)
47 %x2v = call <2 x i8> @llvm.uadd.sat.v2i8(<2 x i8> <i8 0, i8 undef>, <2 x i8> %a)
79 %x4v = call <2 x i8> @llvm.uadd.sat.v2i8(<2 x i8> <i8 255, i8 255>, <2 x i8> %a)
103 %x5v = call <2 x i8> @llvm.uadd.sat.v2i8(<2 x i8> %a, <2 x i8> <i8 undef, i8 undef>)
111 %x5v = call <2 x i8> @llvm.uadd.sat.v2i8(<2 x i8> %a, <2 x i8> <i8 poison, i8 poison>)
135 %x5v = call <2 x i8> @llvm.uadd.sat.v2i8(<2 x i8> undef, <2 x i8> %a)
[all …]
Dshift-knownbits.ll153 declare <2 x i8> @llvm.cttz.v2i8(<2 x i8>, i1) nounwind readnone
154 declare <2 x i8> @llvm.ctlz.v2i8(<2 x i8>, i1) nounwind readnone
180 ; CHECK-NEXT: [[CT:%.*]] = call <2 x i8> @llvm.ctlz.v2i8(<2 x i8> [[X:%.*]], i1 true)
184 %ct = call <2 x i8> @llvm.ctlz.v2i8(<2 x i8> %x, i1 true)
191 ; CHECK-NEXT: [[CT:%.*]] = call <2 x i8> @llvm.ctlz.v2i8(<2 x i8> [[X:%.*]], i1 true)
196 %ct = call <2 x i8> @llvm.ctlz.v2i8(<2 x i8> %x, i1 true)
204 ; CHECK-NEXT: [[CT:%.*]] = call <2 x i8> @llvm.cttz.v2i8(<2 x i8> [[X:%.*]], i1 true)
208 %ct = call <2 x i8> @llvm.cttz.v2i8(<2 x i8> %x, i1 true)
215 ; CHECK-NEXT: [[CT:%.*]] = call <2 x i8> @llvm.cttz.v2i8(<2 x i8> [[X:%.*]], i1 true)
220 %ct = call <2 x i8> @llvm.cttz.v2i8(<2 x i8> %x, i1 true)
Dmaxmin_intrinsics.ll8 declare <2 x i8> @llvm.smax.v2i8(<2 x i8>, <2 x i8>)
11 declare <2 x i8> @llvm.smin.v2i8(<2 x i8>, <2 x i8>)
13 declare <2 x i8> @llvm.umax.v2i8(<2 x i8>, <2 x i8>)
15 declare <2 x i8> @llvm.umin.v2i8(<2 x i8>, <2 x i8>)
38 %r = call <2 x i8> @llvm.umax.v2i8(<2 x i8> %x, <2 x i8> %x)
46 %r = call <2 x i8> @llvm.umin.v2i8(<2 x i8> %x, <2 x i8> %x)
86 %r = call <2 x i8> @llvm.umax.v2i8(<2 x i8> undef, <2 x i8> %x)
94 %r = call <2 x i8> @llvm.umax.v2i8(<2 x i8> poison, <2 x i8> %x)
102 %r = call <2 x i8> @llvm.umin.v2i8(<2 x i8> %x, <2 x i8> undef)
110 %r = call <2 x i8> @llvm.umin.v2i8(<2 x i8> %x, <2 x i8> poison)
[all …]
/external/clang/test/CodeGen/
Dsystemz-abi-vector.c12 typedef __attribute__((vector_size(2))) char v2i8; typedef
46 v2i8 pass_v2i8(v2i8 arg) { return arg; } in pass_v2i8()
138 struct agg_v2i8 { v2i8 a; };
221 v2i8 va_v2i8(__builtin_va_list l) { return __builtin_va_arg(l, v2i8); } in va_v2i8()
/external/llvm-project/clang/test/CodeGen/SystemZ/
Dsystemz-abi-vector.c22 typedef __attribute__((vector_size(2))) char v2i8; typedef
56 v2i8 pass_v2i8(v2i8 arg) { return arg; } in pass_v2i8()
148 struct agg_v2i8 { v2i8 a; };
231 v2i8 va_v2i8(__builtin_va_list l) { return __builtin_va_arg(l, v2i8); } in va_v2i8()
/external/llvm-project/llvm/test/Transforms/InstCombine/
Dsaturating-add-sub.ll10 declare <2 x i8> @llvm.uadd.sat.v2i8(<2 x i8>, <2 x i8>)
11 declare <2 x i8> @llvm.sadd.sat.v2i8(<2 x i8>, <2 x i8>)
25 ; CHECK-NEXT: [[X:%.*]] = call <2 x i8> @llvm.uadd.sat.v2i8(<2 x i8> [[A:%.*]], <2 x i8> <i8 10,…
28 %x = call <2 x i8> @llvm.uadd.sat.v2i8(<2 x i8> <i8 10, i8 20>, <2 x i8> %a)
44 ; CHECK-NEXT: [[X:%.*]] = call <2 x i8> @llvm.sadd.sat.v2i8(<2 x i8> [[A:%.*]], <2 x i8> <i8 10,…
47 %x = call <2 x i8> @llvm.sadd.sat.v2i8(<2 x i8> <i8 10, i8 -20>, <2 x i8> %a)
64 ; CHECK-NEXT: [[TMP1:%.*]] = call <2 x i8> @llvm.uadd.sat.v2i8(<2 x i8> [[A:%.*]], <2 x i8> <i8 …
67 %x1 = call <2 x i8> @llvm.uadd.sat.v2i8(<2 x i8> %a, <2 x i8> <i8 10, i8 10>)
68 %x2 = call <2 x i8> @llvm.uadd.sat.v2i8(<2 x i8> %x1, <2 x i8> <i8 20, i8 20>)
75 ; CHECK-NEXT: [[X1:%.*]] = call <2 x i8> @llvm.uadd.sat.v2i8(<2 x i8> [[A:%.*]], <2 x i8> <i8 10…
[all …]
Dlshr.ll9 declare <2 x i8> @llvm.cttz.v2i8(<2 x i8>, i1) nounwind readnone
10 declare <2 x i8> @llvm.ctlz.v2i8(<2 x i8>, i1) nounwind readnone
11 declare <2 x i8> @llvm.ctpop.v2i8(<2 x i8>) nounwind readnone
52 %ct = call <2 x i8> @llvm.ctlz.v2i8(<2 x i8> %x, i1 false)
63 %ct = call <2 x i8> @llvm.cttz.v2i8(<2 x i8> %x, i1 false)
74 %ct = call <2 x i8> @llvm.ctpop.v2i8(<2 x i8> %x)
101 %ct = call <2 x i8> @llvm.ctlz.v2i8(<2 x i8> %x, i1 true)
110 %ct = call <2 x i8> @llvm.ctlz.v2i8(<2 x i8> %x, i1 true)
120 %ct = call <2 x i8> @llvm.cttz.v2i8(<2 x i8> %x, i1 true)
129 %ct = call <2 x i8> @llvm.cttz.v2i8(<2 x i8> %x, i1 true)
Duadd-with-overflow.ll6 declare { <2 x i8>, <2 x i1> } @llvm.uadd.with.overflow.v2i8(<2 x i8>, <2 x i8>)
45 ; CHECK-NEXT: [[B:%.*]] = tail call { <2 x i8>, <2 x i1> } @llvm.uadd.with.overflow.v2i8(<2 x i8…
49 …%b = tail call { <2 x i8>, <2 x i1> } @llvm.uadd.with.overflow.v2i8(<2 x i8> %a, <2 x i8> <i8 55, …
56 ; CHECK-NEXT: [[B:%.*]] = tail call { <2 x i8>, <2 x i1> } @llvm.uadd.with.overflow.v2i8(<2 x i8…
60 …%b = tail call { <2 x i8>, <2 x i1> } @llvm.uadd.with.overflow.v2i8(<2 x i8> %a, <2 x i8> <i8 55, …
Dispow2.ll42 ; CHECK-NEXT: [[TMP1:%.*]] = call <2 x i8> @llvm.ctpop.v2i8(<2 x i8> [[X:%.*]])
90 ; CHECK-NEXT: [[TMP1:%.*]] = call <2 x i8> @llvm.ctpop.v2i8(<2 x i8> [[X:%.*]])
177 declare <2 x i8> @llvm.ctpop.v2i8(<2 x i8>)
220 ; CHECK-NEXT: [[T0:%.*]] = tail call <2 x i8> @llvm.ctpop.v2i8(<2 x i8> [[X:%.*]])
224 %t0 = tail call <2 x i8> @llvm.ctpop.v2i8(<2 x i8> %x)
339 ; CHECK-NEXT: [[T0:%.*]] = tail call <2 x i8> @llvm.ctpop.v2i8(<2 x i8> [[X:%.*]])
343 %t0 = tail call <2 x i8> @llvm.ctpop.v2i8(<2 x i8> %x)
462 ; CHECK-NEXT: [[TMP1:%.*]] = call <2 x i8> @llvm.ctpop.v2i8(<2 x i8> [[X:%.*]])
518 ; CHECK-NEXT: [[TMP1:%.*]] = call <2 x i8> @llvm.ctpop.v2i8(<2 x i8> [[X:%.*]])
/external/llvm-project/clang/test/Sema/
Dvector-gcc-compat.cpp10 typedef char v2i8 __attribute__((vector_size(2))); typedef
36 void intTestConstant(v2i64 v2i64_a, v2i32 v2i32_a, v2i16 v2i16_a, v2i8 v2i8_a);
188 v2i8 v2i8_a = {1, 2}; in intTestType()
216 v2i8 v2i8_a = {1, 2}; in intTestTypeUnsigned()
307 void intTestConstant(v2i64 v2i64_a, v2i32 v2i32_a, v2i16 v2i16_a, v2i8 v2i8_a) { in intTestConstant()
Dvector-gcc-compat.c8 typedef char v2i8 __attribute__((vector_size(2))); typedef
34 void intTestConstant(v2i64 v2i64_a, v2i32 v2i32_a, v2i16 v2i16_a, v2i8 v2i8_a);
190 v2i8 v2i8_a = {1, 2}; in intTestType()
218 v2i8 v2i8_a = {1, 2}; in intTestTypeUnsigned()
309 void intTestConstant(v2i64 v2i64_a, v2i32 v2i32_a, v2i16 v2i16_a, v2i8 v2i8_a) { in intTestConstant()
/external/llvm-project/llvm/test/Verifier/
Dbswap.ll5 declare <2 x i8> @llvm.bswap.v2i8(<2 x i8>)
22 ; CHECK-NEXT: %res = call <2 x i8> @llvm.bswap.v2i8(<2 x i8> %arg)
23 %res = call <2 x i8> @llvm.bswap.v2i8(<2 x i8> %arg)
/external/llvm/test/CodeGen/Hexagon/vect/
Dvect-load-1.ll2 …16f76e0<LD2[undef](align=8), sext from v2i8>", 0x16c5890, 0x16f76e0, 0x16f76e0<LD2[undef](align=8)…
/external/llvm-project/llvm/test/CodeGen/ARM/
D2012-08-23-legalize-vmull.ll26 ; v2i8
70 ; v2i8
120 ; v2i8
121 ; v2i8 x v2i16
/external/llvm/test/CodeGen/ARM/
D2012-08-23-legalize-vmull.ll26 ; v2i8
70 ; v2i8
120 ; v2i8
121 ; v2i8 x v2i16
/external/llvm/include/llvm/CodeGen/
DMachineValueType.h69 v2i8 = 22, // 2 x i8 enumerator
228 return (SimpleTy == MVT::v2i8 || SimpleTy == MVT::v1i16 || in is16BitVector()
326 case v2i8: in getVectorElementType()
412 case v2i8: in getVectorNumElements()
457 case v2i8: in getSizeInBits()
604 if (NumElements == 2) return MVT::v2i8; in getVectorVT()
/external/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp223 { ISD::SINT_TO_FP, MVT::v2f32, MVT::v2i8, 3 }, in getCastInstrCost()
226 { ISD::UINT_TO_FP, MVT::v2f32, MVT::v2i8, 3 }, in getCastInstrCost()
247 { ISD::SINT_TO_FP, MVT::v2f64, MVT::v2i8, 4 }, in getCastInstrCost()
250 { ISD::UINT_TO_FP, MVT::v2f64, MVT::v2i8, 4 }, in getCastInstrCost()
266 { ISD::FP_TO_SINT, MVT::v2i8, MVT::v2f32, 1 }, in getCastInstrCost()
269 { ISD::FP_TO_UINT, MVT::v2i8, MVT::v2f32, 1 }, in getCastInstrCost()
280 { ISD::FP_TO_SINT, MVT::v2i8, MVT::v2f64, 2 }, in getCastInstrCost()
283 { ISD::FP_TO_UINT, MVT::v2i8, MVT::v2f64, 2 }, in getCastInstrCost()
/external/llvm-project/llvm/test/Transforms/SCCP/
Dintrinsics.ll5 declare <2 x i8> @llvm.abs.v2i8(<2 x i8>, i1)
52 ; CHECK-NEXT: [[ABS:%.*]] = call <2 x i8> @llvm.abs.v2i8(<2 x i8> [[X:%.*]], i1 true)
57 %abs = call <2 x i8> @llvm.abs.v2i8(<2 x i8> %x, i1 true)
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp334 { ISD::SINT_TO_FP, MVT::v2f32, MVT::v2i8, 3 }, in getCastInstrCost()
337 { ISD::UINT_TO_FP, MVT::v2f32, MVT::v2i8, 3 }, in getCastInstrCost()
358 { ISD::SINT_TO_FP, MVT::v2f64, MVT::v2i8, 4 }, in getCastInstrCost()
361 { ISD::UINT_TO_FP, MVT::v2f64, MVT::v2i8, 4 }, in getCastInstrCost()
377 { ISD::FP_TO_SINT, MVT::v2i8, MVT::v2f32, 1 }, in getCastInstrCost()
380 { ISD::FP_TO_UINT, MVT::v2i8, MVT::v2f32, 1 }, in getCastInstrCost()
391 { ISD::FP_TO_SINT, MVT::v2i8, MVT::v2f64, 2 }, in getCastInstrCost()
394 { ISD::FP_TO_UINT, MVT::v2i8, MVT::v2f64, 2 }, in getCastInstrCost()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DMachineValueType.h73 v2i8 = 26, // 2 x i8 enumerator
329 return (SimpleTy == MVT::v2i8 || SimpleTy == MVT::v1i16 || in is16BitVector()
446 case v2i8: in getVectorElementType()
637 case v2i8: in getVectorNumElements()
713 case v2i8: in getSizeInBits()
937 if (NumElements == 2) return MVT::v2i8; in getVectorVT()
/external/llvm/test/CodeGen/SystemZ/
Dvec-const-01.ll57 ; Test an all-zeros v2i8 that gets promoted to v16i8.
65 ; Test a mixed v2i8 that gets promoted to v16i8 (mask 0x8000).
/external/llvm-project/llvm/test/CodeGen/SystemZ/
Dvec-const-01.ll57 ; Test an all-zeros v2i8 that gets promoted to v16i8.
65 ; Test a mixed v2i8 that gets promoted to v16i8 (mask 0x8000).
/external/llvm-project/llvm/test/Analysis/CostModel/ARM/
Dreduce-add.ll50 … an estimated cost of 4 for instruction: %V2 = call i8 @llvm.vector.reduce.add.v2i8(<2 x i8> undef)
60 …an estimated cost of 16 for instruction: %V2 = call i8 @llvm.vector.reduce.add.v2i8(<2 x i8> undef)
70 … an estimated cost of 4 for instruction: %V2 = call i8 @llvm.vector.reduce.add.v2i8(<2 x i8> undef)
80 …an estimated cost of 16 for instruction: %V2 = call i8 @llvm.vector.reduce.add.v2i8(<2 x i8> undef)
89 %V2 = call i8 @llvm.vector.reduce.add.v2i8(<2 x i8> undef)
118 declare i8 @llvm.vector.reduce.add.v2i8(<2 x i8>)
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp383 { ISD::SINT_TO_FP, MVT::v2f32, MVT::v2i8, 3 }, in getCastInstrCost()
386 { ISD::UINT_TO_FP, MVT::v2f32, MVT::v2i8, 3 }, in getCastInstrCost()
407 { ISD::SINT_TO_FP, MVT::v2f64, MVT::v2i8, 4 }, in getCastInstrCost()
410 { ISD::UINT_TO_FP, MVT::v2f64, MVT::v2i8, 4 }, in getCastInstrCost()
426 { ISD::FP_TO_SINT, MVT::v2i8, MVT::v2f32, 1 }, in getCastInstrCost()
429 { ISD::FP_TO_UINT, MVT::v2i8, MVT::v2f32, 1 }, in getCastInstrCost()
440 { ISD::FP_TO_SINT, MVT::v2i8, MVT::v2f64, 2 }, in getCastInstrCost()
443 { ISD::FP_TO_UINT, MVT::v2i8, MVT::v2f64, 2 }, in getCastInstrCost()

1234567