/external/llvm-project/clang/test/CodeGen/ |
D | builtins-mips.c | 13 typedef short v2i16 __attribute__ ((vector_size(4))); typedef 18 v2i16 v2i16_r, v2i16_a, v2i16_b, v2i16_c; in foo() 353 v2i16_a = (v2i16) {0xffff, 0x2468}; in foo() 354 v2i16_b = (v2i16) {0x1234, 0x1111}; in foo() 357 v2i16_a = (v2i16) {0xffff, 0x2468}; in foo() 358 v2i16_b = (v2i16) {0x1234, 0x1111}; in foo() 393 v2i16_b = (v2i16) {0xffff, 0x1555}; in foo() 394 v2i16_c = (v2i16) {0x1234, 0x3322}; in foo() 398 v2i16_b = (v2i16) {0xffff, 0x1555}; in foo() 399 v2i16_c = (v2i16) {0x1234, 0x3322}; in foo() [all …]
|
D | ppc64-vector.c | 3 typedef short v2i16 __attribute__((vector_size (4))); typedef 13 v2i16 test_v2i16(v2i16 x) in test_v2i16()
|
/external/clang/test/CodeGen/ |
D | builtins-mips.c | 12 typedef short v2i16 __attribute__ ((vector_size(4))); typedef 17 v2i16 v2i16_r, v2i16_a, v2i16_b, v2i16_c; in foo() 352 v2i16_a = (v2i16) {0xffff, 0x2468}; in foo() 353 v2i16_b = (v2i16) {0x1234, 0x1111}; in foo() 356 v2i16_a = (v2i16) {0xffff, 0x2468}; in foo() 357 v2i16_b = (v2i16) {0x1234, 0x1111}; in foo() 392 v2i16_b = (v2i16) {0xffff, 0x1555}; in foo() 393 v2i16_c = (v2i16) {0x1234, 0x3322}; in foo() 397 v2i16_b = (v2i16) {0xffff, 0x1555}; in foo() 398 v2i16_c = (v2i16) {0x1234, 0x3322}; in foo() [all …]
|
D | ppc64-vector.c | 3 typedef short v2i16 __attribute__((vector_size (4))); typedef 13 v2i16 test_v2i16(v2i16 x) in test_v2i16()
|
D | systemz-abi-vector.c | 16 typedef __attribute__((vector_size(4))) short v2i16; typedef 70 v2i16 pass_v2i16(v2i16 arg) { return arg; } in pass_v2i16()
|
/external/llvm-project/llvm/test/CodeGen/AMDGPU/ |
D | llvm.amdgcn.exp.compr.ll | 6 declare void @llvm.amdgcn.exp.compr.v2i16(i32, i32, <2 x i16>, <2 x i16>, i1, i1) #0 98 …call void @llvm.amdgcn.exp.compr.v2i16(i32 0, i32 0, <2 x i16> zeroinitializer, <2 x i16> zeroinit… 99 …call void @llvm.amdgcn.exp.compr.v2i16(i32 0, i32 0, <2 x i16> zeroinitializer, <2 x i16> zeroinit… 108 …call void @llvm.amdgcn.exp.compr.v2i16(i32 0, i32 1, <2 x i16> <i16 1, i16 2>, <2 x i16> <i16 5, i… 117 …call void @llvm.amdgcn.exp.compr.v2i16(i32 0, i32 12, <2 x i16> <i16 1, i16 2>, <2 x i16> <i16 5, … 126 …call void @llvm.amdgcn.exp.compr.v2i16(i32 0, i32 15, <2 x i16> <i16 1, i16 2>, <2 x i16> <i16 5, … 135 …call void @llvm.amdgcn.exp.compr.v2i16(i32 7, i32 15, <2 x i16> <i16 5, i16 5>, <2 x i16> <i16 5, … 136 …call void @llvm.amdgcn.exp.compr.v2i16(i32 7, i32 15, <2 x i16> <i16 5, i16 5>, <2 x i16> <i16 5, … 146 …call void @llvm.amdgcn.exp.compr.v2i16(i32 8, i32 15, <2 x i16> <i16 1, i16 2>, <2 x i16> <i16 5, … 147 …call void @llvm.amdgcn.exp.compr.v2i16(i32 8, i32 15, <2 x i16> <i16 1, i16 2>, <2 x i16> <i16 5, … [all …]
|
/external/llvm-project/llvm/test/Transforms/InstSimplify/ |
D | bswap.ll | 5 declare <2 x i16> @llvm.bswap.v2i16(<2 x i16>) 22 %b = call <2 x i16> @llvm.bswap.v2i16(<2 x i16> %a) 43 %b = call <2 x i16> @llvm.bswap.v2i16(<2 x i16> %a) 65 %b = call <2 x i16> @llvm.bswap.v2i16(<2 x i16> %a) 88 %b = call <2 x i16> @llvm.bswap.v2i16(<2 x i16> %a)
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPUCallingConv.td | 23 CCIfInReg<CCIfType<[f32, i32, f16, i16, v2i16, v2f16] , CCAssignToReg<[ 30 CCIfNotInReg<CCIfType<[f32, i32, f16, i16, v2i16, v2f16] , CCAssignToReg<[ 37 CCIfType<[i32, f32, v2i16, v2f16, i16, f16, i1], CCAssignToStack<4, 4>>, 49 CCIfInReg<CCIfType<[f32, i32, f16, i16, v2i16, v2f16] , CCAssignToReg<[ 58 CCIfNotInReg<CCIfType<[f32, i32, f16, i16, v2i16, v2f16] , CCAssignToReg<[ 78 CCIfType<[i32, f32, v2i16, v2f16, i16, f16, i1], CCAssignToStack<4, 4>>, 89 CCIfInReg<CCIfType<[f32, i32, f16, i16, v2i16, v2f16] , CCAssignToReg<[ 99 CCIfNotInReg<CCIfType<[f32, i32, f16, i16, v2i16, v2f16] , CCAssignToReg<[ 203 CCIfType<[i32, f32, i16, f16, v2i16, v2f16, i1], CCAssignToReg<[ 208 CCIfType<[i32, f32, v2i16, v2f16, i16, f16, i1], CCAssignToStack<4, 4>>, [all …]
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonInstrInfoVector.td | 18 def V2I16: PatLeaf<(v2i16 IntRegs:$R)>; 40 defm : bitconvert_32<v2i16, i32>; 69 def : Pat<(v2i16 (add (v2i16 IntRegs:$src1), (v2i16 IntRegs:$src2))), 72 def : Pat<(v2i16 (sub (v2i16 IntRegs:$src1), (v2i16 IntRegs:$src2))), 268 def: Pat<(v2i16 (select I1:$Pu, V2I16:$Rs, V2I16:$Rt)), 339 def: Pat<(v2i16 (trunc V2I32:$Rs)), 360 // Sign extends a v2i16 into a v2i32. 361 def: Pat<(v2i32 (sext_inreg V2I32:$Rs, v2i16)), 365 // Multiplies two v2i16 and returns a v2i32. We are using here the 370 // Multiplies two v2i16 vectors: as Hexagon does not have a multiply [all …]
|
/external/llvm-project/llvm/test/CodeGen/ARM/ |
D | 2012-08-23-legalize-vmull.ll | 39 ; v2i16 86 ; v2i16 121 ; v2i8 x v2i16 136 ; v2i16 137 ; v2i16 x v2i32
|
/external/llvm/test/CodeGen/ARM/ |
D | 2012-08-23-legalize-vmull.ll | 39 ; v2i16 86 ; v2i16 121 ; v2i8 x v2i16 136 ; v2i16 137 ; v2i16 x v2i32
|
/external/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/Mips/ |
D | MipsGenDAGISel.inc | 542 /* 884*/ OPC_CheckChild1Type, MVT::v2i16, 554 …// Src: (st DSPR:{ *:[v2i16] }:$val, addr:{ *:[iPTR] }:$a)<<P:Predicate_unindexedstore>><<P:Predic… 555 …// Dst: (SW (COPY_TO_REGCLASS:{ *:[i32] } DSPR:{ *:[v2i16] }:$val, GPR32:{ *:[i32] }), addr:{ *:[i… 1327 /* 2361*/ /*SwitchType*/ 25, MVT::v2i16,// ->2388 1335 MVT::v2i16, 2/*#Ops*/, 4, 5, 1336 …// Src: (ld:{ *:[v2i16] } addr:{ *:[iPTR] }:$a)<<P:Predicate_unindexedload>><<P:Predicate_load>> -… 1337 … // Dst: (COPY_TO_REGCLASS:{ *:[v2i16] } (LW:{ *:[i32] } addr:{ *:[iPTR] }:$a), DSPR:{ *:[i32] }) 7102 …rinsic_w_chain:{ *:[i32] } 4108:{ *:[iPTR] }, DSPROpnd:{ *:[v2i16] }:$rs, DSPROpnd:{ *:[v2i16] }:$… 7103 … // Dst: (MULEQ_S_W_PHL:{ *:[i32] } DSPROpnd:{ *:[v2i16] }:$rs, DSPROpnd:{ *:[v2i16] }:$rt) 7109 …rinsic_w_chain:{ *:[i32] } 4108:{ *:[iPTR] }, DSPROpnd:{ *:[v2i16] }:$rs, DSPROpnd:{ *:[v2i16] }:$… [all …]
|
/external/llvm/test/CodeGen/PowerPC/ |
D | bitreverse.ll | 6 declare <2 x i16> @llvm.bitreverse.v2i16(<2 x i16>) readnone 11 %b = call <2 x i16> @llvm.bitreverse.v2i16(<2 x i16> %a)
|
/external/llvm-project/clang/test/Sema/ |
D | vector-gcc-compat.cpp | 9 typedef short v2i16 __attribute__((vector_size(4))); typedef 36 void intTestConstant(v2i64 v2i64_a, v2i32 v2i32_a, v2i16 v2i16_a, v2i8 v2i8_a); 187 v2i16 v2i16_a = {1, 2}; in intTestType() 215 v2i16 v2i16_a = {1, 2}; in intTestTypeUnsigned() 307 void intTestConstant(v2i64 v2i64_a, v2i32 v2i32_a, v2i16 v2i16_a, v2i8 v2i8_a) { in intTestConstant()
|
D | vector-gcc-compat.c | 7 typedef short v2i16 __attribute__((vector_size(4))); typedef 34 void intTestConstant(v2i64 v2i64_a, v2i32 v2i32_a, v2i16 v2i16_a, v2i8 v2i8_a); 189 v2i16 v2i16_a = {1, 2}; in intTestType() 217 v2i16 v2i16_a = {1, 2}; in intTestTypeUnsigned() 309 void intTestConstant(v2i64 v2i64_a, v2i32 v2i32_a, v2i16 v2i16_a, v2i8 v2i8_a) { in intTestConstant()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsDSPInstrInfo.td | 1340 def : BitconvertPat<i32, v2i16, GPR32, DSPR>; 1342 def : BitconvertPat<v2i16, i32, DSPR, GPR32>; 1344 def : BitconvertPat<f32, v2i16, FGR32, DSPR>; 1346 def : BitconvertPat<v2i16, f32, DSPR, FGR32>; 1349 def : DSPPat<(v2i16 (load addr:$a)), 1350 (v2i16 (COPY_TO_REGCLASS (LW addr:$a), DSPR))>; 1353 def : DSPPat<(store (v2i16 DSPR:$val), addr:$a), 1363 def : DSPBinPat<ADDQ_PH, v2i16, int_mips_addq_ph>; 1364 def : DSPBinPat<ADDQ_PH, v2i16, add>; 1365 def : DSPBinPat<SUBQ_PH, v2i16, int_mips_subq_ph>; [all …]
|
/external/llvm-project/llvm/lib/Target/Mips/ |
D | MipsDSPInstrInfo.td | 1340 def : BitconvertPat<i32, v2i16, GPR32, DSPR>; 1342 def : BitconvertPat<v2i16, i32, DSPR, GPR32>; 1344 def : BitconvertPat<f32, v2i16, FGR32, DSPR>; 1346 def : BitconvertPat<v2i16, f32, DSPR, FGR32>; 1349 def : DSPPat<(v2i16 (load addr:$a)), 1350 (v2i16 (COPY_TO_REGCLASS (LW addr:$a), DSPR))>; 1353 def : DSPPat<(store (v2i16 DSPR:$val), addr:$a), 1363 def : DSPBinPat<ADDQ_PH, v2i16, int_mips_addq_ph>; 1364 def : DSPBinPat<ADDQ_PH, v2i16, add>; 1365 def : DSPBinPat<SUBQ_PH, v2i16, int_mips_subq_ph>; [all …]
|
/external/llvm-project/llvm/lib/Target/Hexagon/ |
D | HexagonCallingConv.td | 15 CCIfType<[i32,v2i16,v4i8], 39 CCIfType<[i32,v2i16,v4i8], 69 CCIfType<[i32,v2i16,v4i8], 97 CCIfType<[i32,v2i16,v4i8],
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUCallingConv.td | 21 CCIfInReg<CCIfType<[f32, i32, f16, v2i16, v2f16] , CCAssignToReg<[ 31 CCIfNotInReg<CCIfType<[f32, i32, f16, v2i16, v2f16] , CCAssignToReg<[ 115 CCIfType<[i32, f32, i16, f16, v2i16, v2f16, i1], CCAssignToReg<[ 120 CCIfType<[i32, f32, v2i16, v2f16, i16, f16, i1], CCAssignToStack<4, 4>>, 133 CCIfType<[i32, f32, i16, f16, v2i16, v2f16], CCAssignToReg<[
|
D | SIRegisterInfo.td | 230 def SGPR_32 : RegisterClass<"AMDGPU", [i32, f32, i16, f16, v2i16, v2f16], 32, 259 def TTMP_32 : RegisterClass<"AMDGPU", [i32, f32, v2i16, v2f16], 32, 358 def Reg32Types : RegisterTypes<[i32, f32, v2i16, v2f16, p2, p3, p5, p6]>; 391 def AGPR_32 : RegisterClass<"AMDGPU", [i32, f32, i16, f16, v2i16, v2f16], 32, 413 def Pseudo_SReg_32 : RegisterClass<"AMDGPU", [i32, f32, i16, f16, v2i16, v2f16], 32, 425 def LDS_DIRECT_CLASS : RegisterClass<"AMDGPU", [i32, f32, i16, f16, v2i16, v2f16], 32, 433 def SReg_32_XM0_XEXEC : RegisterClass<"AMDGPU", [i32, f32, i16, f16, v2i16, v2f16, i1], 32, 441 def SReg_32_XEXEC_HI : RegisterClass<"AMDGPU", [i32, f32, i16, f16, v2i16, v2f16, i1], 32, 446 def SReg_32_XM0 : RegisterClass<"AMDGPU", [i32, f32, i16, f16, v2i16, v2f16, i1], 32, 452 def SReg_32 : RegisterClass<"AMDGPU", [i32, f32, i16, f16, v2i16, v2f16, i1], 32, [all …]
|
/external/llvm/lib/Target/Mips/ |
D | MipsDSPInstrInfo.td | 1317 def : BitconvertPat<i32, v2i16, GPR32, DSPR>; 1319 def : BitconvertPat<v2i16, i32, DSPR, GPR32>; 1322 def : DSPPat<(v2i16 (load addr:$a)), 1323 (v2i16 (COPY_TO_REGCLASS (LW addr:$a), DSPR))>; 1326 def : DSPPat<(store (v2i16 DSPR:$val), addr:$a), 1336 def : DSPBinPat<ADDQ_PH, v2i16, int_mips_addq_ph>; 1337 def : DSPBinPat<ADDQ_PH, v2i16, add>; 1338 def : DSPBinPat<SUBQ_PH, v2i16, int_mips_subq_ph>; 1339 def : DSPBinPat<SUBQ_PH, v2i16, sub>; 1340 def : DSPBinPat<MUL_PH, v2i16, int_mips_mul_ph, HasDSPR2>; [all …]
|
/external/llvm-project/llvm/test/CodeGen/AArch64/ |
D | expand-vector-rot.ll | 4 declare <2 x i16> @llvm.fshl.v2i16(<2 x i16>, <2 x i16>, <2 x i16>) 20 %1 = call <2 x i16> @llvm.fshl.v2i16(<2 x i16> %vec2_16, <2 x i16> %vec2_16, <2 x i16> %shift)
|
/external/llvm-project/clang/test/CodeGen/SystemZ/ |
D | systemz-abi-vector.c | 26 typedef __attribute__((vector_size(4))) short v2i16; typedef 80 v2i16 pass_v2i16(v2i16 arg) { return arg; } in pass_v2i16()
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineValueType.h | 79 v2i16 = 31, // 2 x i16 enumerator 234 return (SimpleTy == MVT::v4i8 || SimpleTy == MVT::v2i16 || in is32BitVector() 335 case v2i16: in getVectorElementType() 413 case v2i16: in getVectorNumElements() 463 case v2i16: in getSizeInBits() 615 if (NumElements == 2) return MVT::v2i16; in getVectorVT()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64TargetTransformInfo.cpp | 224 { ISD::SINT_TO_FP, MVT::v2f32, MVT::v2i16, 3 }, in getCastInstrCost() 227 { ISD::UINT_TO_FP, MVT::v2f32, MVT::v2i16, 3 }, in getCastInstrCost() 248 { ISD::SINT_TO_FP, MVT::v2f64, MVT::v2i16, 4 }, in getCastInstrCost() 251 { ISD::UINT_TO_FP, MVT::v2f64, MVT::v2i16, 4 }, in getCastInstrCost() 265 { ISD::FP_TO_SINT, MVT::v2i16, MVT::v2f32, 1 }, in getCastInstrCost() 268 { ISD::FP_TO_UINT, MVT::v2i16, MVT::v2f32, 1 }, in getCastInstrCost() 279 { ISD::FP_TO_SINT, MVT::v2i16, MVT::v2f64, 2 }, in getCastInstrCost() 282 { ISD::FP_TO_UINT, MVT::v2i16, MVT::v2f64, 2 }, in getCastInstrCost()
|