Home
last modified time | relevance | path

Searched refs:getVectorElementType (Results 1 – 25 of 74) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DValueTypes.h102 MVT EltTy = getSimpleVT().getVectorElementType(); in changeVectorElementTypeToInteger()
263 return isVector() ? getVectorElementType() : *this; in getScalarType()
267 EVT getVectorElementType() const { in getVectorElementType() function
270 return V.getVectorElementType(); in getVectorElementType()
358 EVT EltVT = getVectorElementType(); in widenIntegerVectorElementType()
367 EVT EltVT = getVectorElementType(); in getHalfNumVectorElementsVT()
385 return EVT::getVectorVT(Context, getVectorElementType(), Pow2NElts, in getPow2VectorType()
DBasicTTIImpl.h789 Type *SplitDst = VectorType::get(Dst->getVectorElementType(),
791 Type *SplitSrc = VectorType::get(Src->getVectorElementType(),
1609 Type *ScalarTy = Ty->getVectorElementType(); in getArithmeticReductionCost()
1659 Type *ScalarTy = Ty->getVectorElementType(); in getMinMaxReductionCost()
1660 Type *ScalarCondTy = CondTy->getVectorElementType(); in getMinMaxReductionCost()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp203 EVT VT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_StrictFPOp()
251 ResVT.getVectorElementType(), OvVT.getVectorElementType()); in ScalarizeVecRes_OverflowOp()
281 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_BITCAST()
287 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_BUILD_VECTOR()
298 N->getValueType(0).getVectorElementType(), in ScalarizeVecRes_EXTRACT_SUBVECTOR()
303 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_FP_ROUND()
319 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_INSERT_VECTOR_ELT()
331 N->getValueType(0).getVectorElementType(), SDLoc(N), N->getChain(), in ScalarizeVecRes_LOAD()
333 N->getPointerInfo(), N->getMemoryVT().getVectorElementType(), in ScalarizeVecRes_LOAD()
345 EVT DestVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_UnaryOp()
[all …]
DLegalizeTypesGeneric.cpp207 EVT OldEltVT = OldVec.getValueType().getVectorElementType(); in ExpandRes_EXTRACT_VECTOR_ELT()
355 IntegerToVector(N->getOperand(0), NumElts, Ops, NVT.getVectorElementType()); in ExpandOp_BITCAST()
374 assert(OldVT == VecVT.getVectorElementType() && in ExpandOp_BUILD_VECTOR()
414 assert(OldEVT == VecVT.getVectorElementType() && in ExpandOp_INSERT_VECTOR_ELT()
443 assert(VT.getVectorElementType() == N->getOperand(0).getValueType() && in ExpandOp_SCALAR_TO_VECTOR()
528 if (Cond.getValueType().getVectorElementType() == MVT::i1 && in SplitRes_SELECT()
DLegalizeVectorOps.cpp358 EVT EltVT = ValVT.getVectorElementType(); in LegalizeOp()
596 .getVectorElementType() in Promote()
598 NVT.isVector() && NVT.getVectorElementType().isFloatingPoint()) in Promote()
610 (VT.isVector() && VT.getVectorElementType().isFloatingPoint() && in Promote()
611 NVT.isVector() && NVT.getVectorElementType().isFloatingPoint())) in Promote()
1484 EVT EltVT = VT.getVectorElementType(); in UnrollStrictFPOp()
1516 OperVT.getVectorElementType(), Oper, Idx); in UnrollStrictFPOp()
1546 EVT EltVT = VT.getVectorElementType(); in UnrollVSETCC()
1550 EVT TmpEltVT = LHS.getValueType().getVectorElementType(); in UnrollVSETCC()
DLegalizeDAG.cpp377 EVT EltVT = VT.getVectorElementType(); in PerformInsertVectorEltInMemory()
403 EVT EltVT = Vec.getValueType().getVectorElementType(); in ExpandINSERT_VECTOR_ELT()
1349 VecVT.getVectorElementType()); in ExpandExtractFromVectorThroughStack()
1398 EVT EltVT = VT.getVectorElementType(); in ExpandVectorBuildThroughStack()
1803 Node->getValueType(0).getVectorElementType()); in ExpandSCALAR_TO_VECTOR()
1911 EVT EltVT = VT.getVectorElementType(); in ExpandBUILD_VECTOR()
3038 EVT EltVT = VT.getVectorElementType(); in ExpandNode()
4539 MVT EltVT = OVT.getVectorElementType(); in PromoteNode()
4540 MVT NewEltVT = NVT.getVectorElementType(); in PromoteNode()
4567 MVT EltVT = OVT.getVectorElementType(); in PromoteNode()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonISelLoweringHVX.cpp219 assert(Tys.first.getVectorElementType() == Tys.second.getVectorElementType()); in typeJoin()
221 MVT ElemTy = Tys.first.getVectorElementType(); in typeJoin()
231 MVT HalfTy = MVT::getVectorVT(VecTy.getVectorElementType(), NumElem/2); in typeSplit()
237 MVT ElemTy = VecTy.getVectorElementType(); in typeExtElem()
244 MVT ElemTy = VecTy.getVectorElementType(); in typeTruncElem()
252 if (ty(Vec).getVectorElementType() == ElemTy) in opCastElem()
325 MVT ElemTy = OpTy.getVectorElementType(); in getByteShuffle()
355 MVT ElemTy = VecTy.getVectorElementType(); in buildHvxVectorReg()
363 if (VecTy.getVectorElementType() != MVT::i32) { in buildHvxVectorReg()
366 MVT PartVT = MVT::getVectorVT(VecTy.getVectorElementType(), OpsPerWord); in buildHvxVectorReg()
[all …]
DHexagonISelLowering.cpp873 MVT ElemTy = OpTy.getVectorElementType(); in LowerSETCC()
931 MVT ElemTy = OpTy.getVectorElementType(); in LowerVSELECT()
979 CValTy->getVectorElementType()->isIntegerTy(1)) { in LowerConstantPool()
1511 if (VT.getVectorElementType() != MVT::i32) { in HexagonTargetLowering()
1927 MVT ElemTy = VT.getVectorElementType(); in getPreferredVectorAction()
2004 unsigned ElemBytes = VecTy.getVectorElementType().getSizeInBits() / 8; in LowerVECTOR_SHUFFLE()
2155 MVT ElemTy = VecTy.getVectorElementType(); in getBuildVectorConstInts()
2184 MVT ElemTy = VecTy.getVectorElementType(); in buildVector32()
2267 MVT ElemTy = VecTy.getVectorElementType(); in buildVector64()
2331 VecTy.getVectorElementType() == ValTy.getVectorElementType()); in extractVector()
[all …]
DHexagonSubtarget.h233 MVT ElemTy = VecTy.getVectorElementType();
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DLowLevelType.cpp21 VT.getVectorNumElements(), VT.getVectorElementType().getSizeInBits(), in LLT()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DLowLevelType.cpp59 Ty.getVectorElementType().getSizeInBits()); in getLLTForMVT()
DTargetLoweringBase.cpp819 EVT::getVectorVT(Context, SVT.getVectorElementType(), in getTypeConversion()
822 return LegalizeKind(LA, SVT.getVectorElementType()); in getTypeConversion()
848 EVT EltVT = VT.getVectorElementType(); in getTypeConversion()
943 MVT EltTy = VT.getVectorElementType(); in getVectorTypeBreakdownMVT()
1244 MVT EltVT = VT.getVectorElementType(); in computeRegisterProperties()
1282 if (SVT.getVectorElementType() == EltVT in computeRegisterProperties()
1398 EVT EltTy = VT.getVectorElementType(); in getVectorTypeBreakdown()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DType.h309 return getVectorElementType(); in getScalarType()
376 Type *getVectorElementType() const { in getVectorElementType() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsSEISelDAGToDAG.cpp554 EVT EltTy = N->getValueType(0).getVectorElementType(); in selectVSplatCommon()
630 EVT EltTy = N->getValueType(0).getVectorElementType(); in selectVSplatUimmPow2()
661 EVT EltTy = N->getValueType(0).getVectorElementType(); in selectVSplatMaskL()
695 EVT EltTy = N->getValueType(0).getVectorElementType(); in selectVSplatMaskR()
717 EVT EltTy = N->getValueType(0).getVectorElementType(); in selectVSplatUimmInvPow2()
1028 ViaVecTy.getVectorElementType()); in trySelect()
DMipsCCState.cpp55 if (Ty.isVector() && Ty.getVectorElementType().isFloatingPoint()) in originalEVTTypeIsVectorFloat()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DMachineValueType.h396 MVT EltVT = getVectorElementType(); in getHalfNumVectorElementsVT()
416 return MVT::getVectorVT(getVectorElementType(), Pow2NElts); in getPow2VectorType()
421 return isVector() ? getVectorElementType() : *this; in getScalarType()
424 MVT getVectorElementType() const { in getVectorElementType() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp933 (VT.getVectorElementType() != MVT::f16 || Subtarget->hasFullFP16())) in addTypeForNEON()
2560 if (InVT.getVectorElementType() == MVT::f16 && in LowerVectorFP_TO_INT()
3416 RegVT.getVectorElementType() == MVT::i1) in LowerFormalArguments()
6509 MVT EltTy = VT.getVectorElementType().getSimpleVT(); in WidenVector()
6520 EVT EltType = V.getValueType().getVectorElementType(); in getExtFactor()
6529 MVT EltTy = VT.getVectorElementType().getSimpleVT(); in NarrowVector()
6606 EVT SmallestEltTy = VT.getVectorElementType(); in ReconstructShuffle()
6608 EVT SrcEltTy = Source.Vec.getValueType().getVectorElementType(); in ReconstructShuffle()
6629 EVT EltVT = SrcVT.getVectorElementType(); in ReconstructShuffle()
6683 EVT SrcEltTy = Src.ShuffleVec.getValueType().getVectorElementType(); in ReconstructShuffle()
[all …]
DAArch64TargetTransformInfo.h156 Type *Ty = DataType->getVectorElementType(); in isLegalMaskedLoadStore()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp925 LT.second.getVectorElementType() == in getShuffleCost()
926 SubLT.second.getVectorElementType() && in getShuffleCost()
927 LT.second.getVectorElementType().getSizeInBits() == in getShuffleCost()
928 Tp->getVectorElementType()->getPrimitiveSizeInBits()) { in getShuffleCost()
931 Type *VecTy = VectorType::get(Tp->getVectorElementType(), in getShuffleCost()
933 Type *SubTy = VectorType::get(Tp->getVectorElementType(), in getShuffleCost()
958 LegalVT.getVectorElementType().getSizeInBits() == in getShuffleCost()
959 Tp->getVectorElementType()->getPrimitiveSizeInBits() && in getShuffleCost()
969 Type *SingleOpTy = VectorType::get(Tp->getVectorElementType(), in getShuffleCost()
2522 VectorType *NewMaskTy = VectorType::get(MaskTy->getVectorElementType(), in getMaskedMemoryOpCost()
[all …]
DX86InterleavedAccess.cpp130 Type *ShuffleEltTy = ShuffleVecTy->getVectorElementType(); in isSupported()
227 unsigned ScalarSize = VT.getVectorElementType().getScalarSizeInBits() * 2; in scaleVectorType()
759 Type *ShuffleEltTy = ShuffleTy->getVectorElementType(); in lowerIntoOptimizedSequence()
DX86ISelLowering.cpp821 if (VT.getVectorElementType() == MVT::i1) in X86TargetLowering()
826 if (VT.getVectorElementType() == MVT::f16) in X86TargetLowering()
2082 VT.getVectorElementType() != MVT::i1) in getPreferredVectorAction()
2095 if (VT.isVector() && VT.getVectorElementType() == MVT::i1 && in getRegisterTypeForCallingConv()
2119 if (VT.isVector() && VT.getVectorElementType() == MVT::i1 && in getNumRegistersForCallingConv()
2140 if (VT.isVector() && VT.getVectorElementType() == MVT::i1 && in getVectorTypeBreakdownForCallingConv()
2186 MVT EltVT = LegalVT.getSimpleVT().getVectorElementType(); in getSetCCResultType()
2685 if (ValVT.isVector() && ValVT.getVectorElementType() == MVT::i1) in LowerReturn()
3952 Arg.getValueType().getVectorElementType() == MVT::i1) in LowerCall()
4987 Info.memVT = MVT::getVectorVT(DataVT.getVectorElementType(), NumElts); in getTgtMemIntrinsic()
[all …]
DX86ShuffleDecodeConstantPool.cpp41 Type *CstEltTy = CstTy->getVectorElementType(); in extractConstantMask()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DFunction.cpp638 getMangledTypeStr(VTy->getVectorElementType()); in getMangledTypeStr()
1041 Type *EltTy = VTy->getVectorElementType(); in DecodeFixedType()
1061 return VectorType::get(Ty->getVectorElementType(), in DecodeFixedType()
1267 EltTy = ThisArgType->getVectorElementType(); in matchIntrinsicType()
1316 dyn_cast<PointerType>(ThisArgVecTy->getVectorElementType()); in matchIntrinsicType()
1320 ReferenceType->getVectorElementType(); in matchIntrinsicType()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULowerKernelArguments.cpp155 V4Ty = VectorType::get(VT->getVectorElementType(), 4); in runOnFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelLowering.cpp166 MVT ElemTy = VT.getVectorElementType(); in addTypeForNEON()
322 setOperationAction(ISD::INSERT_VECTOR_ELT, VT.getVectorElementType(), Custom); in addMVEVectorTypes()
325 setOperationAction(ISD::BUILD_VECTOR, VT.getVectorElementType(), Custom); in addMVEVectorTypes()
5369 if (Op.getValueType().getVectorElementType() == MVT::i32) { in LowerVectorFP_TO_INT()
5370 if (Op.getOperand(0).getValueType().getVectorElementType() == MVT::f32) in LowerVectorFP_TO_INT()
5439 if (Op.getOperand(0).getValueType().getVectorElementType() == MVT::i32) { in LowerVectorINT_TO_FP()
5440 if (VT.getVectorElementType() == MVT::f32) in LowerVectorINT_TO_FP()
5956 EVT ElemTy = VT.getVectorElementType(); in LowerCTTZ()
6232 if (Op.getValueType().getVectorElementType() != MVT::i1) in LowerVSETCC()
6243 if (Op0.getValueType().getVectorElementType() == MVT::i64 && in LowerVSETCC()
[all …]

123