Home
last modified time | relevance | path

Searched refs:getVectorElementCount (Results 1 – 24 of 24) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DValueTypes.h323 ElementCount getVectorElementCount() const { in getVectorElementCount() function
326 return V.getVectorElementCount(); in getVectorElementCount()
333 return getVectorElementCount().getKnownMinValue(); in getVectorMinNumElements()
409 return EVT::getVectorVT(Context, EltVT, getVectorElementCount()); in widenIntegerVectorElementType()
417 auto EltCnt = getVectorElementCount(); in getHalfNumVectorElementsVT()
427 auto EltCnt = getVectorElementCount(); in getDoubleNumVectorElementsVT()
441 ElementCount NElts = getVectorElementCount(); in getPow2VectorType()
H A DTargetLowering.h439 if (VT.getVectorElementCount().isScalar()) in getPreferredVectorAction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DLowLevelType.cpp22 VT.getVectorElementCount(), VT.getVectorElementType().getSizeInBits(), in LLT()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp998 ElementCount NumElts = VT.getVectorElementCount(); in getTypeConversion()
1023 if (VT.getVectorElementCount().isScalable()) in getTypeConversion()
1086 if (VT.getVectorElementCount() == ElementCount::getScalable(1)) in getTypeConversion()
1100 ElementCount EC = VT.getVectorElementCount(); in getVectorTypeBreakdownMVT()
1396 ElementCount EC = VT.getVectorElementCount(); in computeRegisterProperties()
1413 SVT.getVectorElementCount() == EC && isTypeLegal(SVT)) { in computeRegisterProperties()
1434 SVT.getVectorElementCount().getKnownMinValue() > in computeRegisterProperties()
1533 ElementCount EltCnt = VT.getVectorElementCount(); in getVectorTypeBreakdown()
1568 NumIntermediates = VT.getVectorElementCount().getKnownMinValue() / in getVectorTypeBreakdown()
1575 assert((PartVT.getVectorElementCount() * NumIntermediates) == in getVectorTypeBreakdown()
[all …]
H A DLowLevelType.cpp59 return LLT::scalarOrVector(Ty.getVectorElementCount(), in getLLTForMVT()
H A DValueTypes.cpp27 return getVectorVT(Context, IntTy, getVectorElementCount()); in changeExtendedVectorElementTypeToInteger()
33 return getVectorVT(Context, EltVT, getVectorElementCount()); in changeExtendedVectorElementType()
156 utostr(getVectorElementCount().getKnownMinValue()) + in getEVTString()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DMachineValueType.h463 MVT VecTy = MVT::getVectorVT(IntTy, getVectorElementCount()); in changeVectorElementTypeToInteger()
472 MVT VecTy = MVT::getVectorVT(EltVT, getVectorElementCount()); in changeVectorElementType()
491 auto EltCnt = getVectorElementCount(); in getHalfNumVectorElementsVT()
508 ElementCount NElts = getVectorElementCount(); in getPow2VectorType()
846 ElementCount getVectorElementCount() const { in getVectorElementCount() function
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.cpp343 assert(VT.getVectorElementCount() == IndexVT.getVectorElementCount() && in selectVLXSEG()
420 assert(VT.getVectorElementCount() == IndexVT.getVectorElementCount() && in selectVSXSEG()
1004 assert(VT.getVectorElementCount() == IndexVT.getVectorElementCount() && in Select()
1193 assert(VT.getVectorElementCount() == IndexVT.getVectorElementCount() && in Select()
H A DRISCVISelLowering.cpp2234 const ElementCount Count = ContainerVT.getVectorElementCount(); in LowerOperation()
2405 VT.getVectorElementCount()); in LowerOperation()
2435 VT.getVectorElementCount()); in LowerOperation()
3245 MVT::getVectorVT(MVT::i1, ContainerVT.getVectorElementCount()); in lowerVectorMaskExt()
4249 IntVT = MVT::getVectorVT(MVT::i16, VecVT.getVectorElementCount()); in lowerVECTOR_REVERSE()
4509 MVT::getVectorVT(MVT::i1, ContainerVT.getVectorElementCount()); in lowerFixedLengthVectorSelectToRVV()
4616 assert(VT.getVectorElementCount() == IndexVT.getVectorElementCount() && in lowerMGATHER()
4636 ContainerVT.getVectorElementCount()); in lowerMGATHER()
4640 IndexVT.getVectorElementCount()); in lowerMGATHER()
4697 assert(VT.getVectorElementCount() == IndexVT.getVectorElementCount() && in lowerMSCATTER()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp1298 VT.getVectorElementCount() == OpVT.getVectorElementCount()) && in getZeroExtendInReg()
4545 VT.getVectorElementCount() && in foldCONCAT_VECTORS()
4865 VT.getVectorElementCount() == in getNode()
4892 VT.getVectorElementCount() == in getNode()
4911 VT.getVectorElementCount() == in getNode()
4930 VT.getVectorElementCount() == in getNode()
4960 VT.getVectorElementCount() == in getNode()
5356 ElementCount NumElts = VT.getVectorElementCount(); in FoldConstantVectorArithmetic()
5747 EVT.getVectorElementCount() == VT.getVectorElementCount()) && in getNode()
7394 VT.getVectorElementCount() == MemVT.getVectorElementCount()) && in getLoad()
[all …]
H A DLegalizeTypes.cpp838 Lo.getValueType().getVectorElementCount() * 2 == in SetSplitVector()
839 Op.getValueType().getVectorElementCount() && in SetSplitVector()
881 auto EltCnt = Op.getValueType().getVectorElementCount(); in BitConvertVectorToIntegerVector()
H A DLegalizeVectorTypes.cpp1599 VecVT.getVectorElementCount()); in SplitVecRes_INSERT_VECTOR_ELT()
1958 if (SrcVT.getVectorElementCount().isKnownEven() && in SplitVecRes_ExtendOp()
2341 InVT.getVectorElementCount()); in SplitVecOp_UnaryOp()
2466 VecVT.getVectorElementCount()); in SplitVecOp_EXTRACT_VECTOR_ELT()
2800 ElementCount NumElements = OutVT.getVectorElementCount(); in SplitVecOp_TruncateHelper()
2893 auto PartEltCnt = Lo0.getValueType().getVectorElementCount(); in SplitVecOp_VSETCC()
2919 InVT.getVectorElementCount()); in SplitVecOp_FP_ROUND()
2954 InVT.getVectorElementCount()); in SplitVecOp_FP_TO_XINT_SAT()
3623 ElementCount WidenNumElts = WidenVT.getVectorElementCount(); in WidenVecRes_FP_TO_XINT_SAT()
3635 if (WidenNumElts != SrcVT.getVectorElementCount()) in WidenVecRes_FP_TO_XINT_SAT()
[all …]
H A DSelectionDAGBuilder.cpp407 assert((PartEVT.getVectorElementCount().getKnownMinValue() > in getCopyFromPartsVector()
409 (PartEVT.getVectorElementCount().isScalable() == in getCopyFromPartsVector()
410 ValueVT.getVectorElementCount().isScalable()) && in getCopyFromPartsVector()
420 assert(PartEVT.getVectorElementCount() == ValueVT.getVectorElementCount() && in getCopyFromPartsVector()
616 ElementCount PartNumElts = PartVT.getVectorElementCount(); in widenVectorToPartType()
617 ElementCount ValueNumElts = ValueVT.getVectorElementCount(); in widenVectorToPartType()
668 PartEVT.getVectorElementCount() == in getCopyToPartsVector()
669 ValueVT.getVectorElementCount()) { in getCopyToPartsVector()
674 if (ValueVT.getVectorElementCount().isScalar()) { in getCopyToPartsVector()
734 BuiltVectorTy.getVectorElementCount() == in getCopyToPartsVector()
[all …]
H A DDAGCombiner.cpp8585 VT.getVectorElementCount()); in visitSRA()
8644 TruncVT = EVT::getVectorVT(Ctx, TruncVT, VT.getVectorElementCount()); in visitSRA()
8684 TruncVT = EVT::getVectorVT(Ctx, TruncVT, VT.getVectorElementCount()); in visitSRA()
12254 auto EltCnt = VecTy.getVectorElementCount(); in visitTRUNCATE()
20438 ElementCount NewExtEC = NVT.getVectorElementCount() * SrcDestRatio; in visitEXTRACT_SUBVECTOR()
20451 if (NVT.getVectorElementCount().isKnownMultipleOf(DestSrcRatio)) { in visitEXTRACT_SUBVECTOR()
20453 NVT.getVectorElementCount().divideCoefficientBy(DestSrcRatio); in visitEXTRACT_SUBVECTOR()
21696 VT.getVectorElementCount() && in visitINSERT_SUBVECTOR()
21713 CN0VT.getVectorElementCount() == VT.getVectorElementCount()) { in visitINSERT_SUBVECTOR()
21752 ElementCount NumElts = VT.getVectorElementCount(); in visitINSERT_SUBVECTOR()
[all …]
H A DLegalizeIntegerTypes.cpp933 VT.getVectorElementCount()); in earlyExpandDIVFIX()
1245 ElementCount NumElts = InVT.getVectorElementCount(); in PromoteIntRes_TRUNCATE()
1246 assert(NumElts == NVT.getVectorElementCount() && in PromoteIntRes_TRUNCATE()
4769 SubVecVT.getVectorElementCount()); in PromoteIntRes_INSERT_SUBVECTOR()
H A DTargetLowering.cpp2066 ElementCount SrcEltCnt = Src.getValueType().getVectorElementCount(); in SimplifyDemandedBits()
2433 ElementCount SrcEltCnt = SrcVT.getVectorElementCount(); in SimplifyDemandedVectorElts()
7773 assert(DataVT.getVectorElementCount() == MaskVT.getVectorElementCount() && in IncrementMemoryAddress()
8785 VT.getVectorElementCount() * 2); in expandVectorSplice()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp1615 return EVT::getVectorVT(C, MVT::i1, VT.getVectorElementCount()); in getSetCCResultType()
4164 VT.getVectorElementCount().getKnownMinValue() >= 4 && in shouldRemoveExtendFromGSIndex()
4598 ElementCount EC = MemVT.getVectorElementCount(); in LowerSTORE()
10545 if (VT.getVectorElementCount() != (InVT.getVectorElementCount() * 2)) in LowerINSERT_SUBVECTOR()
11148 ElementCount EC = VT.getVectorElementCount(); in setInfoSVEStN()
11957 assert(VT.getVectorElementCount().getKnownMinValue() % N == 0 && in LowerSVEStructLoad()
12565 if (PreExtendVT.getVectorElementCount() != TargetType.getVectorElementCount()) in performCommonVectorExtendCombine()
15934 CCVT.getVectorElementCount() != ElementCount::getFixed(1) || in performVSelectCombine()
16895 VT.getVectorElementCount() * in PerformDAGCombine()
17122 ElementCount ResEC = VT.getVectorElementCount(); in ReplaceExtractSubVectorResults()
[all …]
H A DAArch64TargetTransformInfo.cpp1545 ElementCount LegalVF = LT.second.getVectorElementCount(); in getGatherScatterOpCost()
H A DAArch64FastISel.cpp3817 if (RVEVT.isVector() && RVEVT.getVectorElementCount().isVector() && in selectRet()
H A DAArch64ISelDAGToDAG.cpp4927 ElementCount EC = PredVT.getVectorElementCount(); in getPackedVectorTypeFromPredicateType()
/freebsd-13.1/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenDAGPatterns.cpp701 return !Lengths.count(T.isVector() ? T.getVectorElementCount() in EnforceSameNumElts()
713 VN.insert(T.isVector() ? T.getVectorElementCount() in EnforceSameNumElts()
716 WN.insert(T.isVector() ? T.getVectorElementCount() in EnforceSameNumElts()
H A DGlobalISelEmitter.cpp206 if (VT.isVector() && !VT.getVectorElementCount().isScalar()) in MVTToLLT()
208 LLT::vector(VT.getVectorElementCount(), VT.getScalarSizeInBits())); in MVTToLLT()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp1841 return MVT::getVectorVT(MVT::i1, VT.getVectorElementCount()); in getSetCCResultType()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp2231 return EVT::getVectorVT(Context, MVT::i1, VT.getVectorElementCount()); in getSetCCResultType()
2239 return EVT::getVectorVT(Context, MVT::i1, VT.getVectorElementCount()); in getSetCCResultType()