Home
last modified time | relevance | path

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

1234

/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/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp139 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_BITCAST()
145 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_CONVERT_RNDSAT()
157 N->getValueType(0).getVectorElementType(), in ScalarizeVecRes_EXTRACT_SUBVECTOR()
162 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_FP_ROUND()
178 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_INSERT_VECTOR_ELT()
190 N->getValueType(0).getVectorElementType(), in ScalarizeVecRes_LOAD()
195 N->getMemoryVT().getVectorElementType(), in ScalarizeVecRes_LOAD()
207 EVT DestVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_UnaryOp()
213 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_InregOp()
214 EVT ExtVT = cast<VTSDNode>(N->getOperand(1))->getVT().getVectorElementType(); in ScalarizeVecRes_InregOp()
[all …]
DLegalizeTypesGeneric.cpp83 EVT InNVT = EVT::getVectorVT(*DAG.getContext(), InVT.getVectorElementType(), in ExpandRes_BITCAST()
306 assert(OldVT == VecVT.getVectorElementType() && in ExpandOp_BUILD_VECTOR()
348 assert(OldEVT == VecVT.getVectorElementType() && in ExpandOp_INSERT_VECTOR_ELT()
376 assert(VT.getVectorElementType() == N->getOperand(0).getValueType() && in ExpandOp_SCALAR_TO_VECTOR()
450 assert(Cond.getValueType().getVectorElementType() == MVT::i1 && in SplitRes_SELECT()
DLegalizeTypes.cpp755 assert(Result.getValueType() == Op.getValueType().getVectorElementType() && in SetScalarizedVector()
830 assert(Lo.getValueType().getVectorElementType() == in SetSplitVector()
831 Op.getValueType().getVectorElementType() && in SetSplitVector()
874 unsigned EltWidth = Op.getValueType().getVectorElementType().getSizeInBits(); in BitConvertVectorToIntegerVector()
966 InVT.getVectorElementType(), NumElements/2); in GetSplitDestVTs()
DLegalizeVectorOps.cpp351 EVT EltVT = VT.getVectorElementType(); in UnrollVSETCC()
353 EVT TmpEltVT = LHS.getValueType().getVectorElementType(); in UnrollVSETCC()
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DValueTypes.h177 return MVT::getVectorVT(getVectorElementType(), Pow2NElts); in getPow2VectorType()
183 return isVector() ? getVectorElementType() : *this; in getScalarType()
186 MVT getVectorElementType() const { in getVectorElementType() function
447 MVT EltTy = getSimpleVT().getVectorElementType(); in changeVectorElementTypeToInteger()
570 return isVector() ? getVectorElementType() : *this; in getScalarType()
575 EVT getVectorElementType() const { in getVectorElementType() function
578 return V.getVectorElementType(); in getVectorElementType()
649 return EVT::getVectorVT(Context, getVectorElementType(), Pow2NElts); in getPow2VectorType()
/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()
DLegalizeTypes.cpp798 Op.getValueType().getVectorElementType().getSizeInBits() && in SetScalarizedVector()
873 assert(Lo.getValueType().getVectorElementType() == in SetSplitVector()
874 Op.getValueType().getVectorElementType() && in SetSplitVector()
916 unsigned EltWidth = Op.getValueType().getVectorElementType().getSizeInBits(); in BitConvertVectorToIntegerVector()
DLegalizeDAG.cpp328 EVT EltVT = VT.getVectorElementType(); in PerformInsertVectorEltInMemory()
364 EVT EltVT = Vec.getValueType().getVectorElementType(); in ExpandINSERT_VECTOR_ELT()
1225 Vec.getValueType().getVectorElementType().getSizeInBits()/8; in ExpandExtractFromVectorThroughStack()
1240 Vec.getValueType().getVectorElementType(), false, false, false, 0); in ExpandExtractFromVectorThroughStack()
1278 Vec.getValueType().getVectorElementType().getSizeInBits()/8; in ExpandInsertToVectorThroughStack()
1302 EVT EltVT = VT.getVectorElementType(); in ExpandVectorBuildThroughStack()
1720 Node->getValueType(0).getVectorElementType(), false, false, 0); in ExpandSCALAR_TO_VECTOR()
1829 EVT EltVT = VT.getVectorElementType(); in ExpandBUILD_VECTOR()
2998 EVT EltVT = VT.getVectorElementType(); in ExpandNode()
4244 MVT EltVT = OVT.getVectorElementType(); in PromoteNode()
[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/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 …]
DAArch64TargetTransformInfo.cpp471 Src->getVectorElementType()->isIntegerTy(64)) { in getMemoryOpCost()
482 if (Src->isVectorTy() && Src->getVectorElementType()->isIntegerTy(8) && in getMemoryOpCost()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DValueTypes.cpp24 EVT IntTy = getIntegerVT(Context, getVectorElementType().getSizeInBits()); in changeExtendedVectorElementTypeToInteger()
100 getVectorElementType().getEVTString(); in getEVTString()
/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()
DValueTypes.cpp29 EVT IntTy = getIntegerVT(Context, getVectorElementType().getSizeInBits()); in changeExtendedVectorElementTypeToInteger()
125 getVectorElementType().getEVTString(); in getEVTString()
/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/llvm/lib/Target/ARM/
DARMISelLowering.cpp98 MVT ElemTy = VT.getVectorElementType(); in addTypeForNEON()
4156 if (Op.getValueType().getVectorElementType() == MVT::i32) { in LowerVectorFP_TO_INT()
4157 if (Op.getOperand(0).getValueType().getVectorElementType() == MVT::f32) in LowerVectorFP_TO_INT()
4194 if (Op.getOperand(0).getValueType().getVectorElementType() == MVT::i32) { in LowerVectorINT_TO_FP()
4195 if (VT.getVectorElementType() == MVT::f32) in LowerVectorINT_TO_FP()
4615 EVT ElemTy = VT.getVectorElementType(); in LowerCTTZ()
4791 if (VT.getVectorElementType() == MVT::i32) in LowerCTPOP()
4884 if (CmpVT.getVectorElementType() == MVT::i64) in LowerVSETCC()
5332 unsigned EltSz = VT.getVectorElementType().getSizeInBits(); in isVREVMask()
5383 unsigned EltSz = VT.getVectorElementType().getSizeInBits(); in isVTRNMask()
[all …]
/external/spirv-llvm/lib/SPIRV/
DOCL20ToSPIRV.cpp835 TargetTy = TargetTy->getVectorElementType(); in visitCallConvert()
837 SrcTy = SrcTy->getVectorElementType(); in visitCallConvert()
1112 Constant::getNullValue(NCI->getType()->getVectorElementType())); in visitCallGetImageSize()
1145 TargetTy = TargetTy->getVectorElementType(); in eraseUselessConvert()
1147 SrcTy = SrcTy->getVectorElementType(); in eraseUselessConvert()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMISelLowering.cpp108 EVT ElemTy = VT.getVectorElementType(); in addTypeForNEON()
3742 unsigned EltSz = VT.getVectorElementType().getSizeInBits(); in isVREVMask()
3773 unsigned EltSz = VT.getVectorElementType().getSizeInBits(); in isVTRNMask()
3792 unsigned EltSz = VT.getVectorElementType().getSizeInBits(); in isVTRN_v_undef_Mask()
3808 unsigned EltSz = VT.getVectorElementType().getSizeInBits(); in isVUZPMask()
3832 unsigned EltSz = VT.getVectorElementType().getSizeInBits(); in isVUZP_v_undef_Mask()
3857 unsigned EltSz = VT.getVectorElementType().getSizeInBits(); in isVZIPMask()
3883 unsigned EltSz = VT.getVectorElementType().getSizeInBits(); in isVZIP_v_undef_Mask()
3988 unsigned EltSize = VT.getVectorElementType().getSizeInBits(); in LowerBUILD_VECTOR()
3995 if (VT.getVectorElementType().isFloatingPoint()) { in LowerBUILD_VECTOR()
[all …]
/external/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp96 ValueVTs.push_back(VT.getVectorElementType()); in ComputePTXValueVTs()
98 Offsets->push_back(Off+j*VT.getVectorElementType().getStoreSize()); in ComputePTXValueVTs()
1160 EVT EltVT = ObjectVT.getVectorElementType(); in LowerCall()
1494 EVT EltVT = ObjectVT.getVectorElementType(); in LowerCall()
1688 EVT EltVT = VVT.getVectorElementType(); in LowerCONCAT_VECTORS()
1957 EVT EltVT = ValVT.getVectorElementType(); in LowerSTOREVector()
2211 EVT EltVT = ObjectVT.getVectorElementType(); in LowerFormalArguments()
2391 EVT EltVT = getValueType(TD, RetTy).getVectorElementType(); in LowerReturn()
2513 TheValType.getVectorElementType(), TmpVal, in LowerReturn()
4330 EVT EltVT = ResVT.getVectorElementType(); in ReplaceLoadVector()
[all …]

1234