Home
last modified time | relevance | path

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

123456

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DValueTypes.h102 MVT EltTy = getSimpleVT().getVectorElementType(); in changeVectorElementTypeToInteger()
261 return isVector() ? getVectorElementType() : *this; in getScalarType()
265 EVT getVectorElementType() const { in getVectorElementType() function
268 return V.getVectorElementType(); in getVectorElementType()
343 EVT EltVT = getVectorElementType(); in widenIntegerVectorElementType()
352 EVT EltVT = getVectorElementType(); in getHalfNumVectorElementsVT()
370 return EVT::getVectorVT(Context, getVectorElementType(), Pow2NElts, in getPow2VectorType()
DBasicTTIImpl.h658 Type *SplitDst = VectorType::get(Dst->getVectorElementType(),
660 Type *SplitSrc = VectorType::get(Src->getVectorElementType(),
1270 Type *ScalarTy = Ty->getVectorElementType(); in getArithmeticReductionCost()
1308 Type *ScalarTy = Ty->getVectorElementType(); in getMinMaxReductionCost()
1309 Type *ScalarCondTy = CondTy->getVectorElementType(); in getMinMaxReductionCost()
/external/llvm/include/llvm/CodeGen/
DValueTypes.h83 MVT EltTy = getSimpleVT().getVectorElementType(); in changeVectorElementTypeToInteger()
234 return isVector() ? getVectorElementType() : *this; in getScalarType()
239 EVT getVectorElementType() const { in getVectorElementType() function
242 return V.getVectorElementType(); in getVectorElementType()
308 EVT EltVT = getVectorElementType(); in widenIntegerVectorElementType()
325 return EVT::getVectorVT(Context, getVectorElementType(), Pow2NElts); in getPow2VectorType()
DMachineValueType.h304 return MVT::getVectorVT(getVectorElementType(), Pow2NElts); in getPow2VectorType()
310 return isVector() ? getVectorElementType() : *this; in getScalarType()
313 MVT getVectorElementType() const { in getVectorElementType() function
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp176 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_BITCAST()
182 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_BUILD_VECTOR()
193 N->getValueType(0).getVectorElementType(), in ScalarizeVecRes_EXTRACT_SUBVECTOR()
198 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_FP_ROUND()
214 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_INSERT_VECTOR_ELT()
226 N->getValueType(0).getVectorElementType(), SDLoc(N), N->getChain(), in ScalarizeVecRes_LOAD()
228 N->getPointerInfo(), N->getMemoryVT().getVectorElementType(), in ScalarizeVecRes_LOAD()
240 EVT DestVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_UnaryOp()
254 EVT VT = OpVT.getVectorElementType(); in ScalarizeVecRes_UnaryOp()
263 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_InregOp()
[all …]
DLegalizeTypesGeneric.cpp216 EVT OldEltVT = OldVec.getValueType().getVectorElementType(); in ExpandRes_EXTRACT_VECTOR_ELT()
364 IntegerToVector(N->getOperand(0), NumElts, Ops, NVT.getVectorElementType()); in ExpandOp_BITCAST()
383 assert(OldVT == VecVT.getVectorElementType() && in ExpandOp_BUILD_VECTOR()
423 assert(OldEVT == VecVT.getVectorElementType() && in ExpandOp_INSERT_VECTOR_ELT()
452 assert(VT.getVectorElementType() == N->getOperand(0).getValueType() && in ExpandOp_SCALAR_TO_VECTOR()
DLegalizeVectorOps.cpp485 .getVectorElementType() in Promote()
487 NVT.isVector() && NVT.getVectorElementType().isFloatingPoint()) in Promote()
497 (VT.isVector() && VT.getVectorElementType().isFloatingPoint() && in Promote()
498 NVT.isVector() && NVT.getVectorElementType().isFloatingPoint())) in Promote()
1144 EVT EltVT = VT.getVectorElementType(); in ExpandStrictFPOp()
1192 EVT EltVT = VT.getVectorElementType(); in UnrollVSETCC()
1194 EVT TmpEltVT = LHS.getValueType().getVectorElementType(); in UnrollVSETCC()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp167 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_BITCAST()
173 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_BUILD_VECTOR()
183 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_CONVERT_RNDSAT()
195 N->getValueType(0).getVectorElementType(), in ScalarizeVecRes_EXTRACT_SUBVECTOR()
200 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_FP_ROUND()
216 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_INSERT_VECTOR_ELT()
228 N->getValueType(0).getVectorElementType(), in ScalarizeVecRes_LOAD()
233 N->getMemoryVT().getVectorElementType(), in ScalarizeVecRes_LOAD()
246 EVT DestVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_UnaryOp()
260 EVT VT = OpVT.getVectorElementType(); in ScalarizeVecRes_UnaryOp()
[all …]
DLegalizeVectorOps.cpp413 .getVectorElementType() in Promote()
415 NVT.isVector() && NVT.getVectorElementType().isFloatingPoint()) in Promote()
425 (VT.isVector() && VT.getVectorElementType().isFloatingPoint() && in Promote()
426 NVT.isVector() && NVT.getVectorElementType().isFloatingPoint())) in Promote()
825 unsigned EltWidth = VT.getVectorElementType().getSizeInBits(); in ExpandSIGN_EXTEND_VECTOR_INREG()
826 unsigned SrcEltWidth = SrcVT.getVectorElementType().getSizeInBits(); in ExpandSIGN_EXTEND_VECTOR_INREG()
1045 EVT EltVT = VT.getVectorElementType(); in UnrollVSETCC()
1047 EVT TmpEltVT = LHS.getValueType().getVectorElementType(); in UnrollVSETCC()
DLegalizeTypesGeneric.cpp219 EVT OldEltVT = OldVec.getValueType().getVectorElementType(); in ExpandRes_EXTRACT_VECTOR_ELT()
369 IntegerToVector(N->getOperand(0), NumElts, Ops, NVT.getVectorElementType()); in ExpandOp_BITCAST()
388 assert(OldVT == VecVT.getVectorElementType() && in ExpandOp_BUILD_VECTOR()
430 assert(OldEVT == VecVT.getVectorElementType() && in ExpandOp_INSERT_VECTOR_ELT()
459 assert(VT.getVectorElementType() == N->getOperand(0).getValueType() && in ExpandOp_SCALAR_TO_VECTOR()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonISelLoweringHVX.cpp211 assert(Tys.first.getVectorElementType() == Tys.second.getVectorElementType()); in typeJoin()
213 MVT ElemTy = Tys.first.getVectorElementType(); in typeJoin()
223 MVT HalfTy = MVT::getVectorVT(VecTy.getVectorElementType(), NumElem/2); in typeSplit()
229 MVT ElemTy = VecTy.getVectorElementType(); in typeExtElem()
236 MVT ElemTy = VecTy.getVectorElementType(); in typeTruncElem()
244 if (ty(Vec).getVectorElementType() == ElemTy) in opCastElem()
317 MVT ElemTy = OpTy.getVectorElementType(); in getByteShuffle()
347 MVT ElemTy = VecTy.getVectorElementType(); in buildHvxVectorReg()
355 if (VecTy.getVectorElementType() != MVT::i32) { in buildHvxVectorReg()
358 MVT PartVT = MVT::getVectorVT(VecTy.getVectorElementType(), OpsPerWord); in buildHvxVectorReg()
[all …]
DHexagonISelLowering.cpp816 MVT ElemTy = OpTy.getVectorElementType(); in LowerSETCC()
917 CValTy->getVectorElementType()->isIntegerTy(1)) { in LowerConstantPool()
1453 if (VT.getVectorElementType() != MVT::i32) { in HexagonTargetLowering()
1912 MVT ElemTy = VT.getSimpleVT().getVectorElementType(); in getPreferredVectorAction()
1979 unsigned ElemBytes = VecTy.getVectorElementType().getSizeInBits() / 8; in LowerVECTOR_SHUFFLE()
2130 MVT ElemTy = VecTy.getVectorElementType(); in getBuildVectorConstInts()
2159 MVT ElemTy = VecTy.getVectorElementType(); in buildVector32()
2242 MVT ElemTy = VecTy.getVectorElementType(); in buildVector64()
2306 VecTy.getVectorElementType() == ValTy.getVectorElementType()); in extractVector()
2309 unsigned ElemWidth = VecTy.getVectorElementType().getSizeInBits(); in extractVector()
[all …]
/external/llvm/lib/Target/X86/
DX86ShuffleDecodeConstantPool.cpp47 Type *EltTy = MaskTy->getVectorElementType(); in DecodePSHUFBMask()
119 Type *VecEltTy = MaskTy->getVectorElementType(); in DecodeVPERMILPMask()
172 Type *VecEltTy = MaskTy->getVectorElementType(); in DecodeVPERMIL2PMask()
241 Type *VecEltTy = MaskTy->getVectorElementType(); in DecodeVPPERMMask()
/external/llvm/lib/Target/AMDGPU/
DSITypeRewriter.cpp114 Arg->getType()->getVectorElementType() == in visitCallInst()
116 Type *ElementTy = Arg->getType()->getVectorElementType(); in visitCallInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DLowLevelType.cpp22 VT.getVectorNumElements(), VT.getVectorElementType().getSizeInBits(), in LLT()
/external/llvm/lib/Target/Mips/
DMipsSEISelDAGToDAG.cpp540 EVT EltTy = N->getValueType(0).getVectorElementType(); in selectVSplatCommon()
616 EVT EltTy = N->getValueType(0).getVectorElementType(); in selectVSplatUimmPow2()
647 EVT EltTy = N->getValueType(0).getVectorElementType(); in selectVSplatMaskL()
681 EVT EltTy = N->getValueType(0).getVectorElementType(); in selectVSplatMaskR()
703 EVT EltTy = N->getValueType(0).getVectorElementType(); in selectVSplatUimmInvPow2()
942 ViaVecTy.getVectorElementType()); in trySelect()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp703 if (VT.isFloatingPoint() && VT.getVectorElementType() != MVT::f16) in addTypeForNEON()
1925 if (InVT.getVectorElementType() == MVT::f16) { in LowerVectorFP_TO_INT()
2132 unsigned EltSize = VT.getVectorElementType().getSizeInBits(); in isExtendedBUILD_VECTOR()
2159 unsigned EltSize = VT.getVectorElementType().getSizeInBits() / 2; in skipExtensionForVectorMULL()
4898 MVT EltTy = VT.getVectorElementType().getSimpleVT(); in WidenVector()
4909 EVT EltType = V.getValueType().getVectorElementType(); in getExtFactor()
4918 MVT EltTy = VT.getVectorElementType().getSimpleVT(); in NarrowVector()
4988 EVT SmallestEltTy = VT.getVectorElementType(); in ReconstructShuffle()
4990 EVT SrcEltTy = Source.Vec.getValueType().getVectorElementType(); in ReconstructShuffle()
4996 VT.getVectorElementType().getSizeInBits() / SmallestEltTy.getSizeInBits(); in ReconstructShuffle()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DType.h306 return getVectorElementType(); in getScalarType()
371 Type *getVectorElementType() const { in getVectorElementType() function
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp818 (VT.getVectorElementType() != MVT::f16 || Subtarget->hasFullFP16())) in addTypeForNEON()
2249 if (InVT.getVectorElementType() == MVT::f16) { in LowerVectorFP_TO_INT()
5669 MVT EltTy = VT.getVectorElementType().getSimpleVT(); in WidenVector()
5680 EVT EltType = V.getValueType().getVectorElementType(); in getExtFactor()
5689 MVT EltTy = VT.getVectorElementType().getSimpleVT(); in NarrowVector()
5766 EVT SmallestEltTy = VT.getVectorElementType(); in ReconstructShuffle()
5768 EVT SrcEltTy = Source.Vec.getValueType().getVectorElementType(); in ReconstructShuffle()
5789 EVT EltVT = SrcVT.getVectorElementType(); in ReconstructShuffle()
5843 EVT SrcEltTy = Src.ShuffleVec.getValueType().getVectorElementType(); in ReconstructShuffle()
5846 assert(ShuffleVT.getVectorElementType() == SmallestEltTy); in ReconstructShuffle()
[all …]
/external/llvm/lib/IR/
DFunction.cpp526 getMangledTypeStr(Ty->getVectorElementType()); in getMangledTypeStr()
851 Type *EltTy = VTy->getVectorElementType(); in DecodeFixedType()
1030 return matchIntrinsicType(ThisArgType->getVectorElementType(), in matchIntrinsicType()
1051 dyn_cast<PointerType>(ThisArgVecTy->getVectorElementType()); in matchIntrinsicType()
1055 ReferenceType->getVectorElementType(); in matchIntrinsicType()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsSEISelDAGToDAG.cpp606 EVT EltTy = N->getValueType(0).getVectorElementType(); in selectVSplatCommon()
682 EVT EltTy = N->getValueType(0).getVectorElementType(); in selectVSplatUimmPow2()
713 EVT EltTy = N->getValueType(0).getVectorElementType(); in selectVSplatMaskL()
747 EVT EltTy = N->getValueType(0).getVectorElementType(); in selectVSplatMaskR()
769 EVT EltTy = N->getValueType(0).getVectorElementType(); in selectVSplatUimmInvPow2()
1062 ViaVecTy.getVectorElementType()); in trySelect()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp734 if (VT.getVectorElementType() == MVT::i1) in X86TargetLowering()
739 if (VT.getVectorElementType() == MVT::f16) in X86TargetLowering()
1796 VT.getVectorElementType().getSimpleVT() != MVT::i1) in getPreferredVectorAction()
1840 MVT EltVT = LegalVT.getSimpleVT().getVectorElementType(); in getSetCCResultType()
2322 if (ValVT.isVector() && ValVT.getVectorElementType() == MVT::i1) in LowerReturn()
3610 Arg.getValueType().getVectorElementType() == MVT::i1) in LowerCall()
4705 if (ResVT.getVectorElementType() == MVT::i1) in isExtractSubvectorCheap()
5013 if (!In64BitMode && VT.getVectorElementType() == MVT::i64) { in getConstVector()
5018 MVT EltVT = ConstVecVT.getVectorElementType(); in getConstVector()
5044 if (!In64BitMode && VT.getVectorElementType() == MVT::i64) { in getConstVector()
[all …]
/external/llvm/lib/CodeGen/
DTargetLoweringBase.cpp997 EVT::getVectorVT(Context, SVT.getVectorElementType(), in getTypeConversion()
1000 return LegalizeKind(LA, SVT.getVectorElementType()); in getTypeConversion()
1026 EVT EltVT = VT.getVectorElementType(); in getTypeConversion()
1121 MVT EltTy = VT.getVectorElementType(); in getVectorTypeBreakdownMVT()
1393 MVT EltVT = VT.getVectorElementType(); in computeRegisterProperties()
1405 if (SVT.getVectorElementType().getSizeInBits() > EltVT.getSizeInBits() && in computeRegisterProperties()
1422 if (SVT.getVectorElementType() == EltVT in computeRegisterProperties()
1523 EVT EltTy = VT.getVectorElementType(); in getVectorTypeBreakdown()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DTargetLoweringBase.cpp738 EVT::getVectorVT(Context, SVT.getVectorElementType(), in getTypeConversion()
741 return LegalizeKind(LA, SVT.getVectorElementType()); in getTypeConversion()
767 EVT EltVT = VT.getVectorElementType(); in getTypeConversion()
862 MVT EltTy = VT.getVectorElementType(); in getVectorTypeBreakdownMVT()
1163 MVT EltVT = VT.getVectorElementType(); in computeRegisterProperties()
1193 if (SVT.getVectorElementType() == EltVT in computeRegisterProperties()
1294 EVT EltTy = VT.getVectorElementType(); in getVectorTypeBreakdown()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DMachineValueType.h408 return MVT::getVectorVT(getVectorElementType(), Pow2NElts); in getPow2VectorType()
413 return isVector() ? getVectorElementType() : *this; in getScalarType()
416 MVT getVectorElementType() const { in getVectorElementType() function

123456