/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeVectorTypes.cpp | 296 && Op.getValueType().getVectorNumElements() == 1 in ScalarizeVecRes_BITCAST() 696 assert(N->getValueType(0).getVectorNumElements() == 1 && in ScalarizeVecOp_UnaryOp() 709 assert(N->getValueType(0).getVectorNumElements() == 1 && in ScalarizeVecOp_UnaryOp_StrictFP() 1224 unsigned LoNumElts = LoVT.getVectorNumElements(); in SplitVecRes_BUILD_VECTOR() 1390 unsigned InNumElements = InLoVT.getVectorNumElements(); in SplitVecRes_ExtVecInRegOp() 1394 unsigned OutNumElements = OutLoVT.getVectorNumElements(); in SplitVecRes_ExtVecInRegOp() 1469 unsigned NE = VT.getVectorNumElements(); in UnrollVectorOp_StrictFP() 1990 unsigned NewElts = NewVT.getVectorNumElements(); in SplitVecRes_VECTOR_SHUFFLE() 2765 for (unsigned i = 0, e = Op.getValueType().getVectorNumElements(); in SplitVecOp_CONCAT_VECTORS() 2938 return DAG.UnrollVectorOp(N, N->getValueType(0).getVectorNumElements()); in SplitVecOp_FCOPYSIGN() [all …]
|
H A D | LegalizeTypesGeneric.cpp | 89 assert(!(InVT.getVectorNumElements() & 1) && "Unsupported BITCAST"); in ExpandRes_BITCAST() 212 unsigned OldElts = OldVec.getValueType().getVectorNumElements(); in ExpandRes_EXTRACT_VECTOR_ELT() 355 NumElts = N->getValueType(0).getVectorNumElements(); in ExpandOp_BITCAST() 374 unsigned NumElts = VecVT.getVectorNumElements(); in ExpandOp_BUILD_VECTOR() 412 unsigned NumElts = VecVT.getVectorNumElements(); in ExpandOp_INSERT_VECTOR_ELT() 450 unsigned NumElts = VT.getVectorNumElements(); in ExpandOp_SCALAR_TO_VECTOR()
|
H A D | LegalizeVectorOps.cpp | 642 assert(NVT.getVectorNumElements() == VT.getVectorNumElements() && in PromoteINT_TO_FP() 681 assert(NVT.getVectorNumElements() == VT.getVectorNumElements() && in PromoteFP_TO_INT() 996 int NumElements = VT.getVectorNumElements(); in ExpandANY_EXTEND_VECTOR_INREG() 999 int NumSrcElements = SrcVT.getVectorNumElements(); in ExpandANY_EXTEND_VECTOR_INREG() 1055 int NumElements = VT.getVectorNumElements(); in ExpandZERO_EXTEND_VECTOR_INREG() 1058 int NumSrcElements = SrcVT.getVectorNumElements(); in ExpandZERO_EXTEND_VECTOR_INREG() 1093 for (int I = 0, E = VT.getVectorNumElements(); I != E; ++I) in createBSWAPShuffleMask() 1457 unsigned NumElems = VT.getVectorNumElements(); in UnrollStrictFPOp() 1516 unsigned NumElems = VT.getVectorNumElements(); in UnrollVSETCC()
|
H A D | SelectionDAG.cpp | 742 for (unsigned i = 0, e = N->getValueType(0).getVectorNumElements(); in AddNodeIDCustom() 947 assert(N->getNumOperands() == N->getValueType(0).getVectorNumElements() && in VerifySDNode() 1415 for (unsigned i = 0; i < ViaVecNumElts / VT.getVectorNumElements(); ++i) { in getConstant() 1434 for (unsigned i = 0, e = VT.getVectorNumElements(); i != e; ++i) in getConstant() 1758 for (uint64_t i = 0; i < ResVT.getVectorNumElements(); i++) in getStepVector() 1772 assert(VT.getVectorNumElements() == Mask.size() && in getVectorShuffle() 1887 V.getValueType().getVectorNumElements() == VT.getVectorNumElements(); in getVectorShuffle() 2376 ? APInt::getAllOnesValue(VT.getVectorNumElements()) in GetDemandedBits() 2510 unsigned NumElts = VT.getVectorNumElements(); in isSplatValue() 2557 unsigned NumSrcElts = Src.getValueType().getVectorNumElements(); in isSplatValue() [all …]
|
H A D | DAGCombiner.cpp | 347 unsigned NumElts = Op.getValueType().getVectorNumElements(); in SimplifyDemandedVectorElts() 3944 unsigned NumElts = VT.getVectorNumElements(); in visitMUL() 6391 int NumElts = VT.getVectorNumElements(); in visitOR() 9576 int NumElems = VT.getVectorNumElements(); in ConvertSelectToConcatVector() 9797 unsigned Elts = VT.getVectorNumElements(); in foldVSelectOfConstants() 10304 unsigned NumElts = VT.getVectorNumElements(); in tryToFoldExtendOfConstant() 10465 SplitSrcVT.getVectorNumElements() > 1) { in CombineExtLoad() 10477 DstVT.getVectorNumElements() / SplitDstVT.getVectorNumElements(); in CombineExtLoad() 12141 unsigned TruncVecNumElts = VT.getVectorNumElements(); in visitTRUNCATE() 12243 unsigned Idx = isLE ? 0 : VecSrcVT.getVectorNumElements() - 1; in visitTRUNCATE() [all …]
|
H A D | TargetLowering.cpp | 549 ? APInt::getAllOnesValue(VT.getVectorNumElements()) in ShrinkDemandedConstant() 633 ? APInt::getAllOnesValue(VT.getVectorNumElements()) in SimplifyDemandedBits() 678 unsigned NumSrcElts = SrcVT.getVectorNumElements(); in SimplifyMultipleUseDemandedBits() 701 unsigned NumSrcElts = SrcVT.isVector() ? SrcVT.getVectorNumElements() : 1; in SimplifyMultipleUseDemandedBits() 825 if (CIdx && CIdx->getAPIntValue().ult(VecVT.getVectorNumElements()) && in SimplifyMultipleUseDemandedBits() 835 unsigned NumSubElts = Sub.getValueType().getVectorNumElements(); in SimplifyMultipleUseDemandedBits() 878 ? APInt::getAllOnesValue(VT.getVectorNumElements()) in SimplifyMultipleUseDemandedBits() 918 NumElts == Op.getValueType().getVectorNumElements()) && in SimplifyDemandedBits() 1014 if (CIdx && CIdx->getAPIntValue().ult(VecVT.getVectorNumElements())) { in SimplifyDemandedBits() 1047 unsigned NumSubElts = Sub.getValueType().getVectorNumElements(); in SimplifyDemandedBits() [all …]
|
H A D | LegalizeDAG.cpp | 259 unsigned NumMaskElts = VT.getVectorNumElements(); in ShuffleWithNarrowerEltType() 260 unsigned NumDestElts = NVT.getVectorNumElements(); in ShuffleWithNarrowerEltType() 408 unsigned NumElts = Vec.getValueType().getVectorNumElements(); in ExpandINSERT_VECTOR_ELT() 2973 if (Node->getOperand(0).getValueType().getVectorNumElements() == 1) in ExpandNode() 3029 NewVT.getVectorNumElements()/VT.getVectorNumElements(); in ExpandNode() 3034 for (unsigned i = 0; i < VT.getVectorNumElements(); ++i) { in ExpandNode() 3049 unsigned NumElems = VT.getVectorNumElements(); in ExpandNode() 3748 unsigned NumElem = VT.getVectorNumElements(); in ExpandNode() 4813 unsigned NewEltsPerOldElt = MidVT.getVectorNumElements(); in PromoteNode() 4859 unsigned NewEltsPerOldElt = MidVT.getVectorNumElements(); in PromoteNode() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
H A D | HexagonISelLoweringHVX.cpp | 211 MVT BoolW = MVT::getVectorVT(MVT::i1, T.getVectorNumElements()); in initializeHVXLowering() 222 MVT BoolV = MVT::getVectorVT(MVT::i1, T.getVectorNumElements()); in initializeHVXLowering() 276 unsigned VecLen = VecTy.getVectorNumElements(); in getPreferredHvxVectorAction() 327 return MVT::getVectorVT(ElemTy, Tys.first.getVectorNumElements() + in typeJoin() 328 Tys.second.getVectorNumElements()); in typeJoin() 334 unsigned NumElem = VecTy.getVectorNumElements(); in typeSplit() 344 return MVT::getVectorVT(NewElemTy, VecTy.getVectorNumElements()); in typeExtElem() 351 return MVT::getVectorVT(NewElemTy, VecTy.getVectorNumElements()); in typeTruncElem() 480 assert(ResTy.getVectorNumElements() == ByteMask.size()); in getByteShuffle() 587 unsigned ExtLen = ExtTy.getVectorNumElements(); in buildHvxVectorReg() [all …]
|
H A D | HexagonSubtarget.cpp | 147 unsigned NumElems = VecTy.getVectorNumElements(); in isHVXVectorType() 187 unsigned VecLen = PowerOf2Ceil(Ty.getVectorNumElements()); in isTypeForHVX()
|
H A D | HexagonISelLowering.cpp | 1043 OpTy.getVectorNumElements()); in LowerSETCC() 1101 OpTy.getVectorNumElements()); in LowerVSELECT() 2362 assert(VecTy.getVectorNumElements() == Elem.size()); in buildVector32() 2444 assert(VecTy.getVectorNumElements() == Elem.size()); in buildVector64() 2516 assert(VecWidth == VecTy.getVectorNumElements() && "Sanity failure"); in extractVector() 2608 unsigned VecLen = VecTy.getVectorNumElements(); in insertVector() 2609 unsigned Scale = VecLen / ValTy.getVectorNumElements(); in insertVector() 2707 unsigned ValLen = ValTy.getVectorNumElements(); in appendUndef() 2708 unsigned ResLen = ResTy.getVectorNumElements(); in appendUndef() 2761 unsigned Rep = 8 / VecTy.getVectorNumElements(); in LowerBUILD_VECTOR() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/ |
H A D | LowLevelType.cpp | 20 init(/*IsPointer=*/false, VT.getVectorNumElements() > 1, in LLT() 21 VT.getVectorNumElements(), VT.getVectorElementType().getSizeInBits(), in LLT()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
H A D | X86InterleavedAccess.cpp | 236 VT.getVectorNumElements() / 2); in scaleVectorType() 266 unsigned NumOfElm = VT.getVectorNumElements(); in genShuffleBland() 443 int VF = VT.getVectorNumElements(); in createShuffleStride() 456 int VF = VT.getVectorNumElements() / std::max(VectorSize / 128, 1); in setGroupSize() 480 unsigned NumElts = VT.getVectorNumElements(); in DecodePALIGNRMask() 615 int VF = VT.getVectorNumElements(); in group2Shuffle() 683 unsigned NumOfElm = VT.getVectorNumElements(); in interleave8bitStride3()
|
H A D | X86ISelLowering.cpp | 2109 if (!VT.isScalableVector() && VT.getVectorNumElements() != 1 && in getPreferredVectorAction() 2155 unsigned NumElts = VT.getVectorNumElements(); in getRegisterTypeForCallingConv() 2173 unsigned NumElts = VT.getVectorNumElements(); in getNumRegistersForCallingConv() 2192 (!isPowerOf2_32(VT.getVectorNumElements()) || in getVectorTypeBreakdownForCallingConv() 2193 (VT.getVectorNumElements() == 64 && !Subtarget.hasBWI()) || in getVectorTypeBreakdownForCallingConv() 2194 VT.getVectorNumElements() > 64)) { in getVectorTypeBreakdownForCallingConv() 2197 NumIntermediates = VT.getVectorNumElements(); in getVectorTypeBreakdownForCallingConv() 3903 unsigned NumElems = VT.getVectorNumElements(); in getMOVL() 5187 Info.memVT = MVT::getVectorVT(ScalarVT, VT.getVectorNumElements()); in getTgtMemIntrinsic() 5198 unsigned NumElts = std::min(DataVT.getVectorNumElements(), in getTgtMemIntrinsic() [all …]
|
H A D | X86TargetTransformInfo.cpp | 1002 return 20 * LT.first * LT.second.getVectorNumElements() * ScalarCost; in getArithmeticInstrCost() 1031 int NumElts = LT.second.getVectorNumElements(); in getShuffleCost() 1037 int NumSubElts = SubLT.second.getVectorNumElements(); in getShuffleCost() 1056 LT.second.getVectorNumElements()); in getShuffleCost() 1058 SubLT.second.getVectorNumElements()); in getShuffleCost() 1080 int NumElts = LT.second.getVectorNumElements(); in getShuffleCost() 1084 int NumSubElts = SubLT.second.getVectorNumElements(); in getShuffleCost() 1134 LegalVT.getVectorNumElements() < in getShuffleCost() 1145 LegalVT.getVectorNumElements()); in getShuffleCost() 3124 unsigned NumElts = LT.second.getVectorNumElements(); in getVectorInstrCost() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
H A D | LowLevelType.cpp | 59 return LLT::vector(Ty.getVectorNumElements(), in getLLTForMVT()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
H A D | ValueTypes.h | 301 unsigned getVectorNumElements() const { in getVectorNumElements() function 310 return isSimple() ? V.getVectorNumElements() in getVectorNumElements()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUISelLowering.cpp | 1068 assert(ArgVT.getVectorNumElements() > RegisterVT.getVectorNumElements()); in analyzeFormalArgumentsCompute() 1074 ArgVT.getVectorNumElements() == NumRegs) { in analyzeFormalArgumentsCompute() 1088 unsigned NumElements = RegisterVT.getVectorNumElements(); in analyzeFormalArgumentsCompute() 1101 if (MemVT.isVector() && MemVT.getVectorNumElements() == 1) in analyzeFormalArgumentsCompute() 1106 assert(MemVT.getVectorNumElements() == 3 || in analyzeFormalArgumentsCompute() 1107 MemVT.getVectorNumElements() == 5); in analyzeFormalArgumentsCompute() 1374 VT.getVectorNumElements()); in LowerEXTRACT_SUBVECTOR() 1491 unsigned NumElts = VT.getVectorNumElements(); in getSplitDestVTs() 1506 assert(LoVT.getVectorNumElements() + in splitVector() 1507 (HiVT.isVector() ? HiVT.getVectorNumElements() : 1) <= in splitVector() [all …]
|
H A D | SIISelLowering.cpp | 915 unsigned NumElts = VT.getVectorNumElements(); in getNumRegistersForCallingConv() 939 unsigned NumElts = VT.getVectorNumElements(); in getVectorTypeBreakdownForCallingConv() 1571 if (!VT.isScalableVector() && VT.getVectorNumElements() != 1 && in getPreferredVectorAction() 1645 VT.getVectorNumElements() != MemVT.getVectorNumElements()) { in convertArgType() 1648 VT.getVectorNumElements()); in convertArgType() 4326 return EVT::getVectorVT(Ctx, MVT::i1, VT.getVectorNumElements()); in getSetCCResultType() 4573 if ((LoadVT.getVectorNumElements() % 2) == 1) { in adjustLoadValueTypeImpl() 4576 LoadVT.getVectorNumElements() + 1); in adjustLoadValueTypeImpl() 4591 if ((LoadVT.getVectorNumElements() % 2) == 1) in adjustLoadValueTypeImpl() 4618 LoadVT.getVectorNumElements()); in adjustLoadValueType() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyISelLowering.cpp | 1663 ExtractedVecT.getVectorNumElements() / VecT.getVectorNumElements(); in LowerSIGN_EXTEND_INREG() 1730 if (Lane->getOperand(0).getValueType().getVectorNumElements() > in LowerBUILD_VECTOR() 1731 VecT.getVectorNumElements()) in LowerBUILD_VECTOR() 1831 size_t DestLaneCount = VecT.getVectorNumElements(); in LowerBUILD_VECTOR() 1982 size_t NumLanes = Op.getSimpleValueType().getVectorNumElements(); in unrollVectorShift() 2072 SrcType.getVectorNumElements() != DstType.getVectorNumElements()) in performVECTOR_SHUFFLECombine()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/ |
H A D | ARMISelLowering.cpp | 5912 unsigned DstNumElt = DstVT.getVectorNumElements(); in CombineVMOVDRRCandidateWithVecOp() 5928 ExtractSrc.getValueType().getVectorNumElements() * DstNumElt); in CombineVMOVDRRCandidateWithVecOp() 5983 SrcVT.getVectorNumElements() > 1) in ExpandBITCAST() 6462 unsigned CmpElements = CmpVT.getVectorNumElements() * 2; in LowerVSETCC() 6903 unsigned NumElts = VT.getVectorNumElements(); in isSingletonVEXTMask() 6932 unsigned NumElts = VT.getVectorNumElements(); in isVEXTMask() 7006 unsigned NumElts = VT.getVectorNumElements(); in isVTRNMask() 7038 unsigned NumElts = VT.getVectorNumElements(); in isVTRN_v_undef_Mask() 7070 unsigned NumElts = VT.getVectorNumElements(); in isVUZPMask() 7100 unsigned NumElts = VT.getVectorNumElements(); in isVUZP_v_undef_Mask() [all …]
|
H A D | ARMTargetTransformInfo.cpp | 434 return 2 * DstTy.getVectorNumElements() * in getCastInstrCost() 754 Lanes = SrcTy.getVectorNumElements(); in getCastInstrCost() 771 return SrcTy.getVectorNumElements() * 2; in getCastInstrCost() 964 if (LT.second.getVectorNumElements() > 2) { in getCmpSelInstrCost() 1231 if (Mask.size() <= LT.second.getVectorNumElements() && in getShuffleCost()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 3252 unsigned NumElts = InVT.getVectorNumElements(); in LowerVectorFP_TO_INT() 3278 VT.getVectorNumElements()); in LowerVectorFP_TO_INT() 3381 InVT.getVectorNumElements()); in LowerVectorINT_TO_FP() 3553 unsigned NumElts = VT.getVectorNumElements(); in skipExtensionForVectorMULL() 8155 unsigned NarrowSize = VT.getVectorNumElements(); in WidenVector() 8175 unsigned WideSize = VT.getVectorNumElements(); in NarrowVector() 8193 unsigned NumElts = VT.getVectorNumElements(); in ReconstructShuffle() 8361 SmallVector<int, 8> Mask(ShuffleVT.getVectorNumElements(), -1); in ReconstructShuffle() 8363 for (unsigned i = 0; i < VT.getVectorNumElements(); ++i) { in ReconstructShuffle() 8412 unsigned NumElts = VT.getVectorNumElements(); in isSingletonEXTMask() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/ |
H A D | SystemZISelLowering.cpp | 4391 unsigned NumElements = VT.getVectorNumElements(); in getVPermMask() 4889 SmallVector<SDValue, 16> Ops(VT.getVectorNumElements(), Value); in buildScalarToVector() 4939 unsigned NumElements = VT.getVectorNumElements(); in tryBuildVectorShuffle() 5173 unsigned NumElements = VT.getVectorNumElements(); in lowerVECTOR_SHUFFLE() 5178 assert(Index < VT.getVectorNumElements() && in lowerVECTOR_SHUFFLE() 5227 unsigned Mask = VT.getVectorNumElements() - 1; in lowerINSERT_VECTOR_ELT() 5234 MVT IntVecVT = MVT::getVectorVT(IntVT, VT.getVectorNumElements()); in lowerINSERT_VECTOR_ELT() 5254 unsigned Mask = VecVT.getVectorNumElements() - 1; in lowerEXTRACT_VECTOR_ELT() 5261 MVT IntVecVT = MVT::getVectorVT(IntVT, VecVT.getVectorNumElements()); in lowerEXTRACT_VECTOR_ELT() 5291 unsigned InNumElts = InVT.getVectorNumElements(); in lowerZERO_EXTEND_VECTOR_INREG() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/ |
H A D | NVPTXISelLowering.h | 474 return EVT::getVectorVT(Ctx, MVT::i1, VT.getVectorNumElements()); in getSetCCResultType()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/ |
H A D | RISCVISelLowering.cpp | 1157 if (VT.getVectorNumElements() > 256) in useRVVForFixedLengthVectorVT() 1169 if (VT.getVectorNumElements() > MinVLen) in useRVVForFixedLengthVectorVT() 1235 divideCeil(VT.getVectorNumElements(), MinVLen / RISCV::RVVBitsPerBlock); in getContainerForFixedLengthVector() 1284 ? DAG.getConstant(VecVT.getVectorNumElements(), DL, XLenVT) in getDefaultVLOps() 1526 DAG.getConstant(ViaVecVT.getVectorNumElements(), DL, XLenVT); in lowerBUILD_VECTOR() 1710 unsigned NumElts = VT.getVectorNumElements(); in lowerVECTOR_SHUFFLE() 1731 V.getOperand(0).getSimpleValueType().getVectorNumElements(); in lowerVECTOR_SHUFFLE() 1840 if (VT.getScalarSizeInBits() == 8 && VT.getVectorNumElements() > 256) { in lowerVECTOR_SHUFFLE() 3735 DAG.getConstant(OrigIdx + SubVecVT.getVectorNumElements(), DL, XLenVT); in lowerINSERT_SUBVECTOR() 3882 SDValue VL = DAG.getConstant(SubVecVT.getVectorNumElements(), DL, XLenVT); in lowerEXTRACT_SUBVECTOR() [all …]
|