Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.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, ElementCount EC) { in getVectorVT() function
86 MVT M = MVT::getVectorVT(VT.V, EC); in getVectorVT()
105 MVT VecTy = MVT::getVectorVT(IntTy, getVectorNumElements(), in changeVectorElementTypeToInteger()
360 return EVT::getVectorVT(Context, EltVT, getVectorElementCount()); in widenIntegerVectorElementType()
370 return EVT::getVectorVT(Context, EltVT, EltCnt / 2); in getHalfNumVectorElementsVT()
385 return EVT::getVectorVT(Context, getVectorElementType(), Pow2NElts, in getPow2VectorType()
DTargetLowering.h1239 return EVT::getVectorVT(Ty->getContext(), EVT::getEVT(EltTy, false),
1257 return EVT::getVectorVT(Ty->getContext(), EVT::getEVT(Elm, false),
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypesGeneric.cpp104 EVT NVT = EVT::getVectorVT(*DAG.getContext(), ElemVT, NumElems); in ExpandRes_BITCAST()
114 NVT = EVT::getVectorVT(*DAG.getContext(), ElemVT, NumElems); in ExpandRes_BITCAST()
220 EVT NVecVT = EVT::getVectorVT(*DAG.getContext(), OldVT, OldElts); in ExpandRes_EXTRACT_VECTOR_ELT()
225 EVT::getVectorVT(*DAG.getContext(), in ExpandRes_EXTRACT_VECTOR_ELT()
344 EVT NVT = EVT::getVectorVT(*DAG.getContext(), in ExpandOp_BITCAST()
391 EVT NewVecVT = EVT::getVectorVT(*DAG.getContext(), NewVT, NewElts.size()); in ExpandOp_BUILD_VECTOR()
419 EVT NewVecVT = EVT::getVectorVT(*DAG.getContext(), NewEVT, NumElts*2); in ExpandOp_INSERT_VECTOR_ELT()
DLegalizeVectorTypes.cpp1360 EVT VecVT = EVT::getVectorVT(*DAG.getContext(), EltVT, ResNE); in UnrollVectorOp_StrictFP()
1436 VecVT = EVT::getVectorVT(*DAG.getContext(), EltVT, in SplitVecRes_INSERT_VECTOR_ELT()
2105 EVT OutVT = EVT::getVectorVT(*DAG.getContext(), ResVT.getVectorElementType(), in SplitVecOp_UnaryOp()
2197 VecVT = EVT::getVectorVT(*DAG.getContext(), EltVT, in SplitVecOp_EXTRACT_VECTOR_ELT()
2560 EVT HalfVT = EVT::getVectorVT(*DAG.getContext(), HalfElementVT, in SplitVecOp_TruncateHelper()
2580 EVT InterVT = EVT::getVectorVT(*DAG.getContext(), HalfElementVT, NumElements); in SplitVecOp_TruncateHelper()
2615 EVT PartResVT = EVT::getVectorVT(*DAG.getContext(), MVT::i1, PartElements); in SplitVecOp_VSETCC()
2616 EVT WideResVT = EVT::getVectorVT(*DAG.getContext(), MVT::i1, 2*PartElements); in SplitVecOp_VSETCC()
2637 EVT OutVT = EVT::getVectorVT(*DAG.getContext(), ResVT.getVectorElementType(), in SplitVecOp_FP_ROUND()
2919 NextVT = EVT::getVectorVT(*DAG.getContext(), WidenEltVT, NextSize); in CollectOpsToWiden()
[all …]
DLegalizeVectorOps.cpp1088 SrcVT = EVT::getVectorVT(*DAG.getContext(), SrcVT.getScalarType(), in ExpandANY_EXTEND_VECTOR_INREG()
1148 SrcVT = EVT::getVectorVT(*DAG.getContext(), SrcVT.getScalarType(), in ExpandZERO_EXTEND_VECTOR_INREG()
1187 EVT ByteVT = EVT::getVectorVT(*DAG.getContext(), MVT::i8, ShuffleMask.size()); in ExpandBSWAP()
1218 EVT ByteVT = EVT::getVectorVT(*DAG.getContext(), MVT::i8, BSWAPMask.size()); in ExpandBITREVERSE()
DDAGCombiner.cpp7734 ExtVT = EVT::getVectorVT(*DAG.getContext(), in visitSRA()
7785 TruncVT = EVT::getVectorVT(Ctx, TruncVT, VT.getVectorNumElements()); in visitSRA()
7825 TruncVT = EVT::getVectorVT(Ctx, TruncVT, VT.getVectorNumElements()); in visitSRA()
10785 EVT NVT = EVT::getVectorVT(*DAG.getContext(), TrTy, SizeRatio * NumElem); in visitTRUNCATE()
10928 VTs.push_back(EVT::getVectorVT(*DAG.getContext(), in visitTRUNCATE()
11416 EVT VT = EVT::getVectorVT(*DAG.getContext(), DstEltVT, in ConstantFoldBITCASTofBUILD_VECTOR()
11473 EVT VT = EVT::getVectorVT(*DAG.getContext(), DstEltVT, Ops.size()); in ConstantFoldBITCASTofBUILD_VECTOR()
11480 EVT VT = EVT::getVectorVT(*DAG.getContext(), DstEltVT, in ConstantFoldBITCASTofBUILD_VECTOR()
15377 StoreTy = EVT::getVectorVT(*DAG.getContext(), MemVT.getScalarType(), Elts); in MergeStoresOfConstantsOrVecElts()
15901 EVT Ty = EVT::getVectorVT(Context, MemVT.getScalarType(), Elts); in MergeConsecutiveStores()
[all …]
DLegalizeTypes.cpp854 EVT::getVectorVT(*DAG.getContext(), EltNVT, EltCnt), Op); in BitConvertVectorToIntegerVector()
DSelectionDAGBuilder.cpp418 EVT::getVectorVT(*DAG.getContext(), IntermediateVT.getScalarType(), in getCopyFromPartsVector()
472 EVT WiderVecType = EVT::getVectorVT(*DAG.getContext(), in getCopyFromPartsVector()
732 EVT BuiltVectorTy = EVT::getVectorVT( in getCopyToPartsVector()
3658 EVT PaddedVT = EVT::getVectorVT(*DAG.getContext(), VT.getScalarType(), in visitShuffleVector()
3890 EVT VT = EVT::getVectorVT(Context, N.getValueType(), VectorWidth); in visitGetElementPtr()
3929 DAG.getConstant(Offs, dl, EVT::getVectorVT(Context, IdxTy, VectorWidth)) : in visitGetElementPtr()
3948 EVT VT = EVT::getVectorVT(*Context, IdxN.getValueType(), VectorWidth); in visitGetElementPtr()
4442 EVT VT = EVT::getVectorVT(Context, Index.getValueType(), GEPWidth); in getUniformBase()
5499 PromVT = EVT::getVectorVT(Ctx, PromVT, VT.getVectorElementCount()); in expandDivFix()
6399 CCVT = EVT::getVectorVT(*Context, CCVT, VT.getVectorNumElements()); in visitIntrinsicCall()
[all …]
DLegalizeIntegerTypes.cpp368 EVT WideOutVT = EVT::getVectorVT(*DAG.getContext(), in PromoteIntRes_BITCAST()
1029 EVT HalfNVT = EVT::getVectorVT(*DAG.getContext(), NVT.getScalarType(), in PromoteIntRes_TRUNCATE()
1041 EVT TruncVT = EVT::getVectorVT(*DAG.getContext(), in PromoteIntRes_TRUNCATE()
1046 EVT ExtVT = EVT::getVectorVT(*DAG.getContext(), NVT.getVectorElementType(), in PromoteIntRes_TRUNCATE()
4415 MVT OutVT = MVT::getVectorVT(InVT.getVectorElementType(), in PromoteIntOp_EXTRACT_SUBVECTOR()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DMachineValueType.h399 return getVectorVT(EltVT, EltCnt / 2); in getHalfNumVectorElementsVT()
416 return MVT::getVectorVT(getVectorElementType(), Pow2NElts); in getPow2VectorType()
918 static MVT getVectorVT(MVT VT, unsigned NumElements) { in getVectorVT() function
1084 static MVT getVectorVT(MVT VT, unsigned NumElements, bool IsScalable) { in getVectorVT() function
1087 return getVectorVT(VT, NumElements); in getVectorVT()
1090 static MVT getVectorVT(MVT VT, ElementCount EC) { in getVectorVT() function
1093 return getVectorVT(VT, EC.Min); in getVectorVT()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonISelLoweringHVX.cpp177 MVT BoolW = MVT::getVectorVT(MVT::i1, T.getVectorNumElements()); in initializeHVXLowering()
185 MVT BoolV = MVT::getVectorVT(MVT::i1, T.getVectorNumElements()); in initializeHVXLowering()
222 return MVT::getVectorVT(ElemTy, Tys.first.getVectorNumElements() + in typeJoin()
231 MVT HalfTy = MVT::getVectorVT(VecTy.getVectorElementType(), NumElem/2); in typeSplit()
239 return MVT::getVectorVT(NewElemTy, VecTy.getVectorNumElements()); in typeExtElem()
246 return MVT::getVectorVT(NewElemTy, VecTy.getVectorNumElements()); in typeTruncElem()
366 MVT PartVT = MVT::getVectorVT(VecTy.getVectorElementType(), OpsPerWord); in buildHvxVectorReg()
506 MVT ByteTy = MVT::getVectorVT(MVT::i8, HwLen); in createHvxPrefixPred()
532 MVT BoolTy = MVT::getVectorVT(MVT::i1, HwLen); in createHvxPrefixPred()
658 MVT ByteTy = MVT::getVectorVT(MVT::i8, HwLen); in buildHvxVectorPred()
[all …]
DHexagonISelLowering.h259 return EVT::getVectorVT(C, MVT::i1, VT.getVectorNumElements()); in getSetCCResultType()
394 return MVT::getVectorVT(ElemTy, TyWidth/ElemWidth); in tyVector()
DHexagonISelDAGToDAGHVX.cpp818 return MVT::getVectorVT(ElemTy, NumElems); in getSingleVT()
823 return MVT::getVectorVT(ElemTy, NumElems); in getPairVT()
1012 MVT HalfTy = MVT::getVectorVT(OpTy.getVectorElementType(), in materialize()
1202 MVT BoolTy = MVT::getVectorVT(MVT::i1, 8*HwLen); // XXX in vmuxs()
1995 MVT VecTy = MVT::getVectorVT(MVT::i8, Data.size()); in getVectorConstant()
DHexagonISelLowering.cpp875 MVT WideTy = MVT::getVectorVT(MVT::getIntegerVT(2*ElemTy.getSizeInBits()), in LowerSETCC()
933 MVT WideTy = MVT::getVectorVT(MVT::getIntegerVT(2*ElemTy.getSizeInBits()), in LowerVSELECT()
1512 MVT VT32 = MVT::getVectorVT(MVT::i32, VT.getSizeInBits()/32); in HexagonTargetLowering()
2315 MVT HalfTy = MVT::getVectorVT(ElemTy, Num/2); in buildVector64()
2743 : MVT::getVectorVT(MVT::i8, HaveAlign); in LowerUnalignedLoad()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DLowLevelType.cpp49 return MVT::getVectorVT( in getMVTForLLT()
DTargetLoweringBase.cpp819 EVT::getVectorVT(Context, SVT.getVectorElementType(), in getTypeConversion()
862 EVT NVT = EVT::getVectorVT(Context, EltVT, NumElts); in getTypeConversion()
873 EVT::getVectorVT(Context, EltVT, NumElts / 2)); in getTypeConversion()
894 MVT NVT = MVT::getVectorVT(EltVT.getSimpleVT(), NumElts); in getTypeConversion()
898 EVT::getVectorVT(Context, EltVT, NumElts)); in getTypeConversion()
917 MVT LargerVector = MVT::getVectorVT(EltVT.getSimpleVT(), NumElts); in getTypeConversion()
933 EVT NVT = EVT::getVectorVT(Context, EltVT, VT.getVectorNumElements() / 2); in getTypeConversion()
956 while (NumElts > 1 && !TLI->isTypeLegal(MVT::getVectorVT(EltTy, NumElts))) { in getVectorTypeBreakdownMVT()
963 MVT NewVT = MVT::getVectorVT(EltTy, NumElts); in getVectorTypeBreakdownMVT()
1412 EVT::getVectorVT(Context, EltTy, NumElts))) { in getVectorTypeBreakdown()
[all …]
DValueTypes.cpp25 return getVectorVT(Context, IntTy, getVectorNumElements()); in changeExtendedVectorElementTypeToInteger()
343 return getVectorVT( in getVT()
361 return getVectorVT(Ty->getContext(), in getEVT()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86InterleavedAccess.cpp228 return MVT::getVectorVT(MVT::getIntegerVT(ScalarSize), in scaleVectorType()
366 MVT VT = MVT::getVectorVT(MVT::i8, NumOfElm); in interleave8bitStride4()
643 MVT VT = MVT::getVectorVT(MVT::i8, VecElems); in interleave8bitStride3()
DX86ISelLowering.cpp2180 return EVT::getVectorVT(Context, MVT::i1, NumElts); in getSetCCResultType()
2188 return EVT::getVectorVT(Context, MVT::i1, NumElts); in getSetCCResultType()
4974 Info.memVT = MVT::getVectorVT(ScalarVT, VT.getVectorNumElements()); in getTgtMemIntrinsic()
4987 Info.memVT = MVT::getVectorVT(DataVT.getVectorElementType(), NumElts); in getTgtMemIntrinsic()
4999 Info.memVT = MVT::getVectorVT(DataVT.getVectorElementType(), NumElts); in getTgtMemIntrinsic()
5532 ConstVecVT = MVT::getVectorVT(MVT::i32, NumElts * 2); in getConstVector()
5563 ConstVecVT = MVT::getVectorVT(MVT::i32, NumElts * 2); in getConstVector()
5614 Vec = DAG.getConstant(0, dl, MVT::getVectorVT(MVT::i32, Num32BitElts)); in getZeroVector()
5624 EVT ResultVT = EVT::getVectorVT(*DAG.getContext(), ElVT, in extractSubVector()
5724 MVT VT = MVT::getVectorVT(SVT, WideNumElts); in widenSubVector()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.h474 return EVT::getVectorVT(Ctx, MVT::i1, VT.getVectorNumElements()); in getSetCCResultType()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelLowering.cpp1720 return MVT::getVectorVT(MVT::i1, VT.getVectorElementCount()); in getSetCCResultType()
5699 EVT VecVT = EVT::getVectorVT( in CombineVMOVDRRCandidateWithVecOp()
6027 MVT WidenVT = MVT::getVectorVT(MVT::getIntegerVT(EltSize), NumElts); in LowerCTPOP()
6248 EVT SplitVT = EVT::getVectorVT(*DAG.getContext(), MVT::i32, CmpElements); in LowerVSETCC()
7303 EVT VecVT = EVT::getVectorVT(*DAG.getContext(), IVT, NumElts); in LowerBUILD_VECTOR()
7334 EVT HVT = EVT::getVectorVT(*DAG.getContext(), ExtVT, NumElts / 2); in LowerBUILD_VECTOR()
7354 EVT VecVT = EVT::getVectorVT(*DAG.getContext(), EltVT, NumElts); in LowerBUILD_VECTOR()
7457 EVT ShuffleVT = EVT::getVectorVT(*DAG.getContext(), SmallestEltTy, NumElts); in ReconstructShuffle()
7472 EVT DestVT = EVT::getVectorVT(*DAG.getContext(), EltVT, NumSrcElts); in ReconstructShuffle()
8108 EVT VecVT = EVT::getVectorVT(*DAG.getContext(), EltVT, NumElts); in LowerVECTOR_SHUFFLE()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp2562 MVT NewVT = MVT::getVectorVT(MVT::f32, NumElts); in LowerVectorFP_TO_INT()
2580 MVT::getVectorVT(MVT::getFloatingPointVT(VT.getScalarSizeInBits()), in LowerVectorFP_TO_INT()
2633 MVT::getVectorVT(MVT::getFloatingPointVT(InVT.getScalarSizeInBits()), in LowerVectorINT_TO_FP()
2818 return DAG.getBuildVector(MVT::getVectorVT(TruncVT, NumElts), dl, Ops); in skipExtensionForVectorMULL()
5204 MVT WidenVT = MVT::getVectorVT(MVT::getIntegerVT(EltSize), NumElts); in LowerCTPOP()
6510 MVT WideTy = MVT::getVectorVT(EltTy, 2 * NarrowSize); in WidenVector()
6530 MVT NarrowTy = MVT::getVectorVT(EltTy, WideSize / 2); in NarrowVector()
6616 EVT ShuffleVT = EVT::getVectorVT(*DAG.getContext(), SmallestEltTy, NumElts); in ReconstructShuffle()
6631 EVT DestVT = EVT::getVectorVT(*DAG.getContext(), EltVT, NumSrcElts); in ReconstructShuffle()
7270 CastVT = MVT::getVectorVT(BitCast.getSimpleValueType().getScalarType(), in LowerVECTOR_SHUFFLE()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp917 return MVT::getVectorVT(MVT::getVT(ElementType, false), in memVTFromAggregate()
1446 EVT::getVectorVT(*DAG.getContext(), MemVT.getVectorElementType(), in convertArgType()
3898 return EVT::getVectorVT(Ctx, MVT::i1, VT.getVectorNumElements()); in getSetCCResultType()
4148 EVT::getVectorVT(*DAG.getContext(), MVT::i32, in adjustLoadValueType()
4984 EVT HalfVT = MVT::getVectorVT(VT.getVectorElementType().getSimpleVT(), 2); in lowerBUILD_VECTOR()
5247 EVT AdjVT = Unpacked ? ReqRetNumElts > 1 ? EVT::getVectorVT(Context, AdjEltVT, ReqRetNumElts) in constructRetValue()
5259 EVT CastVT = NumElts > 1 ? EVT::getVectorVT(Context, AdjEltVT, NumElts) in constructRetValue()
5266 CastVT = EVT::getVectorVT(Context, MVT::i32, NumElts / 2); in constructRetValue()
5560 EVT::getVectorVT(*DAG.getContext(), MVT::f32, NumVDataDwords) in lowerImage()
5683 EVT::getVectorVT(*DAG.getContext(), VT.getVectorElementType(), 4); in lowerSBuffer()
[all …]
DAMDGPUISelLowering.cpp48 return EVT::getVectorVT(Ctx, MVT::i32, StoreSize / 32); in getEquivalentMemType()
987 MemVT = EVT::getVectorVT(State.getContext(), ScalarVT, NumElements); in analyzeFormalArgumentsCompute()
1369 LoVT = EVT::getVectorVT(*DAG.getContext(), EltVT, LoNumElts); in getSplitDestVTs()
1372 : EVT::getVectorVT(*DAG.getContext(), EltVT, NumElts - LoNumElts); in getSplitDestVTs()
1469 EVT::getVectorVT(*DAG.getContext(), VT.getVectorElementType(), 4); in WidenVectorLoad()
1471 EVT::getVectorVT(*DAG.getContext(), MemVT.getVectorElementType(), 4); in WidenVectorLoad()
3259 EVT::getVectorVT(*DAG.getContext(), MVT::i32, in performTruncateCombine()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp721 VecVT = MVT::getVectorVT(MVT::getIntegerVT(8), 16); in isVectorConstantLegal()
734 VecVT = MVT::getVectorVT(MVT::getIntegerVT(SplatBitSize), in isVectorConstantLegal()
747 VecVT = MVT::getVectorVT(MVT::getIntegerVT(SplatBitSize), in isVectorConstantLegal()
4405 MVT InVT = MVT::getVectorVT(MVT::getIntegerVT(InBytes * 8), in getPermuteNode()
4414 MVT OutVT = MVT::getVectorVT(MVT::getIntegerVT(P.Operand * 8), in getPermuteNode()
4983 MVT IntVecVT = MVT::getVectorVT(IntVT, VT.getVectorNumElements()); in lowerINSERT_VECTOR_ELT()
5010 MVT IntVecVT = MVT::getVectorVT(IntVT, VecVT.getVectorNumElements()); in lowerEXTRACT_VECTOR_ELT()
5026 EVT OutVT = MVT::getVectorVT(MVT::getIntegerVT(FromBits), in lowerExtendVectorInreg()
5575 VecVT = MVT::getVectorVT(MVT::getIntegerVT(TruncBytes * 8), in combineTruncateExtract()
5684 EVT OutVT = MVT::getVectorVT(MVT::getIntegerVT(ElemBytes * 16), in combineMERGE()

12