Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DValueTypes.h322 ElementCount getVectorElementCount() const { in getVectorElementCount() function
325 return V.getVectorElementCount(); in getVectorElementCount()
332 return getVectorElementCount().getKnownMinValue(); in getVectorMinNumElements()
414 return EVT::getVectorVT(Context, EltVT, getVectorElementCount()); in widenIntegerVectorElementType()
422 auto EltCnt = getVectorElementCount(); in getHalfNumVectorElementsVT()
432 auto EltCnt = getVectorElementCount(); in getDoubleNumVectorElementsVT()
446 ElementCount NElts = getVectorElementCount(); in getPow2VectorType()
H A DTargetLowering.h462 if (VT.getVectorElementCount().isScalar()) in getPreferredVectorAction()
/llvm-project-15.0.7/llvm/unittests/CodeGen/
H A DScalableVectorMVTsTest.cpp74 EltCnt = Vnx4i32.getVectorElementCount(); in TEST()
85 EltCnt = V8i32.getVectorElementCount(); in TEST()
100 ASSERT_EQ(ScV8Int64Ty->getElementCount(), Mnxv8i64.getVectorElementCount()); in TEST()
107 ASSERT_EQ(ScV8Int64Ty->getElementCount(), Enxv8i64.getVectorElementCount()); in TEST()
120 ASSERT_EQ(Enxv4f64.getVectorElementCount(), ScV4Float64Ty->getElementCount()); in TEST()
/llvm-project-15.0.7/llvm/lib/Support/
H A DLowLevelType.cpp22 VT.getVectorElementCount(), VT.getVectorElementType().getSizeInBits(), in LLT()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DLowLevelType.cpp68 return LLT::scalarOrVector(Ty.getVectorElementCount(), in getLLTForMVT()
H A DTargetLoweringBase.cpp991 ElementCount NumElts = VT.getVectorElementCount(); in getTypeConversion()
1016 if (VT.getVectorElementCount().isScalable()) in getTypeConversion()
1079 if (VT.getVectorElementCount() == ElementCount::getScalable(1)) in getTypeConversion()
1084 VT.getVectorElementCount().divideCoefficientBy(2)); in getTypeConversion()
1093 ElementCount EC = VT.getVectorElementCount(); in getVectorTypeBreakdownMVT()
1399 ElementCount EC = VT.getVectorElementCount(); in computeRegisterProperties()
1416 SVT.getVectorElementCount() == EC && isTypeLegal(SVT)) { in computeRegisterProperties()
1437 SVT.getVectorElementCount().getKnownMinValue() > in computeRegisterProperties()
1536 ElementCount EltCnt = VT.getVectorElementCount(); in getVectorTypeBreakdown()
1577 divideCeil(VT.getVectorElementCount().getKnownMinValue(), in getVectorTypeBreakdown()
[all …]
H A DValueTypes.cpp28 return getVectorVT(Context, IntTy, getVectorElementCount()); in changeExtendedVectorElementTypeToInteger()
34 return getVectorVT(Context, EltVT, getVectorElementCount()); in changeExtendedVectorElementType()
157 utostr(getVectorElementCount().getKnownMinValue()) + in getEVTString()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp1396 VT.getVectorElementCount() == OpVT.getVectorElementCount()) && in getZeroExtendInReg()
5189 VT.getVectorElementCount() == in getNode()
5216 VT.getVectorElementCount() == in getNode()
5235 VT.getVectorElementCount() == in getNode()
5254 VT.getVectorElementCount() == in getNode()
5284 VT.getVectorElementCount() == in getNode()
6097 EVT.getVectorElementCount() == VT.getVectorElementCount()) && in getNode()
7791 VT.getVectorElementCount() == MemVT.getVectorElementCount()) && in getLoad()
7964 VT.getVectorElementCount() == SVT.getVectorElementCount()) && in getTruncStore()
8215 VT.getVectorElementCount() == SVT.getVectorElementCount()) && in getTruncStoreVP()
[all …]
H A DLegalizeVectorTypes.cpp2200 if (SrcVT.getVectorElementCount().isKnownEven() && in SplitVecRes_ExtendOp()
3608 InVT.getVectorElementCount()); in SplitVecOp_FP_TO_XINT_SAT()
4286 ElementCount InVTEC = InVT.getVectorElementCount(); in WidenVecRes_Convert()
4291 InVTEC = InVT.getVectorElementCount(); in WidenVecRes_Convert()
4377 if (WidenNumElts != SrcVT.getVectorElementCount()) in WidenVecRes_FP_TO_XINT_SAT()
4903 assert(Mask.getValueType().getVectorElementCount() == in WidenVecRes_VP_LOAD()
4905 .getVectorElementCount() && in WidenVecRes_VP_LOAD()
4985 ElementCount WideEC = WideVT.getVectorElementCount(); in WidenVecRes_VP_GATHER()
5903 assert(Mask.getValueType().getVectorElementCount() == in WidenVecOp_VP_STORE()
6664 ElementCount InEC = InVT.getVectorElementCount(); in ModifyToType()
[all …]
H A DLegalizeTypes.cpp846 Lo.getValueType().getVectorElementCount() * 2 == in SetSplitVector()
847 Op.getValueType().getVectorElementCount() && in SetSplitVector()
889 auto EltCnt = Op.getValueType().getVectorElementCount(); in BitConvertVectorToIntegerVector()
H A DSelectionDAGBuilder.cpp404 if (PartEVT.getVectorElementCount() != ValueVT.getVectorElementCount()) { in getCopyFromPartsVector()
405 assert((PartEVT.getVectorElementCount().getKnownMinValue() > in getCopyFromPartsVector()
407 (PartEVT.getVectorElementCount().isScalable() == in getCopyFromPartsVector()
408 ValueVT.getVectorElementCount().isScalable()) && in getCopyFromPartsVector()
412 ValueVT.getVectorElementCount()); in getCopyFromPartsVector()
612 ElementCount PartNumElts = PartVT.getVectorElementCount(); in widenVectorToPartType()
613 ElementCount ValueNumElts = ValueVT.getVectorElementCount(); in widenVectorToPartType()
664 PartEVT.getVectorElementCount() == in getCopyToPartsVector()
665 ValueVT.getVectorElementCount()) { in getCopyToPartsVector()
677 PartVT.getVectorElementCount()); in getCopyToPartsVector()
[all …]
H A DDAGCombiner.cpp5137 FPVT.getVectorElementCount()); in PerformMinMaxFpToSatCombine()
5173 FPVT.getVectorElementCount()); in PerformUMinFpToSatCombine()
9256 VT.getVectorElementCount()); in visitSRA()
13238 auto EltCnt = VecTy.getVectorElementCount(); in visitTRUNCATE()
21718 ElementCount NewExtEC = NVT.getVectorElementCount() * SrcDestRatio; in visitEXTRACT_SUBVECTOR()
21731 if (NVT.getVectorElementCount().isKnownMultipleOf(DestSrcRatio)) { in visitEXTRACT_SUBVECTOR()
21774 if (NVT.getVectorElementCount() == ConcatSrcVT.getVectorElementCount()) in visitEXTRACT_SUBVECTOR()
23174 VT.getVectorElementCount() && in visitINSERT_SUBVECTOR()
23191 CN0VT.getVectorElementCount() == VT.getVectorElementCount()) { in visitINSERT_SUBVECTOR()
23230 ElementCount NumElts = VT.getVectorElementCount(); in visitINSERT_SUBVECTOR()
[all …]
H A DTargetLowering.cpp1041 NVT = EVT::getVectorVT(*DAG.getContext(), NVT, VT.getVectorElementCount()); in combineShiftToAVG()
2428 ElementCount SrcEltCnt = Src.getValueType().getVectorElementCount(); in SimplifyDemandedBits()
2861 ElementCount SrcEltCnt = SrcVT.getVectorElementCount(); in SimplifyDemandedVectorElts()
7675 OperandVT.getVectorElementCount()); in expandIS_FPCLASS()
8650 assert(DataVT.getVectorElementCount() == MaskVT.getVectorElementCount() && in IncrementMemoryAddress()
8741 SubVecVT.getVectorElementCount()); in getVectorSubVecPointer()
9322 EVT::getVectorVT(*DAG.getContext(), WideVT, VT.getVectorElementCount()); in expandMULO()
9656 VT.getVectorElementCount() * 2); in expandVectorSplice()
H A DLegalizeIntegerTypes.cpp464 OutVT.getVectorElementCount() * Scale); in PromoteIntRes_BITCAST()
1018 VT.getVectorElementCount()); in earlyExpandDIVFIX()
1358 ElementCount NumElts = InVT.getVectorElementCount(); in PromoteIntRes_TRUNCATE()
1359 assert(NumElts == NVT.getVectorElementCount() && in PromoteIntRes_TRUNCATE()
5269 SubVecVT.getVectorElementCount()); in PromoteIntRes_INSERT_SUBVECTOR()
5525 V0.getValueType().getVectorElementCount()); in PromoteIntOp_INSERT_SUBVECTOR()
H A DLegalizeTypes.h933 assert(Mask.getValueType().getVectorElementCount() == EC && in GetWidenedMask()
H A DLegalizeVectorOps.cpp1286 MaskVT.getVectorElementCount()); in ExpandVP_MERGE()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DMachineValueType.h472 MVT VecTy = MVT::getVectorVT(IntTy, getVectorElementCount()); in changeVectorElementTypeToInteger()
481 MVT VecTy = MVT::getVectorVT(EltVT, getVectorElementCount()); in changeVectorElementType()
500 auto EltCnt = getVectorElementCount(); in getHalfNumVectorElementsVT()
517 ElementCount NElts = getVectorElementCount(); in getPow2VectorType()
865 ElementCount getVectorElementCount() const { in getVectorElementCount() function
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.cpp409 assert(VT.getVectorElementCount() == IndexVT.getVectorElementCount() && in selectVLXSEG()
491 assert(VT.getVectorElementCount() == IndexVT.getVectorElementCount() && in selectVSXSEG()
1307 assert(VT.getVectorElementCount() == IndexVT.getVectorElementCount() && in Select()
1507 assert(VT.getVectorElementCount() == IndexVT.getVectorElementCount() && in Select()
H A DRISCVISelLowering.cpp537 MVT::getVectorVT(MVT::i8, VT.getVectorElementCount())); in RISCVTargetLowering()
1741 ElementCount EC = VecVT.getVectorElementCount(); in getMaskTypeFor()
3338 VT.getVectorElementCount()); in LowerOperation()
3367 VT.getVectorElementCount()); in LowerOperation()
4379 const ElementCount Count = ContainerVT.getVectorElementCount(); in lowerVectorTruncLike()
6372 DstVT.getVectorElementCount()); in lowerVPFPIntConvOp()
6523 assert(VT.getVectorElementCount() == IndexVT.getVectorElementCount() && in lowerMaskedGather()
6539 ContainerVT.getVectorElementCount()); in lowerMaskedGather()
6625 assert(VT.getVectorElementCount() == IndexVT.getVectorElementCount() && in lowerMaskedScatter()
8280 VT.getVectorElementCount()); in combineADDSUB_VLToVWADDSUB_VL()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp480 LegalTy = VectorType::get(LegalTy, LT.second.getVectorElementCount()); in getIntrinsicInstrCost()
2247 ElementCount LegalVF = LT.second.getVectorElementCount(); in getGatherScatterOpCost()
2831 VectorType::get(Tp->getScalarType(), LT.second.getVectorElementCount()); in getShuffleCost()
2892 LT.second.getVectorElementCount())) in getShuffleCost()
H A DAArch64ISelLowering.cpp4121 if (OpVT.getVectorElementCount() != ArgVT.getVectorElementCount()) in LowerBITCAST()
5196 ElementCount EC = MemVT.getVectorElementCount(); in LowerSTORE()
11700 if (VT.getVectorElementCount() != (InVT.getVectorElementCount() * 2)) in LowerINSERT_SUBVECTOR()
12368 ElementCount EC = VT.getVectorElementCount(); in setInfoSVEStN()
15981 VT.getVectorElementCount()); in performVectorAddSubExtCombine()
16500 VT.getVectorElementCount()); in performIntrinsicCombine()
19829 VT.getVectorElementCount() * in PerformDAGCombine()
20008 if (VT.getVectorElementCount() != SrcVT.getVectorElementCount()) in ReplaceBITCASTResults()
20112 ElementCount ResEC = VT.getVectorElementCount(); in ReplaceExtractSubVectorResults()
20114 if (InVT.getVectorElementCount() != (ResEC * 2)) in ReplaceExtractSubVectorResults()
[all …]
H A DAArch64FastISel.cpp3824 if (RVEVT.isVector() && RVEVT.getVectorElementCount().isVector() && in selectRet()
H A DAArch64ISelDAGToDAG.cpp5112 ElementCount EC = PredVT.getVectorElementCount(); in getPackedVectorTypeFromPredicateType()
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DCodeGenDAGPatterns.cpp742 return !Lengths.count(T.isVector() ? T.getVectorElementCount() in EnforceSameNumElts()
754 VN.insert(T.isVector() ? T.getVectorElementCount() in EnforceSameNumElts()
757 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()

12