Home
last modified time | relevance | path

Searched refs:getVectorVT (Results 1 – 25 of 79) sorted by relevance

1234

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/CodeGen/
DScalableVectorMVTsTest.cpp47 EVT Vnx4i32 = EVT::getVectorVT(Ctx, MVT::i32, 4, /*Scalable=*/true); in TEST()
52 EVT Vnx2i32 = EVT::getVectorVT(Ctx, MVT::i32, EltCnt); in TEST()
56 EVT Vnx2i64 = EVT::getVectorVT(Ctx, MVT::i64, {2, true}); in TEST()
64 EXPECT_EQ(EVT::getVectorVT(Ctx, MVT::i64, EltCnt * 2), MVT::nxv4i64); in TEST()
65 EXPECT_EQ(EVT::getVectorVT(Ctx, MVT::i64, EltCnt / 2), MVT::nxv1i64); in TEST()
68 EVT Vnx2f64 = EVT::getVectorVT(Ctx, MVT::f64, {2, true}); in TEST()
77 EVT V8i32 = EVT::getVectorVT(Ctx, MVT::i32, 8); in TEST()
79 EVT V4f64 = EVT::getVectorVT(Ctx, MVT::f64, {4, false}); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DValueTypes.h73 static EVT getVectorVT(LLVMContext &Context, EVT VT, unsigned NumElements,
75 MVT M = MVT::getVectorVT(VT.V, NumElements, IsScalable);
85 static EVT getVectorVT(LLVMContext &Context, EVT VT, MVT::ElementCount EC) { in getVectorVT() function
86 MVT M = MVT::getVectorVT(VT.V, EC); in getVectorVT()
105 MVT VecTy = MVT::getVectorVT(IntTy, getVectorNumElements(), in changeVectorElementTypeToInteger()
345 return EVT::getVectorVT(Context, EltVT, getVectorElementCount()); in widenIntegerVectorElementType()
355 return EVT::getVectorVT(Context, EltVT, EltCnt / 2); in getHalfNumVectorElementsVT()
370 return EVT::getVectorVT(Context, getVectorElementType(), Pow2NElts, in getPow2VectorType()
/external/swiftshader/third_party/LLVM/lib/Target/X86/Utils/
DX86ShuffleDecode.cpp100 DecodeUNPCKLPMask(MVT::getVectorVT(MVT::i8, NElts), ShuffleMask); in DecodePUNPCKLBWMask()
105 DecodeUNPCKLPMask(MVT::getVectorVT(MVT::i16, NElts), ShuffleMask); in DecodePUNPCKLWDMask()
110 DecodeUNPCKLPMask(MVT::getVectorVT(MVT::i32, NElts), ShuffleMask); in DecodePUNPCKLDQMask()
115 DecodeUNPCKLPMask(MVT::getVectorVT(MVT::i64, NElts), ShuffleMask); in DecodePUNPCKLQDQMask()
155 DecodeUNPCKLPMask(MVT::getVectorVT(MVT::i32, NElts), ShuffleMask); in DecodeUNPCKLPSMask()
160 DecodeUNPCKLPMask(MVT::getVectorVT(MVT::i64, NElts), ShuffleMask); in DecodeUNPCKLPDMask()
/external/llvm/include/llvm/CodeGen/
DValueTypes.h70 static EVT getVectorVT(LLVMContext &Context, EVT VT, unsigned NumElements) { in getVectorVT() function
71 MVT M = MVT::getVectorVT(VT.V, NumElements); in getVectorVT()
86 MVT VecTy = MVT::getVectorVT(IntTy, getVectorNumElements()); in changeVectorElementTypeToInteger()
310 return EVT::getVectorVT(Context, EltVT, getVectorNumElements()); in widenIntegerVectorElementType()
325 return EVT::getVectorVT(Context, getVectorElementType(), Pow2NElts); in getPow2VectorType()
DMachineValueType.h304 return MVT::getVectorVT(getVectorElementType(), Pow2NElts); in getPow2VectorType()
588 static MVT getVectorVT(MVT VT, unsigned NumElements) { in getVectorVT() function
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DValueTypes.h177 return MVT::getVectorVT(getVectorElementType(), Pow2NElts); in getPow2VectorType()
334 static MVT getVectorVT(MVT VT, unsigned NumElements) { in getVectorVT() function
420 static EVT getVectorVT(LLVMContext &Context, EVT VT, unsigned NumElements) { in getVectorVT() function
421 MVT M = MVT::getVectorVT(VT.V, NumElements); in getVectorVT()
431 default: return getVectorVT(C, MVT::i8, NumElts); in getIntVectorWithNumElements()
450 MVT VecTy = MVT::getVectorVT(IntTy, getVectorNumElements()); in changeVectorElementTypeToInteger()
649 return EVT::getVectorVT(Context, getVectorElementType(), Pow2NElts); in getPow2VectorType()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DLegalizeTypesGeneric.cpp83 EVT InNVT = EVT::getVectorVT(*DAG.getContext(), InVT.getVectorElementType(), in ExpandRes_BITCAST()
100 EVT NVT = EVT::getVectorVT(*DAG.getContext(), NOutVT, 2); in ExpandRes_BITCAST()
181 EVT::getVectorVT(*DAG.getContext(), in ExpandRes_EXTRACT_VECTOR_ELT()
278 EVT NVT = EVT::getVectorVT(*DAG.getContext(), in ExpandOp_BITCAST()
324 EVT::getVectorVT(*DAG.getContext(), in ExpandOp_BUILD_VECTOR()
353 EVT NewVecVT = EVT::getVectorVT(*DAG.getContext(), NewEVT, NumElts*2); in ExpandOp_INSERT_VECTOR_ELT()
453 EVT VCondTy = EVT::getVectorVT(*DAG.getContext(), MVT::i1, NumElements / 2); in SplitRes_SELECT()
DLegalizeVectorTypes.cpp753 EVT InNVT = EVT::getVectorVT(*DAG.getContext(), InVT.getVectorElementType(), in SplitVecRes_SETCC()
781 EVT InNVT = EVT::getVectorVT(*DAG.getContext(), InVT.getVectorElementType(), in SplitVecRes_UnaryOp()
791 EVT InNVT = EVT::getVectorVT(*DAG.getContext(), in SplitVecRes_UnaryOp()
808 EVT InNVT = EVT::getVectorVT(*DAG.getContext(), InVT.getVectorElementType(), in SplitVecRes_UnaryOp()
1022 EVT OutVT = EVT::getVectorVT(*DAG.getContext(), ResVT.getVectorElementType(), in SplitVecOp_UnaryOp()
1179 EVT PartResVT = EVT::getVectorVT(*DAG.getContext(), MVT::i1, PartElements); in SplitVecOp_VSETCC()
1180 EVT WideResVT = EVT::getVectorVT(*DAG.getContext(), MVT::i1, 2*PartElements); in SplitVecOp_VSETCC()
1197 EVT OutVT = EVT::getVectorVT(*DAG.getContext(), ResVT.getVectorElementType(), in SplitVecOp_FP_ROUND()
1332 VT = EVT::getVectorVT(*DAG.getContext(), WidenEltVT, NumElts); in WidenVecRes_Binary()
1373 VT = EVT::getVectorVT(*DAG.getContext(), WidenEltVT, NumElts); in WidenVecRes_Binary()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypesGeneric.cpp111 EVT NVT = EVT::getVectorVT(*DAG.getContext(), ElemVT, NumElems); in ExpandRes_BITCAST()
121 NVT = EVT::getVectorVT(*DAG.getContext(), ElemVT, NumElems); in ExpandRes_BITCAST()
232 EVT NVecVT = EVT::getVectorVT(*DAG.getContext(), OldVT, OldElts); in ExpandRes_EXTRACT_VECTOR_ELT()
237 EVT::getVectorVT(*DAG.getContext(), in ExpandRes_EXTRACT_VECTOR_ELT()
358 EVT NVT = EVT::getVectorVT(*DAG.getContext(), in ExpandOp_BITCAST()
406 EVT::getVectorVT(*DAG.getContext(), in ExpandOp_BUILD_VECTOR()
435 EVT NewVecVT = EVT::getVectorVT(*DAG.getContext(), NewEVT, NumElts*2); in ExpandOp_INSERT_VECTOR_ELT()
DLegalizeVectorTypes.cpp1293 EVT NewSrcVT = EVT::getVectorVT( in SplitVecRes_ExtendOp()
1298 EVT::getVectorVT(Ctx, SrcVT.getVectorElementType(), NumElements / 2); in SplitVecRes_ExtendOp()
1568 EVT OutVT = EVT::getVectorVT(*DAG.getContext(), ResVT.getVectorElementType(), in SplitVecOp_UnaryOp()
1653 VecVT = EVT::getVectorVT(*DAG.getContext(), EltVT, in SplitVecOp_EXTRACT_VECTOR_ELT()
1971 EVT HalfVT = EVT::getVectorVT(*DAG.getContext(), HalfElementVT, in SplitVecOp_TruncateHelper()
1976 EVT InterVT = EVT::getVectorVT(*DAG.getContext(), HalfElementVT, NumElements); in SplitVecOp_TruncateHelper()
2000 EVT PartResVT = EVT::getVectorVT(*DAG.getContext(), MVT::i1, PartElements); in SplitVecOp_VSETCC()
2001 EVT WideResVT = EVT::getVectorVT(*DAG.getContext(), MVT::i1, 2*PartElements); in SplitVecOp_VSETCC()
2018 EVT OutVT = EVT::getVectorVT(*DAG.getContext(), ResVT.getVectorElementType(), in SplitVecOp_FP_ROUND()
2211 VT = EVT::getVectorVT(*DAG.getContext(), WidenEltVT, NumElts); in WidenVecRes_BinaryCanTrap()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypesGeneric.cpp111 EVT NVT = EVT::getVectorVT(*DAG.getContext(), ElemVT, NumElems); in ExpandRes_BITCAST()
121 NVT = EVT::getVectorVT(*DAG.getContext(), ElemVT, NumElems); in ExpandRes_BITCAST()
229 EVT NVecVT = EVT::getVectorVT(*DAG.getContext(), OldVT, OldElts); in ExpandRes_EXTRACT_VECTOR_ELT()
234 EVT::getVectorVT(*DAG.getContext(), in ExpandRes_EXTRACT_VECTOR_ELT()
353 EVT NVT = EVT::getVectorVT(*DAG.getContext(), in ExpandOp_BITCAST()
400 EVT NewVecVT = EVT::getVectorVT(*DAG.getContext(), NewVT, NewElts.size()); in ExpandOp_BUILD_VECTOR()
428 EVT NewVecVT = EVT::getVectorVT(*DAG.getContext(), NewEVT, NumElts*2); in ExpandOp_INSERT_VECTOR_ELT()
DLegalizeVectorTypes.cpp1137 VecVT = EVT::getVectorVT(*DAG.getContext(), EltVT, in SplitVecRes_INSERT_VECTOR_ELT()
1772 EVT OutVT = EVT::getVectorVT(*DAG.getContext(), ResVT.getVectorElementType(), in SplitVecOp_UnaryOp()
1849 VecVT = EVT::getVectorVT(*DAG.getContext(), EltVT, in SplitVecOp_EXTRACT_VECTOR_ELT()
2181 EVT HalfVT = EVT::getVectorVT(*DAG.getContext(), HalfElementVT, in SplitVecOp_TruncateHelper()
2186 EVT InterVT = EVT::getVectorVT(*DAG.getContext(), HalfElementVT, NumElements); in SplitVecOp_TruncateHelper()
2210 EVT PartResVT = EVT::getVectorVT(*DAG.getContext(), MVT::i1, PartElements); in SplitVecOp_VSETCC()
2211 EVT WideResVT = EVT::getVectorVT(*DAG.getContext(), MVT::i1, 2*PartElements); in SplitVecOp_VSETCC()
2228 EVT OutVT = EVT::getVectorVT(*DAG.getContext(), ResVT.getVectorElementType(), in SplitVecOp_FP_ROUND()
2419 VT = EVT::getVectorVT(*DAG.getContext(), WidenEltVT, NumElts); in WidenVecRes_BinaryCanTrap()
2462 VT = EVT::getVectorVT(*DAG.getContext(), WidenEltVT, NumElts); in WidenVecRes_BinaryCanTrap()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DMachineValueType.h408 return MVT::getVectorVT(getVectorElementType(), Pow2NElts); in getPow2VectorType()
827 static MVT getVectorVT(MVT VT, unsigned NumElements) { in getVectorVT() function
972 static MVT getVectorVT(MVT VT, unsigned NumElements, bool IsScalable) { in getVectorVT() function
975 return getVectorVT(VT, NumElements); in getVectorVT()
978 static MVT getVectorVT(MVT VT, MVT::ElementCount EC) { in getVectorVT() function
981 return getVectorVT(VT, EC.Min); in getVectorVT()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonISelLoweringHVX.cpp178 MVT BoolW = MVT::getVectorVT(MVT::i1, T.getVectorNumElements()); in initializeHVXLowering()
186 MVT BoolV = MVT::getVectorVT(MVT::i1, T.getVectorNumElements()); in initializeHVXLowering()
214 return MVT::getVectorVT(ElemTy, Tys.first.getVectorNumElements() + in typeJoin()
223 MVT HalfTy = MVT::getVectorVT(VecTy.getVectorElementType(), NumElem/2); in typeSplit()
231 return MVT::getVectorVT(NewElemTy, VecTy.getVectorNumElements()); in typeExtElem()
238 return MVT::getVectorVT(NewElemTy, VecTy.getVectorNumElements()); in typeTruncElem()
358 MVT PartVT = MVT::getVectorVT(VecTy.getVectorElementType(), OpsPerWord); in buildHvxVectorReg()
428 MVT ByteTy = MVT::getVectorVT(MVT::i8, HwLen); in createHvxPrefixPred()
454 MVT BoolTy = MVT::getVectorVT(MVT::i1, HwLen); in createHvxPrefixPred()
580 MVT ByteTy = MVT::getVectorVT(MVT::i8, HwLen); in buildHvxVectorPred()
[all …]
DHexagonISelLowering.h246 return EVT::getVectorVT(C, MVT::i1, VT.getVectorNumElements()); in getSetCCResultType()
372 return MVT::getVectorVT(ElemTy, TyWidth/ElemWidth); in tyVector()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DTargetLoweringBase.cpp738 EVT::getVectorVT(Context, SVT.getVectorElementType(), in getTypeConversion()
781 EVT NVT = EVT::getVectorVT(Context, EltVT, NumElts); in getTypeConversion()
792 EVT::getVectorVT(Context, EltVT, NumElts / 2)); in getTypeConversion()
813 MVT NVT = MVT::getVectorVT(EltVT.getSimpleVT(), NumElts); in getTypeConversion()
817 EVT::getVectorVT(Context, EltVT, NumElts)); in getTypeConversion()
836 MVT LargerVector = MVT::getVectorVT(EltVT.getSimpleVT(), NumElts); in getTypeConversion()
852 EVT NVT = EVT::getVectorVT(Context, EltVT, VT.getVectorNumElements() / 2); in getTypeConversion()
875 while (NumElts > 1 && !TLI->isTypeLegal(MVT::getVectorVT(EltTy, NumElts))) { in getVectorTypeBreakdownMVT()
882 MVT NewVT = MVT::getVectorVT(EltTy, NumElts); in getVectorTypeBreakdownMVT()
1308 EVT::getVectorVT(Context, EltTy, NumElts))) { in getVectorTypeBreakdown()
[all …]
DValueTypes.cpp25 return getVectorVT(Context, IntTy, getVectorNumElements()); in changeExtendedVectorElementTypeToInteger()
300 return getVectorVT( in getVT()
317 return getVectorVT(Ty->getContext(), getEVT(VTy->getElementType(), false), in getEVT()
/external/llvm/lib/CodeGen/
DTargetLoweringBase.cpp997 EVT::getVectorVT(Context, SVT.getVectorElementType(), in getTypeConversion()
1040 EVT NVT = EVT::getVectorVT(Context, EltVT, NumElts); in getTypeConversion()
1051 EVT::getVectorVT(Context, EltVT, NumElts / 2)); in getTypeConversion()
1072 MVT NVT = MVT::getVectorVT(EltVT.getSimpleVT(), NumElts); in getTypeConversion()
1076 EVT::getVectorVT(Context, EltVT, NumElts)); in getTypeConversion()
1095 MVT LargerVector = MVT::getVectorVT(EltVT.getSimpleVT(), NumElts); in getTypeConversion()
1111 EVT NVT = EVT::getVectorVT(Context, EltVT, VT.getVectorNumElements() / 2); in getTypeConversion()
1134 while (NumElts > 1 && !TLI->isTypeLegal(MVT::getVectorVT(EltTy, NumElts))) { in getVectorTypeBreakdownMVT()
1141 MVT NewVT = MVT::getVectorVT(EltTy, NumElts); in getVectorTypeBreakdownMVT()
1537 EVT::getVectorVT(Context, EltTy, NumElts))) { in getVectorTypeBreakdown()
[all …]
/external/llvm/lib/IR/
DValueTypes.cpp30 return getVectorVT(Context, IntTy, getVectorNumElements()); in changeExtendedVectorElementTypeToInteger()
300 return getVectorVT( in getVT()
317 return getVectorVT(Ty->getContext(), getEVT(VTy->getElementType(), false), in getEVT()
/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetLowering.h1864 EVT NVT = EVT::getVectorVT(Context, EltVT, NumElts); in getTypeConversion()
1875 EVT::getVectorVT(Context, EltVT, NumElts / 2)); in getTypeConversion()
1893 MVT NVT = MVT::getVectorVT(EltVT.getSimpleVT(), NumElts); in getTypeConversion()
1897 EVT::getVectorVT(Context, EltVT, NumElts)); in getTypeConversion()
1911 MVT LargerVector = MVT::getVectorVT(EltVT.getSimpleVT(), NumElts); in getTypeConversion()
1926 EVT NVT = EVT::getVectorVT(Context, EltVT, VT.getVectorNumElements() / 2); in getTypeConversion()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DValueTypes.cpp25 return getVectorVT(Context, IntTy, getVectorNumElements()); in changeExtendedVectorElementTypeToInteger()
214 return getVectorVT(Ty->getContext(), getEVT(VTy->getElementType(), false), in getEVT()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp1834 return EVT::getVectorVT(Context, MVT::i1, NumElts); in getSetCCResultType()
1842 return EVT::getVectorVT(Context, MVT::i1, NumElts); in getSetCCResultType()
4642 Info.memVT = MVT::getVectorVT(ScalarVT, VT.getVectorNumElements()); in getTgtMemIntrinsic()
5014 ConstVecVT = MVT::getVectorVT(MVT::i32, NumElts * 2); in getConstVector()
5045 ConstVecVT = MVT::getVectorVT(MVT::i32, NumElts * 2); in getConstVector()
5094 Vec = DAG.getConstant(0, dl, MVT::getVectorVT(MVT::i32, Num32BitElts)); in getZeroVector()
5104 EVT ResultVT = EVT::getVectorVT(*DAG.getContext(), ElVT, in extractSubVector()
5407 SDValue Vec = DAG.getConstant(Ones, dl, MVT::getVectorVT(MVT::i32, NumElts)); in getOnesVector()
6764 EVT NVT = EVT::getVectorVT(*DAG.getContext(), PVT, NumElems); in LowerAsSplatVectorLoad()
6920 MVT VecVT = MVT::getVectorVT(VecSVT, VT.getSizeInBits() / LoadSize); in EltsFromConsecutiveLoads()
[all …]
DX86InterleavedAccess.cpp225 return MVT::getVectorVT(MVT::getIntegerVT(ScalarSize), in scaleVectorType()
363 MVT VT = MVT::getVectorVT(MVT::i8, NumOfElm); in interleave8bitStride4()
640 MVT VT = MVT::getVectorVT(MVT::i8, VecElems); in interleave8bitStride3()
/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/
DSPUISelDAGToDAG.cpp654 EVT Op0VecVT = EVT::getVectorVT(*CurDAG->getContext(), in Select()
656 EVT OpVecVT = EVT::getVectorVT(*CurDAG->getContext(), in Select()
915 EVT VecVT = EVT::getVectorVT(*CurDAG->getContext(), in SelectSHLi64()
983 EVT VecVT = EVT::getVectorVT(*CurDAG->getContext(), in SelectSRLi64()
1052 EVT VecVT = EVT::getVectorVT(*CurDAG->getContext(), in SelectSRAi64()
1130 EVT OpVecVT = EVT::getVectorVT(*CurDAG->getContext(), OpVT, 2); in SelectI64Constant()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp1163 MVT MaskVT = MVT::getVectorVT(MVT::i1, VT.getVectorNumElements()); in X86TargetLowering()
1728 return MVT::getVectorVT(MVT::i1, NumElts); in getSetCCResultType()
4112 Info.memVT = MVT::getVectorVT(ScalarVT, VT.getVectorNumElements()); in getTgtMemIntrinsic()
4370 ConstVecVT = MVT::getVectorVT(MVT::i32, NumElts * 2); in getConstVector()
4411 Vec = DAG.getConstant(0, dl, MVT::getVectorVT(MVT::i32, Num32BitElts)); in getZeroVector()
4423 EVT ResultVT = EVT::getVectorVT(*DAG.getContext(), ElVT, in extractSubVector()
4691 Vec = DAG.getConstant(Ones, dl, MVT::getVectorVT(MVT::i32, NumElts)); in getOnesVector()
5544 EVT NVT = EVT::getVectorVT(*DAG.getContext(), PVT, NumElems); in LowerAsSplatVectorLoad()
5693 MVT VecVT = MVT::getVectorVT(VecSVT, VT.getSizeInBits() / 64); in EltsFromConsecutiveLoads()
5724 MVT VecVT = MVT::getVectorVT(VecSVT, VT.getSizeInBits() / 32); in EltsFromConsecutiveLoads()
[all …]

1234