| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | Scalarizer.cpp | 440 Res.resize(NumElems); in splitBinary() 494 ValueVector Res(NumElems); in splitCall() 531 Res.resize(NumElems); in visitSelectInst() 591 Res.resize(NumElems); in visitGetElementPtrInst() 617 Res.resize(NumElems); in visitCastInst() 618 for (unsigned I = 0; I < NumElems; ++I) in visitCastInst() 689 Res.resize(NumElems); in visitShuffleVectorInst() 712 Res.resize(NumElems); in visitPHINode() 715 for (unsigned I = 0; I < NumElems; ++I) in visitPHINode() 744 Res.resize(NumElems); in visitLoadInst() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/Hexagon/ |
| H A D | HexagonSubtarget.h | 239 unsigned NumElems = VecTy.getVectorNumElements(); 244 if (8*HwLen == NumElems) 249 if (NumElems * T.getSizeInBits() == 8*HwLen)
|
| H A D | HexagonISelDAGToDAGHVX.cpp | 817 unsigned NumElems = HwLen / (ElemTy.getSizeInBits()/8); in getSingleVT() local 818 return MVT::getVectorVT(ElemTy, NumElems); in getSingleVT() 822 unsigned NumElems = (2*HwLen) / (ElemTy.getSizeInBits()/8); in getPairVT() local 823 return MVT::getVectorVT(ElemTy, NumElems); in getPairVT()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | MemoryBuiltins.cpp | 562 APInt NumElems = C->getValue(); in visitAllocaInst() local 563 if (!CheckedZextOrTrunc(NumElems)) in visitAllocaInst() 567 Size = Size.umul_ov(NumElems, Overflow); in visitAllocaInst() 626 APInt NumElems = Arg->getValue(); in visitCallSite() local 627 if (!CheckedZextOrTrunc(NumElems)) in visitCallSite() 631 Size = Size.umul_ov(NumElems, Overflow); in visitCallSite()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Attributes.cpp | 72 unsigned NumElems = Num & std::numeric_limits<unsigned>::max(); in unpackAllocSizeArgs() local 76 if (NumElems != AllocSizeNumElemsNotPresent) in unpackAllocSizeArgs() 77 NumElemsArg = NumElems; in unpackAllocSizeArgs() 393 Optional<unsigned> NumElems; in getAsString() local 394 std::tie(ElemSize, NumElems) = getAllocSizeArgs(); in getAsString() 398 if (NumElems.hasValue()) { in getAsString() 400 Result += utostr(*NumElems); in getAsString() 1451 const Optional<unsigned> &NumElems) { in addAllocSizeAttr() argument 1452 return addAllocSizeAttrFromRawRepr(packAllocSizeArgs(ElemSize, NumElems)); in addAllocSizeAttr()
|
| H A D | ConstantFold.cpp | 360 unsigned NumElems = STy->getNumElements(); in getFoldedSizeOf() local 362 if (NumElems == 0) in getFoldedSizeOf() 368 for (unsigned i = 1; i != NumElems; ++i) in getFoldedSizeOf() 375 Constant *N = ConstantInt::get(DestTy, NumElems); in getFoldedSizeOf() 426 unsigned NumElems = STy->getNumElements(); in getFoldedAlignOf() local 428 if (NumElems == 0) in getFoldedAlignOf() 434 for (unsigned i = 1; i != NumElems; ++i) in getFoldedAlignOf() 482 unsigned NumElems = STy->getNumElements(); in getFoldedOffsetOf() local 484 if (NumElems == 0) in getFoldedOffsetOf() 490 for (unsigned i = 1; i != NumElems; ++i) in getFoldedOffsetOf()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeTypesGeneric.cpp | 109 unsigned NumElems = 2; in ExpandRes_BITCAST() local 111 EVT NVT = EVT::getVectorVT(*DAG.getContext(), ElemVT, NumElems); in ExpandRes_BITCAST() 119 NumElems *= 2; in ExpandRes_BITCAST() 121 NVT = EVT::getVectorVT(*DAG.getContext(), ElemVT, NumElems); in ExpandRes_BITCAST() 128 for (unsigned i = 0; i < NumElems; ++i) in ExpandRes_BITCAST()
|
| H A D | LegalizeVectorOps.cpp | 1224 unsigned NumElems = VT.getVectorNumElements(); in ExpandStrictFPOp() local 1233 for (unsigned i = 0; i < NumElems; ++i) { in ExpandStrictFPOp() 1270 unsigned NumElems = VT.getVectorNumElements(); in UnrollVSETCC() local 1275 SmallVector<SDValue, 8> Ops(NumElems); in UnrollVSETCC() 1276 for (unsigned i = 0; i < NumElems; ++i) { in UnrollVSETCC()
|
| H A D | LegalizeDAG.cpp | 1785 unsigned NumElems = Node->getNumOperands(); in ExpandBVWithShuffles() local 1799 for (unsigned i = 0; i < NumElems; ++i) { in ExpandBVWithShuffles() 1829 ShuffleVec[k] = NumElems + j; in ExpandBVWithShuffles() 1861 SmallVector<int, 16> ShuffleVec(NumElems, -1); in ExpandBVWithShuffles() 1879 unsigned NumElems = Node->getNumOperands(); in ExpandBUILD_VECTOR() local 1891 for (unsigned i = 0; i < NumElems; ++i) { in ExpandBUILD_VECTOR() 1952 for (unsigned i = 0; i < NumElems; ++i) { in ExpandBUILD_VECTOR() 1961 for (unsigned i = 0; i < NumElems; ++i) { in ExpandBUILD_VECTOR() 2964 for (unsigned i = 0; i != NumElems; ++i) { in ExpandNode() 2970 if (Idx < NumElems) in ExpandNode() [all …]
|
| H A D | DAGCombiner.cpp | 7582 for (int i = NumElems / 2; i < NumElems; ++i) { in ConvertSelectToConcatVector() 16086 unsigned ShuffleNumElems = NumElems; in createBuildVecShuffle() 16121 Vec2Offset = NumElems; in createBuildVecShuffle() 16140 ShuffleNumElems = NumElems * 2; in createBuildVecShuffle() 16188 if (ShuffleNumElems > NumElems) in createBuildVecShuffle() 16371 NumElems * 2 < NearestPow2) { in reduceBuildVecToShuffle() 16472 Mask[i] = i + NumElems; in reduceBuildVecToShuffle() 17084 assert((Idx % NumElems) == 0 && in visitEXTRACT_SUBVECTOR() 17086 return V->getOperand(Idx / NumElems); in visitEXTRACT_SUBVECTOR() 17104 (NumElems == 1 || in visitEXTRACT_SUBVECTOR() [all …]
|
| H A D | LegalizeIntegerTypes.cpp | 3685 unsigned NumElems = N->getNumOperands(); in PromoteIntRes_BUILD_VECTOR() local 3691 Ops.reserve(NumElems); in PromoteIntRes_BUILD_VECTOR() 3692 for (unsigned i = 0; i != NumElems; ++i) { in PromoteIntRes_BUILD_VECTOR() 3838 unsigned NumElems = N->getNumOperands(); in PromoteIntOp_CONCAT_VECTORS() local 3843 NewOps.reserve(NumElems); in PromoteIntOp_CONCAT_VECTORS() 3846 for (unsigned VecIdx = 0; VecIdx != NumElems; ++VecIdx) { in PromoteIntOp_CONCAT_VECTORS()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/ |
| H A D | ThreadSafetyUtil.h | 58 template <typename T> T *allocateT(size_t NumElems) { in allocateT() argument 59 return Allocator->Allocate<T>(NumElems); in allocateT()
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 5500 if ((!Subtarget.hasDQI() && NumElems == 8) || NumElems < 8) in insert1BitVector() 9106 HVT, dl, Op->ops().slice(NumElems / 2, NumElems /2)); in LowerBUILD_VECTOR() 9175 static_cast<int>(Reverse2 ? NumElems+1 : NumElems), in LowerBUILD_VECTOR() 9176 static_cast<int>(Reverse2 ? NumElems : NumElems+1) in LowerBUILD_VECTOR() 16337 if ((!Subtarget.hasDQI() && NumElems == 8) || NumElems < 8) { in ExtractBitFromMaskVector() 16717 if ((!Subtarget.hasDQI() && NumElems == 8) || NumElems < 8) { in LowerEXTRACT_SUBVECTOR() 37142 NumElems >= 2 && isPowerOf2_32(NumElems))) in detectAVGPattern() 37268 if (NumElems < 2) in combineLoad() 37495 for (unsigned i = NumElems; i != NumElems * SizeRatio; ++i) in combineMaskedLoad() 37633 for (unsigned i = NumElems; i != NumElems*SizeRatio; ++i) in combineMaskedStore() [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAGNodes.h | 1485 unsigned NumElems = Mask.size(); 1486 for (unsigned i = 0; i != NumElems; ++i) { 1490 else if (idx < (int)NumElems) 1491 Mask[i] = idx + NumElems; 1493 Mask[i] = idx - NumElems;
|
| /freebsd-12.1/contrib/llvm/lib/Object/ |
| H A D | WasmObjectFile.cpp | 1099 uint32_t NumElems = readVaruint32(Ctx); in parseElemSection() local 1100 while (NumElems--) { in parseElemSection()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaInit.cpp | 683 unsigned NumElems = numStructUnionElements(ILE->getType()); in FillInEmptyInitializations() local 685 ++NumElems; in FillInEmptyInitializations() 686 if (ILE->getNumInits() < NumElems) in FillInEmptyInitializations() 687 ILE->resizeInits(SemaRef.Context, NumElems); in FillInEmptyInitializations()
|
| H A D | SemaDeclCXX.cpp | 847 QualType DecompType, const llvm::APSInt &NumElems, QualType ElemType, in checkSimpleDecomposition() argument 849 if ((int64_t)Bindings.size() != NumElems) { in checkSimpleDecomposition() 851 << DecompType << (unsigned)Bindings.size() << NumElems.toString(10) in checkSimpleDecomposition() 852 << (NumElems < Bindings.size()); in checkSimpleDecomposition() 874 const llvm::APSInt &NumElems, in checkArrayLikeDecomposition() argument 877 S, Bindings, Src, DecompType, NumElems, ElemType, in checkArrayLikeDecomposition()
|
| /freebsd-12.1/contrib/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.cpp | 11955 unsigned NumElems = VT.getVectorNumElements(); in PerformSTORECombine() local 11961 if (!isPowerOf2_32(NumElems * FromEltSz * ToEltSz)) return SDValue(); in PerformSTORECombine() 11965 if (0 != (NumElems * FromEltSz) % ToEltSz) return SDValue(); in PerformSTORECombine() 11968 assert(SizeRatio * NumElems * ToEltSz == VT.getSizeInBits()); in PerformSTORECombine() 11972 NumElems*SizeRatio); in PerformSTORECombine() 11977 SmallVector<int, 8> ShuffleVec(NumElems * SizeRatio, -1); in PerformSTORECombine() 11978 for (unsigned i = 0; i < NumElems; ++i) in PerformSTORECombine() 11995 if (TLI.isTypeLegal(Tp) && Tp.getSizeInBits() <= NumElems * ToEltSz) in PerformSTORECombine() 12013 unsigned E = (ToEltSz*NumElems)/StoreType.getSizeInBits(); in PerformSTORECombine()
|
| /freebsd-12.1/contrib/llvm/lib/Target/ARM/AsmParser/ |
| H A D | ARMAsmParser.cpp | 1894 bool isNEONReplicate(unsigned Width, unsigned NumElems, bool Inv) const { in isNEONReplicate() argument 1897 assert(NumElems * Width <= 64 && "Invalid result width"); in isNEONReplicate() 1918 for (unsigned i = 1; i < NumElems; ++i) { in isNEONReplicate()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.cpp | 9620 unsigned NumElems = NarrowTy.getVectorNumElements(); in tryExtendDUPToExtractHigh() local 9621 MVT NewVT = MVT::getVectorVT(ElementTy, NumElems * 2); in tryExtendDUPToExtractHigh() 9626 DAG.getConstant(NumElems, dl, MVT::i64)); in tryExtendDUPToExtractHigh()
|
| /freebsd-12.1/contrib/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelLowering.cpp | 12150 unsigned NumElems = Input.getValueType().getVectorNumElements(); in addShuffleForVecExtend() local 12151 SmallVector<int, 16> ShuffleMask(NumElems, -1); in addShuffleForVecExtend()
|