/external/llvm/include/llvm/CodeGen/ |
D | ValueTypes.h | 83 MVT EltTy = getSimpleVT().getVectorElementType(); in changeVectorElementTypeToInteger() 229 return isVector() ? getVectorElementType() : *this; in getScalarType() 234 EVT getVectorElementType() const { in getVectorElementType() function 237 return V.getVectorElementType(); in getVectorElementType() 303 EVT EltVT = getVectorElementType(); in widenIntegerVectorElementType() 320 return EVT::getVectorVT(Context, getVectorElementType(), Pow2NElts); in getPow2VectorType()
|
D | MachineValueType.h | 297 return MVT::getVectorVT(getVectorElementType(), Pow2NElts); in getPow2VectorType() 303 return isVector() ? getVectorElementType() : *this; in getScalarType() 306 MVT getVectorElementType() const { in getVectorElementType() function
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeVectorTypes.cpp | 167 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 …]
|
D | LegalizeVectorOps.cpp | 413 .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() 843 unsigned EltWidth = VT.getVectorElementType().getSizeInBits(); in ExpandSIGN_EXTEND_VECTOR_INREG() 844 unsigned SrcEltWidth = SrcVT.getVectorElementType().getSizeInBits(); in ExpandSIGN_EXTEND_VECTOR_INREG() 1028 EVT EltVT = VT.getVectorElementType(); in UnrollVSETCC() 1030 EVT TmpEltVT = LHS.getValueType().getVectorElementType(); in UnrollVSETCC()
|
D | LegalizeTypesGeneric.cpp | 219 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()
|
D | LegalizeTypes.cpp | 800 Op.getValueType().getVectorElementType().getSizeInBits() && in SetScalarizedVector() 875 assert(Lo.getValueType().getVectorElementType() == in SetSplitVector() 876 Op.getValueType().getVectorElementType() && in SetSplitVector() 919 unsigned EltWidth = Op.getValueType().getVectorElementType().getSizeInBits(); in BitConvertVectorToIntegerVector()
|
D | LegalizeDAG.cpp | 611 EVT EltVT = VT.getVectorElementType(); in PerformInsertVectorEltInMemory() 647 EVT EltVT = Vec.getValueType().getVectorElementType(); in ExpandINSERT_VECTOR_ELT() 1506 Vec.getValueType().getVectorElementType().getSizeInBits()/8; in ExpandExtractFromVectorThroughStack() 1521 Vec.getValueType().getVectorElementType(), false, false, false, 0); in ExpandExtractFromVectorThroughStack() 1559 Vec.getValueType().getVectorElementType().getSizeInBits()/8; in ExpandInsertToVectorThroughStack() 1583 EVT EltVT = VT.getVectorElementType(); in ExpandVectorBuildThroughStack() 1976 Node->getValueType(0).getVectorElementType(), false, false, 0); in ExpandSCALAR_TO_VECTOR() 2085 EVT EltVT = VT.getVectorElementType(); in ExpandBUILD_VECTOR() 3217 EVT EltVT = VT.getVectorElementType(); in ExpandNode() 4461 MVT EltVT = OVT.getVectorElementType(); in PromoteNode() [all …]
|
D | LegalizeIntegerTypes.cpp | 1055 N->getValueType(0).getVectorElementType().getSizeInBits() && in PromoteIntOp_BUILD_VECTOR() 1085 N->getValueType(0).getVectorElementType().getSizeInBits() && in PromoteIntOp_INSERT_VECTOR_ELT() 3136 EVT NOutVTElem = NOutVT.getVectorElementType(); in PromoteIntRes_EXTRACT_SUBVECTOR() 3149 InVT.getVectorElementType(), N->getOperand(0), Index); in PromoteIntRes_EXTRACT_SUBVECTOR() 3180 EVT NOutVTElem = NOutVT.getVectorElementType(); in PromoteIntRes_BUILD_VECTOR() 3212 EVT NOutVTElem = NOutVT.getVectorElementType(); in PromoteIntRes_SCALAR_TO_VECTOR() 3226 EVT InElemTy = OutVT.getVectorElementType(); in PromoteIntRes_CONCAT_VECTORS() 3227 EVT OutElemTy = NOutVT.getVectorElementType(); in PromoteIntRes_CONCAT_VECTORS() 3255 EVT NOutVTElem = NOutVT.getVectorElementType(); in PromoteIntRes_INSERT_VECTOR_ELT() 3284 MVT OutVT = MVT::getVectorVT(InVT.getVectorElementType(), in PromoteIntOp_EXTRACT_SUBVECTOR() [all …]
|
/external/llvm/lib/Target/AMDGPU/ |
D | SITypeRewriter.cpp | 111 Arg->getType()->getVectorElementType() == in visitCallInst() 113 Type *ElementTy = Arg->getType()->getVectorElementType(); in visitCallInst()
|
D | AMDGPUISelLowering.cpp | 1167 EVT MemEltVT = MemVT.getVectorElementType(); in ScalarizeVectorLoad() 1170 EVT EltVT = LoadVT.getVectorElementType(); in ScalarizeVectorLoad() 1274 EVT ElemVT = VT.getVectorElementType(); in MergeVectorStore() 1276 EVT MemEltVT = MemVT.getVectorElementType(); in MergeVectorStore() 1319 EVT MemEltVT = Store->getMemoryVT().getVectorElementType(); in ScalarizeVectorStore() 1320 EVT EltVT = Store->getValue().getValueType().getVectorElementType(); in ScalarizeVectorStore() 2601 VT = Ins[i].ArgVT.getVectorElementType(); in getOriginalFunctionArgs() 2603 Ins[i].ArgVT.getVectorElementType() != in getOriginalFunctionArgs() 2604 Ins[i].VT.getVectorElementType()) { in getOriginalFunctionArgs()
|
/external/llvm/lib/Target/Mips/ |
D | MipsSEISelDAGToDAG.cpp | 524 EVT EltTy = N->getValueType(0).getVectorElementType(); in selectVSplatCommon() 600 EVT EltTy = N->getValueType(0).getVectorElementType(); in selectVSplatUimmPow2() 631 EVT EltTy = N->getValueType(0).getVectorElementType(); in selectVSplatMaskL() 665 EVT EltTy = N->getValueType(0).getVectorElementType(); in selectVSplatMaskR() 687 EVT EltTy = N->getValueType(0).getVectorElementType(); in selectVSplatUimmInvPow2() 925 ViaVecTy.getVectorElementType()); in selectNode()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 701 if (VT.isFloatingPoint() && VT.getVectorElementType() != MVT::f16) in addTypeForNEON() 1854 if (InVT.getVectorElementType() == MVT::f16) { in LowerVectorFP_TO_INT() 2061 unsigned EltSize = VT.getVectorElementType().getSizeInBits(); in isExtendedBUILD_VECTOR() 2088 unsigned EltSize = VT.getVectorElementType().getSizeInBits() / 2; in skipExtensionForVectorMULL() 4803 MVT EltTy = VT.getVectorElementType().getSimpleVT(); in WidenVector() 4814 EVT EltType = V.getValueType().getVectorElementType(); in getExtFactor() 4823 MVT EltTy = VT.getVectorElementType().getSimpleVT(); in NarrowVector() 4892 EVT SmallestEltTy = VT.getVectorElementType(); in ReconstructShuffle() 4894 EVT SrcEltTy = Source.Vec.getValueType().getVectorElementType(); in ReconstructShuffle() 4900 VT.getVectorElementType().getSizeInBits() / SmallestEltTy.getSizeInBits(); in ReconstructShuffle() [all …]
|
D | AArch64TargetTransformInfo.cpp | 416 Src->getVectorElementType()->isIntegerTy(64)) { in getMemoryOpCost() 427 if (Src->isVectorTy() && Src->getVectorElementType()->isIntegerTy(8) && in getMemoryOpCost()
|
/external/llvm/lib/Target/X86/Utils/ |
D | X86ShuffleDecode.cpp | 128 unsigned Offset = Imm * (VT.getVectorElementType().getSizeInBits() / 8); in DecodePALIGNRMask() 317 if (MaskTy->isVectorTy() && MaskTy->getVectorElementType()->isIntegerTy(8)) { in DecodePSHUFBMask() 394 assert(MaskTy->getVectorElementType()->isIntegerTy() && in DecodeVPERMILPMask()
|
/external/llvm/lib/CodeGen/ |
D | TargetLoweringBase.cpp | 915 EVT::getVectorVT(Context, SVT.getVectorElementType(), in getTypeConversion() 918 return LegalizeKind(LA, SVT.getVectorElementType()); in getTypeConversion() 944 EVT EltVT = VT.getVectorElementType(); in getTypeConversion() 1039 MVT EltTy = VT.getVectorElementType(); in getVectorTypeBreakdownMVT() 1277 MVT EltVT = VT.getVectorElementType(); in computeRegisterProperties() 1289 if (SVT.getVectorElementType().getSizeInBits() > EltVT.getSizeInBits() in computeRegisterProperties() 1307 if (SVT.getVectorElementType() == EltVT in computeRegisterProperties() 1408 EVT EltTy = VT.getVectorElementType(); in getVectorTypeBreakdown()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 763 if (VT.getVectorElementType() == MVT::i1) in X86TargetLowering() 768 if (VT.getVectorElementType() == MVT::f16) in X86TargetLowering() 1576 unsigned EltSize = VT.getVectorElementType().getSizeInBits(); in X86TargetLowering() 1591 if (VT.getVectorElementType() == MVT::i1) in X86TargetLowering() 1857 VT.getVectorElementType().getSimpleVT() != MVT::i1) in getPreferredVectorAction() 1871 const MVT EltVT = VVT.getVectorElementType(); in getSetCCResultType() 2225 if (ValVT.isVector() && ValVT.getVectorElementType() == MVT::i1) in LowerReturn() 3203 Arg.getValueType().getVectorElementType() == MVT::i1) in LowerCall() 4251 unsigned ElSize = VT.getVectorElementType().getSizeInBits(); in isVEXTRACTIndex() 4269 unsigned ElSize = VT.getVectorElementType().getSizeInBits(); in isVINSERTIndex() [all …]
|
/external/llvm/lib/IR/ |
D | ValueTypes.cpp | 29 EVT IntTy = getIntegerVT(Context, getVectorElementType().getSizeInBits()); in changeExtendedVectorElementTypeToInteger() 120 getVectorElementType().getEVTString(); in getEVTString()
|
D | Function.cpp | 491 getMangledTypeStr(Ty->getVectorElementType()); in getMangledTypeStr() 824 Type *EltTy = VTy->getVectorElementType(); in DecodeFixedType()
|
D | ConstantFold.cpp | 784 return UndefValue::get(Val->getType()->getVectorElementType()); in ConstantFoldExtractElementInstruction() 786 return Constant::getNullValue(Val->getType()->getVectorElementType()); in ConstantFoldExtractElementInstruction() 789 return UndefValue::get(Val->getType()->getVectorElementType()); in ConstantFoldExtractElementInstruction() 794 return UndefValue::get(Val->getType()->getVectorElementType()); in ConstantFoldExtractElementInstruction() 834 Type *EltTy = V1->getType()->getVectorElementType(); in ConstantFoldShuffleVectorInstruction()
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 98 MVT ElemTy = VT.getVectorElementType(); in addTypeForNEON() 3893 if (Op.getValueType().getVectorElementType() == MVT::i32) { in LowerVectorFP_TO_INT() 3894 if (Op.getOperand(0).getValueType().getVectorElementType() == MVT::f32) in LowerVectorFP_TO_INT() 3931 if (Op.getOperand(0).getValueType().getVectorElementType() == MVT::i32) { in LowerVectorINT_TO_FP() 3932 if (VT.getVectorElementType() == MVT::f32) in LowerVectorINT_TO_FP() 4352 EVT ElemTy = VT.getVectorElementType(); in LowerCTTZ() 4528 if (VT.getVectorElementType() == MVT::i32) in LowerCTPOP() 4621 if (CmpVT.getVectorElementType() == MVT::i64) in LowerVSETCC() 5045 unsigned EltSz = VT.getVectorElementType().getSizeInBits(); in isVREVMask() 5096 unsigned EltSz = VT.getVectorElementType().getSizeInBits(); in isVTRNMask() [all …]
|
D | ARMTargetTransformInfo.cpp | 257 if (ValTy->getVectorElementType()->isIntegerTy()) in getVectorInstrCost() 464 Src->getVectorElementType()->isDoubleTy()) { in getMemoryOpCost()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXISelLowering.cpp | 96 ValueVTs.push_back(VT.getVectorElementType()); in ComputePTXValueVTs() 98 Offsets->push_back(Off+j*VT.getVectorElementType().getStoreSize()); in ComputePTXValueVTs() 1158 EVT EltVT = ObjectVT.getVectorElementType(); in LowerCall() 1488 EVT EltVT = ObjectVT.getVectorElementType(); in LowerCall() 1674 EVT EltVT = VVT.getVectorElementType(); in LowerCONCAT_VECTORS() 1943 EVT EltVT = ValVT.getVectorElementType(); in LowerSTOREVector() 2196 EVT EltVT = ObjectVT.getVectorElementType(); in LowerFormalArguments() 2377 EVT EltVT = getValueType(TD, RetTy).getVectorElementType(); in LowerReturn() 2499 TheValType.getVectorElementType(), TmpVal, in LowerReturn() 4319 EVT EltVT = ResVT.getVectorElementType(); in ReplaceLoadVector() [all …]
|
/external/llvm/include/llvm/IR/ |
D | Type.h | 356 Type *getVectorElementType() const { return getSequentialElementType(); } in getVectorElementType() function
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 2969 switch (VT.getVectorElementType().getSizeInBits()) { in lowerCTPOP() 3491 unsigned BytesPerElement = VT.getVectorElementType().getStoreSize(); in getVPermMask() 3630 unsigned BytesPerElement = VT.getVectorElementType().getStoreSize(); in addUndef() 3640 unsigned BytesPerElement = VT.getVectorElementType().getStoreSize(); in add() 3646 unsigned FromBytesPerElement = FromVT.getVectorElementType().getStoreSize(); in add() 3833 EVT ElemVT = BVN->getValueType(0).getVectorElementType(); in tryBuildVectorByteMask() 4204 MVT IntVT = MVT::getIntegerVT(VT.getVectorElementType().getSizeInBits()); in lowerINSERT_VECTOR_ELT() 4244 unsigned ToBits = OutVT.getVectorElementType().getSizeInBits(); in lowerExtendVectorInreg() 4245 unsigned FromBits = InVT.getVectorElementType().getSizeInBits(); in lowerExtendVectorInreg() 4262 unsigned ElemBitSize = VT.getVectorElementType().getSizeInBits(); in lowerShift() [all …]
|
D | SystemZISelLowering.h | 363 if (VT.getVectorElementType().getSizeInBits() % 8 == 0) in getPreferredVectorAction()
|