| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | ValueTypes.h | 345 ElementCount getVectorElementCount() const { in getVectorElementCount() function 348 return V.getVectorElementCount(); in getVectorElementCount() 355 return getVectorElementCount().getKnownMinValue(); in getVectorMinNumElements() 442 return EVT::getVectorVT(Context, EltVT, getVectorElementCount()); in widenIntegerVectorElementType() 450 auto EltCnt = getVectorElementCount(); in getHalfNumVectorElementsVT() 460 auto EltCnt = getVectorElementCount(); in getDoubleNumVectorElementsVT() 474 ElementCount NElts = getVectorElementCount(); in getPow2VectorType()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVSelectionDAGInfo.cpp | 42 MaskVT.getVectorElementCount() == VT.getVectorElementCount() && in verifyTargetNode()
|
| H A D | RISCVISelLowering.cpp | 860 MVT::getVectorVT(MVT::i8, VT.getVectorElementCount())); in RISCVTargetLowering() 972 EVT FloatVT = MVT::getVectorVT(MVT::f32, VT.getVectorElementCount()); in RISCVTargetLowering() 1194 MVT F32VecVT = MVT::getVectorVT(MVT::f32, VT.getVectorElementCount()); in RISCVTargetLowering() 1396 EVT FloatVT = MVT::getVectorVT(MVT::f32, VT.getVectorElementCount()); in RISCVTargetLowering() 1468 MVT F32VecVT = MVT::getVectorVT(MVT::f32, VT.getVectorElementCount()); in RISCVTargetLowering() 1494 MVT F32VecVT = MVT::getVectorVT(MVT::f32, VT.getVectorElementCount()); in RISCVTargetLowering() 1611 ElementCount EC = VT.getVectorElementCount(); in RISCVTargetLowering() 1695 return EVT::getVectorVT(Context, MVT::i1, VT.getVectorElementCount()); in getSetCCResultType() 2688 InsertExtractIdx >= VecVT.getVectorElementCount().getKnownMinValue(); in decomposeSubvectorInsertExtractToSubRegs() 2692 InsertExtractIdx -= VecVT.getVectorElementCount().getKnownMinValue(); in decomposeSubvectorInsertExtractToSubRegs() [all …]
|
| H A D | RISCVISelDAGToDAG.cpp | 2215 assert(VT.getVectorElementCount() == IndexVT.getVectorElementCount() && in Select() 2449 assert(VT.getVectorElementCount() == IndexVT.getVectorElementCount() && in Select()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGenTypes/ |
| H A D | MachineValueType.h | 200 MVT VecTy = MVT::getVectorVT(IntTy, getVectorElementCount()); in changeVectorElementTypeToInteger() 209 MVT VecTy = MVT::getVectorVT(EltVT, getVectorElementCount()); in changeVectorElementType() 228 auto EltCnt = getVectorElementCount(); in getHalfNumVectorElementsVT() 237 auto EltCnt = getVectorElementCount(); in getDoubleNumVectorElementsVT() 253 ElementCount NElts = getVectorElementCount(); in getPow2VectorType() 291 ElementCount getVectorElementCount() const { in getVectorElementCount() function
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64SelectionDAGInfo.cpp | 55 assert(Op0VT.getVectorElementCount() * 2 == Op1VT.getVectorElementCount() && in verifyTargetNode() 72 assert(OpVT.getVectorElementCount() == VT.getVectorElementCount() * 2 && in verifyTargetNode() 104 assert(VT.getVectorElementCount() == Op0VT.getVectorElementCount() * 2 && in verifyTargetNode()
|
| H A D | AArch64ISelLowering.cpp | 2381 return EVT::getVectorVT(C, MVT::i1, VT.getVectorElementCount()); in getSetCCResultType() 5126 if (OpVT.getVectorElementCount() != ArgVT.getVectorElementCount()) in LowerBITCAST() 5136 if (OpVT.getVectorElementCount() == ArgVT.getVectorElementCount()) in LowerBITCAST() 5209 VT.getVectorElementCount()); in skipExtensionForVectorMULL() 6786 ElementCount EC = MemVT.getVectorElementCount(); in LowerSTORE() 6930 unsigned MinElmts = VecVT.getVectorElementCount().getKnownMinValue(); in LowerVECTOR_COMPRESS() 11548 MVT PredVT = MVT::getVectorVT(MVT::i1, Ty.getVectorElementCount()); in LowerSELECT() 11558 MVT PredVT = MVT::getVectorVT(SplatValVT, Ty.getVectorElementCount()); in LowerSELECT() 14823 ElementCount ZipEC = ContainerVT.getVectorElementCount(); in LowerFixedLengthBuildVectorToSVE() 15501 if (VT.getVectorElementCount() != (InVT.getVectorElementCount() * 2)) in LowerINSERT_SUBVECTOR() [all …]
|
| H A D | AArch64TargetTransformInfo.cpp | 841 LegalTy = VectorType::get(LegalTy, LT.second.getVectorElementCount()); in getIntrinsicInstrCost() 858 FPTy = VectorType::get(FPTy, LT.second.getVectorElementCount()); in getIntrinsicInstrCost() 859 RetTy = VectorType::get(RetTy, LT.second.getVectorElementCount()); in getIntrinsicInstrCost() 4485 ElementCount LegalVF = LT.second.getVectorElementCount(); in getGatherScatterOpCost() 5522 LT.second.getVectorElementCount()); in getShuffleCost() 5644 LT.second.getVectorElementCount())) in getShuffleCost()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ValueTypes.cpp | 30 return getVectorVT(Context, IntTy, getVectorElementCount()); in changeExtendedVectorElementTypeToInteger() 36 return getVectorVT(Context, EltVT, getVectorElementCount()); in changeExtendedVectorElementType() 173 utostr(getVectorElementCount().getKnownMinValue()) + in getEVTString()
|
| H A D | LowLevelTypeUtils.cpp | 70 return LLT::scalarOrVector(Ty.getVectorElementCount(), in getLLTForMVT()
|
| H A D | TargetLoweringBase.cpp | 1065 ElementCount NumElts = VT.getVectorElementCount(); in getTypeConversion() 1153 if (VT.getVectorElementCount() == ElementCount::getScalable(1)) in getTypeConversion() 1158 VT.getVectorElementCount().divideCoefficientBy(2)); in getTypeConversion() 1167 ElementCount EC = VT.getVectorElementCount(); in getVectorTypeBreakdownMVT() 1483 ElementCount EC = VT.getVectorElementCount(); in computeRegisterProperties() 1500 SVT.getVectorElementCount() == EC && isTypeLegal(SVT)) { in computeRegisterProperties() 1521 SVT.getVectorElementCount().getKnownMinValue() > in computeRegisterProperties() 1620 ElementCount EltCnt = VT.getVectorElementCount(); in getVectorTypeBreakdown() 1661 divideCeil(VT.getVectorElementCount().getKnownMinValue(), in getVectorTypeBreakdown() 1662 PartVT.getVectorElementCount().getKnownMinValue()); in getVectorTypeBreakdown()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeVectorTypes.cpp | 2715 if (SrcVT.getVectorElementCount().isKnownEven() && in SplitVecRes_ExtendOp() 3182 VT.getVectorElementCount()); in SplitVecRes_VP_REVERSE() 3234 VT.getVectorElementCount() * 2); in SplitVecRes_VP_SPLICE() 3327 SDValue LoElts = DAG.getElementCount(DL, OpVT, LoVT.getVectorElementCount()); in SplitVecRes_GET_ACTIVE_LANE_MASK() 3701 InVT.getVectorElementCount()); in SplitVecOp_UnaryOp() 4330 ElementCount NumElements = OutVT.getVectorElementCount(); in SplitVecOp_TruncateHelper() 4465 InVT.getVectorElementCount()); in SplitVecOp_FP_ROUND() 4528 ElementCount SplitOpEC = LHSLo.getValueType().getVectorElementCount(); in SplitVecOp_CMP() 4547 InVT.getVectorElementCount()); in SplitVecOp_FP_TO_XINT_SAT() 4998 GetWidenedMask(N->getOperand(3), WidenVT.getVectorElementCount()); in WidenVecRes_Ternary() [all …]
|
| H A D | SelectionDAG.cpp | 1571 VT.getVectorElementCount() == OpVT.getVectorElementCount()) && in getZeroExtendInReg() 1589 assert(VT.getVectorElementCount() == OpVT.getVectorElementCount() && in getVPZeroExtendInReg() 2534 LCName, VT.getVectorElementCount(), Masked)) { in expandMultipleResultFPLibCall() 6201 assert((Ops[0].getValueType().getVectorElementCount() * Ops.size()) == in foldCONCAT_VECTORS() 6202 VT.getVectorElementCount() && in foldCONCAT_VECTORS() 6378 assert((!VT.isVector() || VT.getVectorElementCount() == in getNode() 6379 N1.getValueType().getVectorElementCount()) && in getNode() 6403 assert((!VT.isVector() || VT.getVectorElementCount() == in getNode() 6404 N1.getValueType().getVectorElementCount()) && in getNode() 6430 assert((!VT.isVector() || VT.getVectorElementCount() == in getNode() [all …]
|
| H A D | LegalizeTypes.cpp | 849 Lo.getValueType().getVectorElementCount() * 2 == in SetSplitVector() 850 Op.getValueType().getVectorElementCount() && in SetSplitVector() 892 auto EltCnt = Op.getValueType().getVectorElementCount(); in BitConvertVectorToIntegerVector()
|
| H A D | SelectionDAGBuilder.cpp | 399 IntermediateVT.getVectorElementCount() * NumParts) in getCopyFromPartsVector() 422 if (PartEVT.getVectorElementCount() != ValueVT.getVectorElementCount()) { in getCopyFromPartsVector() 423 assert((PartEVT.getVectorElementCount().getKnownMinValue() > in getCopyFromPartsVector() 424 ValueVT.getVectorElementCount().getKnownMinValue()) && in getCopyFromPartsVector() 425 (PartEVT.getVectorElementCount().isScalable() == in getCopyFromPartsVector() 426 ValueVT.getVectorElementCount().isScalable()) && in getCopyFromPartsVector() 430 ValueVT.getVectorElementCount()); in getCopyFromPartsVector() 648 ElementCount PartNumElts = PartVT.getVectorElementCount(); in widenVectorToPartType() 649 ElementCount ValueNumElts = ValueVT.getVectorElementCount(); in widenVectorToPartType() 708 PartEVT.getVectorElementCount() == in getCopyToPartsVector() [all …]
|
| H A D | TargetLowering.cpp | 1121 NVT = EVT::getVectorVT(*DAG.getContext(), NVT, VT.getVectorElementCount()); in combineShiftToAVG() 2122 VT.getVectorElementCount()); in SimplifyDemandedBits() 2709 ElementCount SrcEltCnt = Src.getValueType().getVectorElementCount(); in SimplifyDemandedBits() 3244 ElementCount SrcEltCnt = SrcVT.getVectorElementCount(); in SimplifyDemandedVectorElts() 6622 VT.getVectorElementCount()); in BuildSDIV() 6811 VT.getVectorElementCount()); in BuildUDIV() 9043 OperandVT.getVectorElementCount()); in expandIS_FPCLASS() 9589 EVT::getVectorVT(*DAG.getContext(), ResVT, SrcVT.getVectorElementCount()); in expandVPCTTZElements() 9595 SrcVT.getVectorElementCount()); in expandVPCTTZElements() 9621 BoolVT.getTypeForEVT(*DAG.getContext()), MaskVT.getVectorElementCount(), in expandVectorFindLastActive() [all …]
|
| H A D | LegalizeTypesGeneric.cpp | 211 ElementCount OldEltCount = OldVec.getValueType().getVectorElementCount(); in ExpandRes_EXTRACT_VECTOR_ELT()
|
| H A D | LegalizeVectorOps.cpp | 1679 MaskVT.getVectorElementCount()); in ExpandVP_MERGE() 2185 ElementCount VL = VT.getVectorElementCount(); in tryExpandVecMathCall()
|
| H A D | DAGCombiner.cpp | 4169 VT.getVectorElementCount()); in visitSUB() 6004 FPVT.getVectorElementCount()); in PerformMinMaxFpToSatCombine() 6039 FPVT.getVectorElementCount()); in PerformUMinFpToSatCombine() 10841 TruncVT = EVT::getVectorVT(Ctx, TruncVT, VT.getVectorElementCount()); in visitSRA() 10885 TruncVT = EVT::getVectorVT(Ctx, TruncVT, VT.getVectorElementCount()); in visitSRA() 15782 VT.getVectorElementCount()); in foldExtendVectorInregToExtendOfSubvector() 16036 auto EltCnt = VecTy.getVectorElementCount(); in visitTRUNCATE() 16190 X.getValueType().getVectorElementCount())); in visitTRUNCATE() 17920 VT.getVectorElementCount()); in combineFMulOrFDivWithIntPow2() 19828 return T.isVector() ? T.getVectorElementCount() : ElementCount::getFixed(0); in numVectorEltsOrZero() [all …]
|
| H A D | LegalizeIntegerTypes.cpp | 566 OutVT.getVectorElementCount() * Scale); in PromoteIntRes_BITCAST() 1250 VT.getVectorElementCount()); in earlyExpandDIVFIX() 1694 ElementCount NumElts = InVT.getVectorElementCount(); in PromoteIntRes_TRUNCATE() 1695 assert(NumElts == NVT.getVectorElementCount() && in PromoteIntRes_TRUNCATE() 6061 SubVecVT.getVectorElementCount()); in PromoteIntRes_INSERT_SUBVECTOR() 6358 V0.getValueType().getVectorElementCount()); in PromoteIntOp_INSERT_SUBVECTOR()
|
| /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/Target/WebAssembly/ |
| H A D | WebAssemblyISelLowering.cpp | 434 ((VT.getVectorElementCount() * 2 == Op1VT.getVectorElementCount()) || in shouldExpandPartialReductionIntrinsic() 435 (VT.getVectorElementCount() * 4 == Op1VT.getVectorElementCount()))) in shouldExpandPartialReductionIntrinsic()
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/ |
| H A D | GlobalISelMatchTable.cpp | 440 if (VT.isVector() && !VT.getVectorElementCount().isScalar()) in MVTToLLT() 442 LLT::vector(VT.getVectorElementCount(), VT.getScalarSizeInBits())); in MVTToLLT()
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/ |
| H A D | CodeGenDAGPatterns.cpp | 733 return !Lengths.contains(T.isVector() ? T.getVectorElementCount() in EnforceSameNumElts() 745 VN.insert(T.isVector() ? T.getVectorElementCount() : ElementCount()); in EnforceSameNumElts() 747 WN.insert(T.isVector() ? T.getVectorElementCount() : ElementCount()); in EnforceSameNumElts()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLoweringCall.cpp | 222 return EVT::getVectorVT(Context, MVT::i1, VT.getVectorElementCount()); in getSetCCResultType() 230 return EVT::getVectorVT(Context, MVT::i1, VT.getVectorElementCount()); in getSetCCResultType()
|