Home
last modified time | relevance | path

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

12

/openbsd/gnu/llvm/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.h467 if (VT.getVectorElementCount().isScalar()) in getPreferredVectorAction()
/openbsd/gnu/llvm/llvm/lib/Support/
H A DLowLevelType.cpp22 VT.getVectorElementCount(), VT.getVectorElementType().getSizeInBits(), in LLT()
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DLowLevelType.cpp68 return LLT::scalarOrVector(Ty.getVectorElementCount(), in getLLTForMVT()
H A DTargetLoweringBase.cpp1002 ElementCount NumElts = VT.getVectorElementCount(); in getTypeConversion()
1027 if (VT.getVectorElementCount().isScalable()) in getTypeConversion()
1090 if (VT.getVectorElementCount() == ElementCount::getScalable(1)) in getTypeConversion()
1095 VT.getVectorElementCount().divideCoefficientBy(2)); in getTypeConversion()
1104 ElementCount EC = VT.getVectorElementCount(); in getVectorTypeBreakdownMVT()
1419 ElementCount EC = VT.getVectorElementCount(); in computeRegisterProperties()
1436 SVT.getVectorElementCount() == EC && isTypeLegal(SVT)) { in computeRegisterProperties()
1457 SVT.getVectorElementCount().getKnownMinValue() > in computeRegisterProperties()
1556 ElementCount EltCnt = VT.getVectorElementCount(); in getVectorTypeBreakdown()
1597 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()
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp1444 VT.getVectorElementCount() == OpVT.getVectorElementCount()) && in getZeroExtendInReg()
5395 VT.getVectorElementCount() == in getNode()
5422 VT.getVectorElementCount() == in getNode()
5441 VT.getVectorElementCount() == in getNode()
5460 VT.getVectorElementCount() == in getNode()
5490 VT.getVectorElementCount() == in getNode()
6324 EVT.getVectorElementCount() == VT.getVectorElementCount()) && in getNode()
8042 VT.getVectorElementCount() == MemVT.getVectorElementCount()) && in getLoad()
8215 VT.getVectorElementCount() == SVT.getVectorElementCount()) && in getTruncStore()
8466 VT.getVectorElementCount() == SVT.getVectorElementCount()) && in getTruncStoreVP()
[all …]
H A DLegalizeVectorTypes.cpp2308 if (SrcVT.getVectorElementCount().isKnownEven() && in SplitVecRes_ExtendOp()
3844 InVT.getVectorElementCount()); in SplitVecOp_FP_TO_XINT_SAT()
4548 ElementCount InVTEC = InVT.getVectorElementCount(); in WidenVecRes_Convert()
4553 InVTEC = InVT.getVectorElementCount(); in WidenVecRes_Convert()
4639 if (WidenNumElts != SrcVT.getVectorElementCount()) in WidenVecRes_FP_TO_XINT_SAT()
5178 assert(Mask.getValueType().getVectorElementCount() == in WidenVecRes_VP_LOAD()
5180 .getVectorElementCount() && in WidenVecRes_VP_LOAD()
5204 assert(Mask.getValueType().getVectorElementCount() == in WidenVecRes_VP_STRIDED_LOAD()
5205 WidenVT.getVectorElementCount() && in WidenVecRes_VP_STRIDED_LOAD()
7057 ElementCount InEC = InVT.getVectorElementCount(); in ModifyToType()
[all …]
H A DLegalizeTypes.cpp850 Lo.getValueType().getVectorElementCount() * 2 == in SetSplitVector()
851 Op.getValueType().getVectorElementCount() && in SetSplitVector()
893 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()
624 ElementCount PartNumElts = PartVT.getVectorElementCount(); in widenVectorToPartType()
625 ElementCount ValueNumElts = ValueVT.getVectorElementCount(); in widenVectorToPartType()
676 PartEVT.getVectorElementCount() == in getCopyToPartsVector()
677 ValueVT.getVectorElementCount()) { in getCopyToPartsVector()
689 PartVT.getVectorElementCount()); in getCopyToPartsVector()
[all …]
H A DLegalizeTypesGeneric.cpp211 ElementCount OldEltCount = OldVec.getValueType().getVectorElementCount(); in ExpandRes_EXTRACT_VECTOR_ELT()
H A DDAGCombiner.cpp5204 FPVT.getVectorElementCount()); in PerformMinMaxFpToSatCombine()
5240 FPVT.getVectorElementCount()); in PerformUMinFpToSatCombine()
9547 VT.getVectorElementCount()); in visitSRA()
13693 VT.getVectorElementCount()); in foldExtendVectorInregToExtendOfSubvector()
13811 auto EltCnt = VecTy.getVectorElementCount(); in visitTRUNCATE()
22887 if (NVT.getVectorElementCount().isKnownMultipleOf(DestSrcRatio)) { in visitEXTRACT_SUBVECTOR()
22930 if (NVT.getVectorElementCount() == ConcatSrcVT.getVectorElementCount()) in visitEXTRACT_SUBVECTOR()
24583 VT.getVectorElementCount() && in visitINSERT_SUBVECTOR()
24600 CN0VT.getVectorElementCount() == VT.getVectorElementCount()) { in visitINSERT_SUBVECTOR()
24639 ElementCount NumElts = VT.getVectorElementCount(); in visitINSERT_SUBVECTOR()
[all …]
H A DLegalizeIntegerTypes.cpp471 OutVT.getVectorElementCount() * Scale); in PromoteIntRes_BITCAST()
1025 VT.getVectorElementCount()); in earlyExpandDIVFIX()
1365 ElementCount NumElts = InVT.getVectorElementCount(); in PromoteIntRes_TRUNCATE()
1366 assert(NumElts == NVT.getVectorElementCount() && in PromoteIntRes_TRUNCATE()
5393 SubVecVT.getVectorElementCount()); in PromoteIntRes_INSERT_SUBVECTOR()
5648 V0.getValueType().getVectorElementCount()); in PromoteIntOp_INSERT_SUBVECTOR()
H A DTargetLowering.cpp1045 NVT = EVT::getVectorVT(*DAG.getContext(), NVT, VT.getVectorElementCount()); in combineShiftToAVG()
2436 ElementCount SrcEltCnt = Src.getValueType().getVectorElementCount(); in SimplifyDemandedBits()
2888 ElementCount SrcEltCnt = SrcVT.getVectorElementCount(); in SimplifyDemandedVectorElts()
8057 OperandVT.getVectorElementCount()); in expandIS_FPCLASS()
9320 assert(DataVT.getVectorElementCount() == MaskVT.getVectorElementCount() && in IncrementMemoryAddress()
9411 SubVecVT.getVectorElementCount()); in getVectorSubVecPointer()
9996 EVT::getVectorVT(*DAG.getContext(), WideVT, VT.getVectorElementCount()); in expandMULO()
10330 VT.getVectorElementCount() * 2); in expandVectorSplice()
H A DLegalizeTypes.h937 assert(Mask.getValueType().getVectorElementCount() == EC && in GetWidenedMask()
H A DLegalizeVectorOps.cpp1330 MaskVT.getVectorElementCount()); in ExpandVP_MERGE()
/openbsd/gnu/llvm/llvm/include/llvm/Support/
H A DMachineValueType.h486 MVT VecTy = MVT::getVectorVT(IntTy, getVectorElementCount()); in changeVectorElementTypeToInteger()
495 MVT VecTy = MVT::getVectorVT(EltVT, getVectorElementCount()); in changeVectorElementType()
514 auto EltCnt = getVectorElementCount(); in getHalfNumVectorElementsVT()
531 ElementCount NElts = getVectorElementCount(); in getPow2VectorType()
901 ElementCount getVectorElementCount() const { in getVectorElementCount() function
/openbsd/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp590 MVT::getVectorVT(MVT::i8, VT.getVectorElementCount())); in RISCVTargetLowering()
1890 ElementCount EC = VecVT.getVectorElementCount(); in getMaskTypeFor()
2015 assert(DstContainerVT.getVectorElementCount() == in lowerFP_TO_INT_SAT()
2016 SrcContainerVT.getVectorElementCount() && in lowerFP_TO_INT_SAT()
3040 ContainerVT.getVectorElementCount() * 2); in lowerVECTOR_SHUFFLEAsVNSRL()
3962 VT.getVectorElementCount()); in LowerOperation()
3993 assert(ContainerVT.getVectorElementCount() == SrcContainerVT.getVectorElementCount() && in LowerOperation()
5113 const ElementCount Count = ContainerVT.getVectorElementCount(); in lowerVectorTruncLike()
7380 assert(VT.getVectorElementCount() == IndexVT.getVectorElementCount() && in lowerMaskedGather()
7482 assert(VT.getVectorElementCount() == IndexVT.getVectorElementCount() && in lowerMaskedScatter()
[all …]
H A DRISCVISelDAGToDAG.cpp426 assert(VT.getVectorElementCount() == IndexVT.getVectorElementCount() && in selectVLXSEG()
508 assert(VT.getVectorElementCount() == IndexVT.getVectorElementCount() && in selectVSXSEG()
1424 assert(VT.getVectorElementCount() == IndexVT.getVectorElementCount() && in Select()
1624 assert(VT.getVectorElementCount() == IndexVT.getVectorElementCount() && in Select()
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp507 LegalTy = VectorType::get(LegalTy, LT.second.getVectorElementCount()); in getIntrinsicInstrCost()
2551 ElementCount LegalVF = LT.second.getVectorElementCount(); in getGatherScatterOpCost()
3150 VectorType::get(Tp->getScalarType(), LT.second.getVectorElementCount()); in getShuffleCost()
3211 LT.second.getVectorElementCount())) in getShuffleCost()
H A DAArch64ISelLowering.cpp4292 if (OpVT.getVectorElementCount() != ArgVT.getVectorElementCount()) in LowerBITCAST()
5643 ElementCount EC = MemVT.getVectorElementCount(); in LowerSTORE()
12735 if (VT.getVectorElementCount() != (InVT.getVectorElementCount() * 2)) in LowerINSERT_SUBVECTOR()
13411 ElementCount EC = VT.getVectorElementCount(); in setInfoSVEStN()
15543 VT.getVectorElementCount() * 2); in performMulVectorCmpZeroCombine()
17449 VT.getVectorElementCount()); in performVectorAddSubExtCombine()
18039 VT.getVectorElementCount()); in performIntrinsicCombine()
21856 if (VT.getVectorElementCount() != SrcVT.getVectorElementCount()) in ReplaceBITCASTResults()
21960 ElementCount ResEC = VT.getVectorElementCount(); in ReplaceExtractSubVectorResults()
21962 if (InVT.getVectorElementCount() != (ResEC * 2)) in ReplaceExtractSubVectorResults()
[all …]
H A DAArch64FastISel.cpp3856 if (RVEVT.isVector() && RVEVT.getVectorElementCount().isVector() && in selectRet()
/openbsd/gnu/llvm/llvm/utils/TableGen/
H A DCodeGenDAGPatterns.cpp742 return !Lengths.count(T.isVector() ? T.getVectorElementCount() in EnforceSameNumElts()
754 VN.insert(T.isVector() ? T.getVectorElementCount() : ElementCount()); in EnforceSameNumElts()
756 WN.insert(T.isVector() ? T.getVectorElementCount() : ElementCount()); in EnforceSameNumElts()
H A DGlobalISelEmitter.cpp206 if (VT.isVector() && !VT.getVectorElementCount().isScalar()) in MVTToLLT()
208 LLT::vector(VT.getVectorElementCount(), VT.getScalarSizeInBits())); in MVTToLLT()
/openbsd/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonISelLoweringHVX.cpp2755 MVT PredTy = MVT::getVectorVT(MVT::i1, ResTy.getVectorElementCount()); in ExpandHvxFpToInt()
2861 MVT PredTy = MVT::getVectorVT(MVT::i1, InpTy.getVectorElementCount()); in ExpandHvxIntToFp()

12