Home
last modified time | relevance | path

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

123

/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/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/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 …]
DLegalizeVectorOps.cpp658 = EVT::getVectorVT(Ctx, in ExpandStore()
876 EVT ByteVT = EVT::getVectorVT(*DAG.getContext(), MVT::i8, ShuffleMask.size()); in ExpandBSWAP()
903 EVT ByteVT = EVT::getVectorVT(*DAG.getContext(), MVT::i8, BSWAPMask.size()); in ExpandBITREVERSE()
DLegalizeTypes.cpp920 EVT::getVectorVT(*DAG.getContext(), EltNVT, NumElts), Op); in BitConvertVectorToIntegerVector()
1137 EVT WideVT = EVT::getVectorVT(*DAG.getContext(), BoolVT.getScalarType(), in WidenTargetBoolean()
/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()
DHexagonISelDAGToDAGHVX.cpp813 return MVT::getVectorVT(ElemTy, NumElems); in getSingleVT()
818 return MVT::getVectorVT(ElemTy, NumElems); in getPairVT()
1007 MVT HalfTy = MVT::getVectorVT(OpTy.getVectorElementType(), in materialize()
1197 MVT BoolTy = MVT::getVectorVT(MVT::i1, 8*HwLen); // XXX in vmuxs()
1921 MVT VecTy = MVT::getVectorVT(MVT::i8, Data.size()); in getVectorConstant()
/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/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/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/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/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 …]
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.h203 return EVT::getVectorVT(C, MVT::i1, VT.getVectorNumElements()); in getSetCCResultType()
/external/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.h471 return EVT::getVectorVT(Ctx, MVT::i1, VT.getVectorNumElements()); in getSetCCResultType()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.h474 return EVT::getVectorVT(Ctx, MVT::i1, VT.getVectorNumElements()); in getSetCCResultType()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp1926 MVT NewVT = MVT::getVectorVT(MVT::f32, NumElts); in LowerVectorFP_TO_INT()
1944 MVT::getVectorVT(MVT::getFloatingPointVT(VT.getScalarSizeInBits()), in LowerVectorFP_TO_INT()
1993 MVT::getVectorVT(MVT::getFloatingPointVT(InVT.getScalarSizeInBits()), in LowerVectorINT_TO_FP()
2170 return DAG.getBuildVector(MVT::getVectorVT(TruncVT, NumElts), dl, Ops); in skipExtensionForVectorMULL()
4899 MVT WideTy = MVT::getVectorVT(EltTy, 2 * NarrowSize); in WidenVector()
4919 MVT NarrowTy = MVT::getVectorVT(EltTy, WideSize / 2); in NarrowVector()
4998 EVT ShuffleVT = EVT::getVectorVT(*DAG.getContext(), SmallestEltTy, NumElts); in ReconstructShuffle()
5013 EVT DestVT = EVT::getVectorVT(*DAG.getContext(), EltVT, NumSrcElts); in ReconstructShuffle()
5386 EVT CastVT = EVT::getVectorVT(*DAG.getContext(), VT.getVectorElementType(), in tryFormConcatFromShuffle()
6366 EVT VecVT = EVT::getVectorVT(*DAG.getContext(), NewType, NumElts); in LowerBUILD_VECTOR()
[all …]

123