Home
last modified time | relevance | path

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

12345678

/external/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()
/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/llvm-project/llvm/include/llvm/CodeGen/
DValueTypes.h286 return isVector() ? getVectorElementType() : *this; in getScalarType()
290 EVT getVectorElementType() const { in getVectorElementType() function
293 return V.getVectorElementType(); in getVectorElementType()
399 EVT EltVT = getVectorElementType(); in widenIntegerVectorElementType()
408 EVT EltVT = getVectorElementType(); in getHalfNumVectorElementsVT()
418 EVT EltVT = getVectorElementType(); in getDoubleNumVectorElementsVT()
436 return EVT::getVectorVT(Context, getVectorElementType(), NElts); in getPow2VectorType()
/external/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()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp214 EVT VT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_StrictFPOp()
263 ResVT.getVectorElementType(), OvVT.getVectorElementType()); in ScalarizeVecRes_OverflowOp()
294 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_BITCAST()
300 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_BUILD_VECTOR()
311 N->getValueType(0).getVectorElementType(), in ScalarizeVecRes_EXTRACT_SUBVECTOR()
316 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_FP_ROUND()
332 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_INSERT_VECTOR_ELT()
344 N->getValueType(0).getVectorElementType(), SDLoc(N), N->getChain(), in ScalarizeVecRes_LOAD()
346 N->getPointerInfo(), N->getMemoryVT().getVectorElementType(), in ScalarizeVecRes_LOAD()
357 EVT DestVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_UnaryOp()
[all …]
DLegalizeTypesGeneric.cpp213 EVT OldEltVT = OldVec.getValueType().getVectorElementType(); in ExpandRes_EXTRACT_VECTOR_ELT()
360 IntegerToVector(N->getOperand(0), NumElts, Ops, NVT.getVectorElementType()); in ExpandOp_BITCAST()
379 assert(OldVT == VecVT.getVectorElementType() && in ExpandOp_BUILD_VECTOR()
419 assert(OldEVT == VecVT.getVectorElementType() && in ExpandOp_INSERT_VECTOR_ELT()
448 assert(VT.getVectorElementType() == N->getOperand(0).getValueType() && in ExpandOp_SCALAR_TO_VECTOR()
532 if (Cond.getValueType().getVectorElementType() == MVT::i1 && in SplitRes_SELECT()
DLegalizeVectorOps.cpp354 EVT EltVT = ValVT.getVectorElementType(); in LegalizeOp()
602 .getVectorElementType() in Promote()
604 NVT.isVector() && NVT.getVectorElementType().isFloatingPoint()) in Promote()
616 (VT.isVector() && VT.getVectorElementType().isFloatingPoint() && in Promote()
617 NVT.isVector() && NVT.getVectorElementType().isFloatingPoint())) in Promote()
1394 EVT EltVT = VT.getVectorElementType(); in UnrollStrictFPOp()
1425 OperVT.getVectorElementType(), Oper, Idx); in UnrollStrictFPOp()
1455 EVT EltVT = VT.getVectorElementType(); in UnrollVSETCC()
1459 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-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 …]
/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-project/llvm/lib/Target/Hexagon/
DHexagonISelLoweringHVX.cpp271 MVT ElemTy = VecTy.getVectorElementType(); in getPreferredHvxVectorAction()
312 assert(Tys.first.getVectorElementType() == Tys.second.getVectorElementType()); in typeJoin()
314 MVT ElemTy = Tys.first.getVectorElementType(); in typeJoin()
324 MVT HalfTy = MVT::getVectorVT(VecTy.getVectorElementType(), NumElem/2); in typeSplit()
330 MVT ElemTy = VecTy.getVectorElementType(); in typeExtElem()
337 MVT ElemTy = VecTy.getVectorElementType(); in typeTruncElem()
345 if (ty(Vec).getVectorElementType() == ElemTy) in opCastElem()
382 Ty.getVectorElementType() == MVT::i1; in isHvxBoolTy()
449 MVT ElemTy = OpTy.getVectorElementType(); in getByteShuffle()
479 MVT ElemTy = VecTy.getVectorElementType(); in buildHvxVectorReg()
[all …]
DHexagonSubtarget.cpp132 Ty = Ty.getVectorElementType(); in isHVXElementType()
142 MVT ElemTy = VecTy.getVectorElementType(); in isHVXVectorType()
174 if (Ty.getSizeInBits() <= 64 || !Ty.getVectorElementType().isSimple()) in isTypeForHVX()
186 MVT ElemTy = Ty.getVectorElementType().getSimpleVT(); in isTypeForHVX()
DHexagonISelLowering.cpp1017 MVT ElemTy = OpTy.getVectorElementType(); in LowerSETCC()
1075 MVT ElemTy = OpTy.getVectorElementType(); in LowerVSELECT()
1645 if (VT.getVectorElementType() != MVT::i32) { in HexagonTargetLowering()
1685 if (NativeVT.getVectorElementType() != MVT::i1) in HexagonTargetLowering()
2076 MVT ElemTy = VT.getVectorElementType(); in getPreferredVectorAction()
2142 unsigned ElemBytes = VecTy.getVectorElementType().getSizeInBits() / 8; in LowerVECTOR_SHUFFLE()
2303 MVT ElemTy = VecTy.getVectorElementType(); in getBuildVectorConstInts()
2332 MVT ElemTy = VecTy.getVectorElementType(); in buildVector32()
2414 MVT ElemTy = VecTy.getVectorElementType(); in buildVector64()
2477 VecTy.getVectorElementType() == ValTy.getVectorElementType()); in extractVector()
[all …]
/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-10.0/llvm/lib/Support/
DLowLevelType.cpp21 VT.getVectorNumElements(), VT.getVectorElementType().getSizeInBits(), in LLT()
/external/llvm-project/llvm/lib/Support/
DLowLevelType.cpp21 VT.getVectorNumElements(), VT.getVectorElementType().getSizeInBits(), in LLT()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DLowLevelType.cpp59 Ty.getVectorElementType().getSizeInBits()); in getLLTForMVT()
/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-project/llvm/lib/CodeGen/
DLowLevelType.cpp60 Ty.getVectorElementType().getSizeInBits()); in getLLTForMVT()
/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-10.0/llvm/include/llvm/IR/
DType.h309 return getVectorElementType(); in getScalarType()
376 Type *getVectorElementType() const { in getVectorElementType() function

12345678