/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Descriptor.cpp | 86 const unsigned NumElems = D->getNumElems(); in ctorArrayDesc() local 91 for (unsigned I = 0; I < NumElems; ++I, ElemOffset += ElemSize) { in ctorArrayDesc() 111 const unsigned NumElems = D->getNumElems(); in dtorArrayDesc() local 116 for (unsigned I = 0; I < NumElems; ++I, ElemOffset += ElemSize) { in dtorArrayDesc() 127 const unsigned NumElems = D->getNumElems(); in moveArrayDesc() local 132 for (unsigned I = 0; I < NumElems; ++I, ElemOffset += ElemSize) { in moveArrayDesc() 299 size_t NumElems, bool IsConst, bool IsTemporary, in Descriptor() argument 301 : Source(D), ElemSize(primSize(Type)), Size(ElemSize * NumElems), in Descriptor() 308 assert(NumElems <= (MaxArrayElemBytes / ElemSize)); in Descriptor() 325 unsigned NumElems, bool IsConst, bool IsTemporary, in Descriptor() argument [all …]
|
H A D | EvaluationResult.cpp | 69 size_t NumElems = CAT->getZExtSize(); in CheckArrayInitialized() local 74 for (size_t I = 0; I != NumElems; ++I) { in CheckArrayInitialized() 79 for (size_t I = 0; I != NumElems; ++I) { in CheckArrayInitialized() 84 for (size_t I = 0; I != NumElems; ++I) { in CheckArrayInitialized()
|
H A D | Program.cpp | 380 size_t NumElems = CAT->getZExtSize(); in createDescriptor() local 384 if (std::numeric_limits<unsigned>::max() / ElemSize <= NumElems) { in createDescriptor() 387 return allocateDescriptor(D, *T, MDSize, NumElems, IsConst, IsTemporary, in createDescriptor() 398 if (std::numeric_limits<unsigned>::max() / ElemSize <= NumElems) in createDescriptor() 400 return allocateDescriptor(D, ElemDesc, MDSize, NumElems, IsConst, in createDescriptor()
|
H A D | Descriptor.h | 165 Descriptor(const DeclTy &D, PrimType Type, MetadataSize MD, size_t NumElems, 174 unsigned NumElems, bool IsConst, bool IsTemporary, bool IsMutable);
|
H A D | Pointer.cpp | 471 const size_t NumElems = Ptr.getNumElems(); in toRValue() local 473 R = APValue(APValue::UninitArray{}, NumElems, NumElems); in toRValue() 476 for (unsigned I = 0; I < NumElems; ++I) { in toRValue()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/ |
H A D | VECustomDAG.h | 216 EVT getVectorVT(EVT ElemVT, unsigned NumElems) const { in getVectorVT() argument 217 return EVT::getVectorVT(*DAG.getContext(), ElemVT, NumElems); in getVectorVT()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ExpandVectorPredication.cpp | 152 unsigned NumElems); 219 unsigned NumElems) { in createStepVector() argument 223 for (unsigned Idx = 0; Idx < NumElems; ++Idx) in createStepVector() 246 unsigned NumElems = ElemCount.getFixedValue(); in convertEVLToMask() local 247 Value *VLSplat = Builder.CreateVectorSplat(NumElems, EVLParam); in convertEVLToMask() 248 Value *IdxVec = createStepVector(Builder, LaneTy, NumElems); in convertEVLToMask()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86PartialReduction.cpp | 368 unsigned NumElems = cast<FixedVectorType>(BO->getType())->getNumElements(); in matchAddReduction() local 370 if (!isPowerOf2_32(NumElems)) in matchAddReduction() 374 unsigned Stages = Log2_32(NumElems); in matchAddReduction()
|
H A D | X86ISelLowering.cpp | 4144 unsigned NumElems = VT.getVectorNumElements(); in splitVector() local 4146 assert((NumElems % 2) == 0 && (SizeInBits % 2) == 0 && in splitVector() 4155 SDValue Hi = extractSubVector(Op, NumElems / 2, DAG, dl, SizeInBits / 2); in splitVector() 4342 unsigned NumElems = OpVT.getVectorNumElements(); in insert1BitVector() local 4360 assert(IdxVal + SubVecNumElems <= NumElems && in insert1BitVector() 4399 NumElems = WideOpVT.getVectorNumElements(); in insert1BitVector() 4400 unsigned ShiftLeft = NumElems - SubVecNumElems; in insert1BitVector() 4401 unsigned ShiftRight = NumElems - SubVecNumElems - IdxVal; in insert1BitVector() 4412 if (IdxVal + SubVecNumElems == NumElems) { in insert1BitVector() 4415 if (SubVecNumElems * 2 == NumElems) { in insert1BitVector() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeTypesGeneric.cpp | 105 unsigned NumElems = 2; in ExpandRes_BITCAST() local 107 EVT NVT = EVT::getVectorVT(*DAG.getContext(), ElemVT, NumElems); in ExpandRes_BITCAST() 115 NumElems *= 2; in ExpandRes_BITCAST() 117 NVT = EVT::getVectorVT(*DAG.getContext(), ElemVT, NumElems); in ExpandRes_BITCAST() 124 for (unsigned i = 0; i < NumElems; ++i) in ExpandRes_BITCAST()
|
H A D | LegalizeDAG.cpp | 1844 unsigned NumElems = Node->getNumOperands(); in ExpandBVWithShuffles() local 1858 for (unsigned i = 0; i < NumElems; ++i) { in ExpandBVWithShuffles() 1874 SmallVector<int, 16> ShuffleVec(NumElems, -1); in ExpandBVWithShuffles() 1888 ShuffleVec[k] = NumElems + j; in ExpandBVWithShuffles() 1920 SmallVector<int, 16> ShuffleVec(NumElems, -1); in ExpandBVWithShuffles() 1924 ShuffleVec[IntermedVals[1].second[i]] = NumElems + i; in ExpandBVWithShuffles() 1938 unsigned NumElems = Node->getNumOperands(); in ExpandBUILD_VECTOR() local 1950 for (unsigned i = 0; i < NumElems; ++i) { in ExpandBUILD_VECTOR() 1978 for (unsigned i = 0, e = NumElems; i != e; ++i) { in ExpandBUILD_VECTOR() 2011 for (unsigned i = 0; i < NumElems; ++i) { in ExpandBUILD_VECTOR() [all …]
|
H A D | LegalizeVectorOps.cpp | 1954 unsigned NumElems = VT.getVectorNumElements(); in UnrollStrictFPOp() local 1970 for (unsigned i = 0; i < NumElems; ++i) { in UnrollStrictFPOp() 2012 unsigned NumElems = VT.getVectorNumElements(); in UnrollVSETCC() local 2019 SmallVector<SDValue, 8> Ops(NumElems); in UnrollVSETCC() 2020 for (unsigned i = 0; i < NumElems; ++i) { in UnrollVSETCC()
|
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/ |
H A D | ThreadSafetyUtil.h | 57 template <typename T> T *allocateT(size_t NumElems) { in allocateT() argument 58 return Allocator->Allocate<T>(NumElems); in allocateT()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | MemoryBuiltins.cpp | 429 APInt NumElems = Arg->getValue(); in getAllocSize() local 430 if (!CheckedZextOrTrunc(NumElems, IntTyBits)) in getAllocSize() 434 Size = Size.umul_ov(NumElems, Overflow); in getAllocSize() 790 APInt NumElems = C->getValue(); in visitAllocaInst() local 791 if (!CheckedZextOrTrunc(NumElems)) in visitAllocaInst() 795 Size = Size.umul_ov(NumElems, Overflow); in visitAllocaInst()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | Scalarizer.cpp | 545 unsigned NumElems = Split.VecTy->getNumElements(); in getVectorSplit() local 548 if (NumElems == 1 || ElemTy->isPointerTy() || in getVectorSplit() 551 Split.NumFragments = NumElems; in getVectorSplit() 555 if (Split.NumPacked >= NumElems) in getVectorSplit() 558 Split.NumFragments = divideCeil(NumElems, Split.NumPacked); in getVectorSplit() 561 unsigned RemainderElems = NumElems % Split.NumPacked; in getVectorSplit()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Attributes.cpp | 71 unsigned NumElems = Num & std::numeric_limits<unsigned>::max(); in unpackAllocSizeArgs() local 75 if (NumElems != AllocSizeNumElemsNotPresent) in unpackAllocSizeArgs() 76 NumElemsArg = NumElems; in unpackAllocSizeArgs() 564 std::optional<unsigned> NumElems; in getAsString() local 565 std::tie(ElemSize, NumElems) = getAllocSizeArgs(); in getAsString() 567 return (NumElems in getAsString() 568 ? "allocsize(" + Twine(ElemSize) + "," + Twine(*NumElems) + ")" in getAsString() 1947 const std::optional<unsigned> &NumElems) { in addAllocSizeAttr() argument 1948 return addAllocSizeAttrFromRawRepr(packAllocSizeArgs(ElemSize, NumElems)); in addAllocSizeAttr()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVGlobalRegistry.h | 406 SPIRVType *getOpTypeVector(uint32_t NumElems, SPIRVType *ElemType, 409 SPIRVType *getOpTypeArray(uint32_t NumElems, SPIRVType *ElemType,
|
H A D | SPIRVGlobalRegistry.cpp | 144 SPIRVType *SPIRVGlobalRegistry::getOpTypeVector(uint32_t NumElems, in getOpTypeVector() argument 156 .addImm(NumElems); in getOpTypeVector() 704 SPIRVType *SPIRVGlobalRegistry::getOpTypeArray(uint32_t NumElems, in getOpTypeArray() argument 711 buildConstantInt(NumElems, MIRBuilder, nullptr, EmitIR); in getOpTypeArray()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | MVEGatherScatterLowering.cpp | 835 unsigned NumElems = in tryCreateIncrementingWBGatScat() local 841 Builder.CreateVectorSplat(NumElems, Builder.getInt32(TypeScale)), in tryCreateIncrementingWBGatScat() 848 NumElems, in tryCreateIncrementingWBGatScat() 857 Builder.CreateVectorSplat(NumElems, Builder.getInt32(Immediate)), in tryCreateIncrementingWBGatScat()
|
H A D | ARMTargetTransformInfo.cpp | 1590 unsigned NumElems = VTy->getNumElements(); in getGatherScatterOpCost() local 1600 NumElems * LT.first * ST->getMVEVectorCostFactor(CostKind); in getGatherScatterOpCost() 1606 NumElems * LT.first + (VariableMask ? NumElems * 5 : 0) + in getGatherScatterOpCost() 1631 TypeSize * NumElems == 128) { in getGatherScatterOpCost() 1645 TypeSize * NumElems == 128) in getGatherScatterOpCost() 1650 if (ExtSize * NumElems != 128 || NumElems < 4) in getGatherScatterOpCost()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonSubtarget.cpp | 193 unsigned NumElems = VecTy.getVectorNumElements(); in isHVXVectorType() local 200 if (NumElems * T.getSizeInBits() == 8 * HwLen) in isHVXVectorType()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | SelectionDAGNodes.h | 1636 unsigned NumElems = Mask.size(); 1637 for (unsigned i = 0; i != NumElems; ++i) { 1641 else if (idx < (int)NumElems) 1642 Mask[i] = idx + NumElems; 1644 Mask[i] = idx - NumElems;
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BTFDebug.h | 119 BTFTypeArray(uint32_t ElemTypeId, uint32_t NumElems);
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyISelLowering.cpp | 2734 unsigned NumElems = SrcVT.getVectorNumElements(); in truncateVectorWithNARROW() local 2735 if (!isPowerOf2_32(NumElems)) in truncateVectorWithNARROW() 2737 assert(DstVT.getVectorNumElements() == NumElems && "Illegal truncation"); in truncateVectorWithNARROW() 2756 SDValue Hi = extractSubVector(In, NumElems / 2, DAG, DL, SubSizeInBits); in truncateVectorWithNARROW() 2767 EVT PackedVT = EVT::getVectorVT(Ctx, PackedSVT, NumElems / 2); in truncateVectorWithNARROW() 2771 PackedVT = EVT::getVectorVT(Ctx, PackedSVT, NumElems); in truncateVectorWithNARROW()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVTargetTransformInfo.cpp | 1574 auto NumElems = FixedVecTy->getNumElements(); in getVectorInstrCost() local 1581 ? StoreCost * NumElems + LoadCost in getVectorInstrCost() 1582 : (StoreCost + LoadCost) * NumElems + StoreCost; in getVectorInstrCost()
|