/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | ValueTypes.h | 340 ElementCount getVectorElementCount() const { in getVectorElementCount() function 343 return V.getVectorElementCount(); in getVectorElementCount() 350 return getVectorElementCount().getKnownMinValue(); in getVectorMinNumElements() 432 return EVT::getVectorVT(Context, EltVT, getVectorElementCount()); in widenIntegerVectorElementType() 440 auto EltCnt = getVectorElementCount(); in getHalfNumVectorElementsVT() 450 auto EltCnt = getVectorElementCount(); in getDoubleNumVectorElementsVT() 464 ElementCount NElts = getVectorElementCount(); in getPow2VectorType()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGenTypes/ |
H A D | MachineValueType.h | 190 MVT VecTy = MVT::getVectorVT(IntTy, getVectorElementCount()); in changeVectorElementTypeToInteger() 199 MVT VecTy = MVT::getVectorVT(EltVT, getVectorElementCount()); in changeVectorElementType() 218 auto EltCnt = getVectorElementCount(); in getHalfNumVectorElementsVT() 227 auto EltCnt = getVectorElementCount(); in getDoubleNumVectorElementsVT() 243 ElementCount NElts = getVectorElementCount(); in getPow2VectorType() 279 ElementCount getVectorElementCount() const { in getVectorElementCount() function
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ValueTypes.cpp | 29 return getVectorVT(Context, IntTy, getVectorElementCount()); in changeExtendedVectorElementTypeToInteger() 35 return getVectorVT(Context, EltVT, getVectorElementCount()); in changeExtendedVectorElementType() 166 utostr(getVectorElementCount().getKnownMinValue()) + in getEVTString()
|
H A D | TargetLoweringBase.cpp | 966 ElementCount NumElts = VT.getVectorElementCount(); in getTypeConversion() 991 if (VT.getVectorElementCount().isScalable()) in getTypeConversion() 1054 if (VT.getVectorElementCount() == ElementCount::getScalable(1)) in getTypeConversion() 1059 VT.getVectorElementCount().divideCoefficientBy(2)); in getTypeConversion() 1068 ElementCount EC = VT.getVectorElementCount(); in getVectorTypeBreakdownMVT() 1384 ElementCount EC = VT.getVectorElementCount(); in computeRegisterProperties() 1401 SVT.getVectorElementCount() == EC && isTypeLegal(SVT)) { in computeRegisterProperties() 1422 SVT.getVectorElementCount().getKnownMinValue() > in computeRegisterProperties() 1521 ElementCount EltCnt = VT.getVectorElementCount(); in getVectorTypeBreakdown() 1562 divideCeil(VT.getVectorElementCount().getKnownMinValue(), in getVectorTypeBreakdown() [all …]
|
H A D | LowLevelTypeUtils.cpp | 71 return LLT::scalarOrVector(Ty.getVectorElementCount(), in getLLTForMVT()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGenTypes/ |
H A D | LowLevelType.cpp | 23 VT.getVectorElementCount(), VT.getVectorElementType().getSizeInBits(), in LLT()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeVectorTypes.cpp | 2580 if (SrcVT.getVectorElementCount().isKnownEven() && in SplitVecRes_ExtendOp() 3047 VT.getVectorElementCount()); in SplitVecRes_VP_REVERSE() 3399 InVT.getVectorElementCount()); in SplitVecOp_UnaryOp() 4021 ElementCount NumElements = OutVT.getVectorElementCount(); in SplitVecOp_TruncateHelper() 4116 auto PartEltCnt = Lo0.getValueType().getVectorElementCount(); in SplitVecOp_VSETCC() 4164 InVT.getVectorElementCount()); in SplitVecOp_FP_ROUND() 4227 ElementCount SplitOpEC = LHSLo.getValueType().getVectorElementCount(); in SplitVecOp_CMP() 4246 InVT.getVectorElementCount()); in SplitVecOp_FP_TO_XINT_SAT() 4619 GetWidenedMask(N->getOperand(3), WidenVT.getVectorElementCount()); 4638 GetWidenedMask(N->getOperand(2), WidenVT.getVectorElementCount()); [all...] |
H A D | SelectionDAG.cpp | 1534 VT.getVectorElementCount() == OpVT.getVectorElementCount()) && in getZeroExtendInReg() 1552 assert(VT.getVectorElementCount() == OpVT.getVectorElementCount() && in getVPZeroExtendInReg() 5804 assert((Ops[0].getValueType().getVectorElementCount() * Ops.size()) == in foldCONCAT_VECTORS() 5805 VT.getVectorElementCount() && in foldCONCAT_VECTORS() 5981 assert((!VT.isVector() || VT.getVectorElementCount() == in getNode() 5982 N1.getValueType().getVectorElementCount()) && in getNode() 6006 assert((!VT.isVector() || VT.getVectorElementCount() == in getNode() 6007 N1.getValueType().getVectorElementCount()) && in getNode() 6027 assert((!VT.isVector() || VT.getVectorElementCount() == in getNode() 6028 N1.getValueType().getVectorElementCount()) && in getNode() [all …]
|
H A D | LegalizeTypes.cpp | 846 Lo.getValueType().getVectorElementCount() * 2 == in SetSplitVector() 847 Op.getValueType().getVectorElementCount() && in SetSplitVector() 889 auto EltCnt = Op.getValueType().getVectorElementCount(); in BitConvertVectorToIntegerVector()
|
H A D | SelectionDAGBuilder.cpp | 402 IntermediateVT.getVectorElementCount() * NumParts) in getCopyFromPartsVector() 425 if (PartEVT.getVectorElementCount() != ValueVT.getVectorElementCount()) { in getCopyFromPartsVector() 426 assert((PartEVT.getVectorElementCount().getKnownMinValue() > in getCopyFromPartsVector() 427 ValueVT.getVectorElementCount().getKnownMinValue()) && in getCopyFromPartsVector() 428 (PartEVT.getVectorElementCount().isScalable() == in getCopyFromPartsVector() 429 ValueVT.getVectorElementCount().isScalable()) && in getCopyFromPartsVector() 433 ValueVT.getVectorElementCount()); in getCopyFromPartsVector() 651 ElementCount PartNumElts = PartVT.getVectorElementCount(); in widenVectorToPartType() 652 ElementCount ValueNumElts = ValueVT.getVectorElementCount(); in widenVectorToPartType() 711 PartEVT.getVectorElementCount() == in getCopyToPartsVector() [all …]
|
H A D | LegalizeTypesGeneric.cpp | 211 ElementCount OldEltCount = OldVec.getValueType().getVectorElementCount(); in ExpandRes_EXTRACT_VECTOR_ELT()
|
H A D | TargetLowering.cpp | 1066 NVT = EVT::getVectorVT(*DAG.getContext(), NVT, VT.getVectorElementCount()); in combineShiftToAVG() 2054 VT.getVectorElementCount()); in SimplifyDemandedBits() 2641 ElementCount SrcEltCnt = Src.getValueType().getVectorElementCount(); in SimplifyDemandedBits() 3116 ElementCount SrcEltCnt = SrcVT.getVectorElementCount(); in SimplifyDemandedVectorElts() 6407 VT.getVectorElementCount()); in BuildSDIV() 6590 VT.getVectorElementCount()); in BuildUDIV() 8638 OperandVT.getVectorElementCount()); in expandIS_FPCLASS() 9183 EVT::getVectorVT(*DAG.getContext(), ResVT, SrcVT.getVectorElementCount()); in expandVPCTTZElements() 9189 SrcVT.getVectorElementCount()); in expandVPCTTZElements() 10076 assert(DataVT.getVectorElementCount() == MaskVT.getVectorElementCount() && in IncrementMemoryAddress() [all …]
|
H A D | LegalizeVectorOps.cpp | 1509 MaskVT.getVectorElementCount()); in ExpandVP_MERGE() 1857 ElementCount VL = VT.getVectorElementCount(); in tryExpandVecMathCall()
|
H A D | LegalizeIntegerTypes.cpp | 549 OutVT.getVectorElementCount() * Scale); in PromoteIntRes_BITCAST() 1205 VT.getVectorElementCount()); in earlyExpandDIVFIX() 1649 ElementCount NumElts = InVT.getVectorElementCount(); in PromoteIntRes_TRUNCATE() 1650 assert(NumElts == NVT.getVectorElementCount() && in PromoteIntRes_TRUNCATE() 5818 SubVecVT.getVectorElementCount()); in PromoteIntRes_INSERT_SUBVECTOR() 6094 V0.getValueType().getVectorElementCount()); in PromoteIntOp_INSERT_SUBVECTOR()
|
H A D | DAGCombiner.cpp | 5629 FPVT.getVectorElementCount()); in PerformMinMaxFpToSatCombine() 5664 FPVT.getVectorElementCount()); in PerformUMinFpToSatCombine() 10395 TruncVT = EVT::getVectorVT(Ctx, TruncVT, VT.getVectorElementCount()); in visitSRA() 10439 TruncVT = EVT::getVectorVT(Ctx, TruncVT, VT.getVectorElementCount()); in visitSRA() 14877 VT.getVectorElementCount()); in foldExtendVectorInregToExtendOfSubvector() 14992 auto EltCnt = VecTy.getVectorElementCount(); in visitTRUNCATE() 15140 X.getValueType().getVectorElementCount())); in visitTRUNCATE() 16922 VT.getVectorElementCount()); in combineFMulOrFDivWithIntPow2() 18829 return T.isVector() ? T.getVectorElementCount() : ElementCount::getFixed(0); in numVectorEltsOrZero() 24045 ElementCount NumElts = SrcVT.getVectorElementCount() * N->getNumOperands(); in combineConcatVectorOfCasts() [all …]
|
H A D | LegalizeTypes.h | 1005 assert(Mask.getValueType().getVectorElementCount() == EC && in GetWidenedMask()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVISelLowering.cpp | 812 MVT::getVectorVT(MVT::i8, VT.getVectorElementCount())); in RISCVTargetLowering() 922 EVT FloatVT = MVT::getVectorVT(MVT::f32, VT.getVectorElementCount()); in RISCVTargetLowering() 1088 MVT F32VecVT = MVT::getVectorVT(MVT::f32, VT.getVectorElementCount()); in RISCVTargetLowering() 1277 EVT FloatVT = MVT::getVectorVT(MVT::f32, VT.getVectorElementCount()); in RISCVTargetLowering() 1333 MVT F32VecVT = MVT::getVectorVT(MVT::f32, VT.getVectorElementCount()); in RISCVTargetLowering() 1525 return EVT::getVectorVT(Context, MVT::i1, VT.getVectorElementCount()); in getSetCCResultType() 2549 InsertExtractIdx >= VecVT.getVectorElementCount().getKnownMinValue(); in decomposeSubvectorInsertExtractToSubRegs() 2553 InsertExtractIdx -= VecVT.getVectorElementCount().getKnownMinValue(); in decomposeSubvectorInsertExtractToSubRegs() 2756 ElementCount EC = VecVT.getVectorElementCount(); in getMaskTypeFor() 2817 VecVT.getVectorElementCount()); in computeVLMax() [all...] |
H A D | RISCVISelDAGToDAG.cpp | 443 assert(VT.getVectorElementCount() == IndexVT.getVectorElementCount() && in selectVLXSEG() 525 assert(VT.getVectorElementCount() == IndexVT.getVectorElementCount() && in selectVSXSEG() 1900 assert(VT.getVectorElementCount() == IndexVT.getVectorElementCount() && in Select() 2098 assert(VT.getVectorElementCount() == IndexVT.getVectorElementCount() && in Select() 3869 ElementCount EC = N->getValueType(0).getVectorElementCount(); in performCombineVMergeAndVOps()
|
H A D | RISCVTargetTransformInfo.cpp | 651 LT.second.getVectorElementCount()); in getInterleavedMemoryOpCost()
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/ |
H A D | GlobalISelMatchTable.cpp | 432 if (VT.isVector() && !VT.getVectorElementCount().isScalar()) in MVTToLLT() 434 LLT::vector(VT.getVectorElementCount(), VT.getScalarSizeInBits())); in MVTToLLT()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 2144 return EVT::getVectorVT(C, MVT::i1, VT.getVectorElementCount()); in getSetCCResultType() 4920 if (OpVT.getVectorElementCount() != ArgVT.getVectorElementCount()) in LowerBITCAST() 6459 ElementCount EC = MemVT.getVectorElementCount(); in LowerSTORE() 10720 MVT PredVT = MVT::getVectorVT(MVT::i1, Ty.getVectorElementCount()); in LowerSELECT() 10730 MVT PredVT = MVT::getVectorVT(SplatValVT, Ty.getVectorElementCount()); in LowerSELECT() 14601 if (VT.getVectorElementCount() != (InVT.getVectorElementCount() * 2)) in LowerINSERT_SUBVECTOR() 14607 EVT NarrowVT = getPackedSVEVectorVT(VT.getVectorElementCount()); in LowerINSERT_SUBVECTOR() 14608 EVT WideVT = getPackedSVEVectorVT(InVT.getVectorElementCount()); in LowerINSERT_SUBVECTOR() 15496 ElementCount EC = VT.getVectorElementCount(); in setInfoSVEStN() 18194 VT.getVectorElementCount() * 2); in performMulVectorCmpZeroCombine() [all …]
|
H A D | AArch64TargetTransformInfo.cpp | 780 LegalTy = VectorType::get(LegalTy, LT.second.getVectorElementCount()); in getIntrinsicInstrCost() 3396 ElementCount LegalVF = LT.second.getVectorElementCount(); in getGatherScatterOpCost() 4067 VectorType::get(Tp->getScalarType(), LT.second.getVectorElementCount()); in getShuffleCost() 4138 LT.second.getVectorElementCount())) in getShuffleCost()
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/ |
H A D | CodeGenDAGPatterns.cpp | 734 return !Lengths.count(T.isVector() ? T.getVectorElementCount() in EnforceSameNumElts() 746 VN.insert(T.isVector() ? T.getVectorElementCount() : ElementCount()); in EnforceSameNumElts() 748 WN.insert(T.isVector() ? T.getVectorElementCount() : ElementCount()); in EnforceSameNumElts()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ISelLoweringCall.cpp | 218 return EVT::getVectorVT(Context, MVT::i1, VT.getVectorElementCount()); in getSetCCResultType() 226 return EVT::getVectorVT(Context, MVT::i1, VT.getVectorElementCount()); in getSetCCResultType()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonISelLoweringHVX.cpp | 2755 MVT PredTy = MVT::getVectorVT(MVT::i1, ResTy.getVectorElementCount()); in ExpandHvxFpToInt() 2861 MVT PredTy = MVT::getVectorVT(MVT::i1, InpTy.getVectorElementCount()); in ExpandHvxIntToFp()
|