| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | Descriptor.cpp | 75 const unsigned NumElems = D->getNumElems(); in ctorArrayDesc() local 80 for (unsigned I = 0; I < NumElems; ++I, ElemOffset += ElemSize) { in ctorArrayDesc() 100 const unsigned NumElems = D->getNumElems(); in dtorArrayDesc() local 105 for (unsigned I = 0; I < NumElems; ++I, ElemOffset += ElemSize) { in dtorArrayDesc() 116 const unsigned NumElems = D->getNumElems(); in moveArrayDesc() local 121 for (unsigned I = 0; I < NumElems; ++I, ElemOffset += ElemSize) { in moveArrayDesc() 242 size_t NumElems, bool IsConst, bool IsTemporary, in Descriptor() argument 244 : Source(D), ElemSize(primSize(Type)), Size(ElemSize * NumElems), in Descriptor() 266 unsigned NumElems, bool IsConst, bool IsTemporary, in Descriptor() argument 269 Size(ElemSize * NumElems), MDSize(MD.value_or(0)), in Descriptor()
|
| H A D | EvaluationResult.cpp | 69 size_t NumElems = CAT->getSize().getZExtValue(); 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 | 329 size_t NumElems = CAT->getSize().getZExtValue(); in createDescriptor() local 333 if (std::numeric_limits<unsigned>::max() / ElemSize <= NumElems) { in createDescriptor() 336 return allocateDescriptor(D, *T, MDSize, NumElems, IsConst, IsTemporary, in createDescriptor() 347 if (std::numeric_limits<unsigned>::max() / ElemSize <= NumElems) in createDescriptor() 349 return allocateDescriptor(D, ElemDesc, MDSize, NumElems, IsConst, in createDescriptor()
|
| H A D | Pointer.cpp | 320 const size_t NumElems = Ptr.getNumElems(); in toRValue() local 322 R = APValue(APValue::UninitArray{}, NumElems, NumElems); in toRValue() 325 for (unsigned I = 0; I < NumElems; ++I) { in toRValue()
|
| H A D | Descriptor.h | 127 Descriptor(const DeclTy &D, PrimType Type, MetadataSize MD, size_t NumElems, 135 unsigned NumElems, bool IsConst, bool IsTemporary, bool IsMutable);
|
| /freebsd-14.2/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-14.2/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-14.2/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 | 6892 if (NumElems == 1) in EltsFromConsecutiveLoads() 8732 NumUpperUndefsOrZeros >= (NumElems - (NumElems / 4))) in LowerBUILD_VECTOR() 8733 UpperElems = NumElems - (NumElems / 4); in LowerBUILD_VECTOR() 8943 HVT, dl, Op->ops().slice(NumElems / 2, NumElems /2)); in LowerBUILD_VECTOR() 9011 static_cast<int>(Reverse2 ? NumElems+1 : NumElems), in LowerBUILD_VECTOR() 9012 static_cast<int>(Reverse2 ? NumElems : NumElems+1) in LowerBUILD_VECTOR() 20130 if (NumElems < 2 || !isPowerOf2_32(NumElems) ) in truncateVectorWithPACK() 27711 if (NumElems > 16 || in LowerVectorCTLZ_AVX512CDI() 49974 if (NumElems < 2) in combineLoad() 50470 if (NumElems < 2) in combineStore() [all …]
|
| /freebsd-14.2/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 | 1829 unsigned NumElems = Node->getNumOperands(); in ExpandBVWithShuffles() local 1843 for (unsigned i = 0; i < NumElems; ++i) { in ExpandBVWithShuffles() 1873 ShuffleVec[k] = NumElems + j; in ExpandBVWithShuffles() 1905 SmallVector<int, 16> ShuffleVec(NumElems, -1); in ExpandBVWithShuffles() 1923 unsigned NumElems = Node->getNumOperands(); in ExpandBUILD_VECTOR() local 1935 for (unsigned i = 0; i < NumElems; ++i) { in ExpandBUILD_VECTOR() 1996 for (unsigned i = 0; i < NumElems; ++i) { in ExpandBUILD_VECTOR() 2005 for (unsigned i = 0; i < NumElems; ++i) { in ExpandBUILD_VECTOR() 3456 unsigned NumElems = VT.getVectorNumElements(); in ExpandNode() local 3458 for (unsigned i = 0; i != NumElems; ++i) { in ExpandNode() [all …]
|
| H A D | LegalizeVectorOps.cpp | 1849 unsigned NumElems = VT.getVectorNumElements(); in UnrollStrictFPOp() local 1865 for (unsigned i = 0; i < NumElems; ++i) { in UnrollStrictFPOp() 1907 unsigned NumElems = VT.getVectorNumElements(); in UnrollVSETCC() local 1914 SmallVector<SDValue, 8> Ops(NumElems); in UnrollVSETCC() 1915 for (unsigned i = 0; i < NumElems; ++i) { in UnrollVSETCC()
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVGlobalRegistry.h | 192 SPIRVType *getOpTypeVector(uint32_t NumElems, SPIRVType *ElemType, 195 SPIRVType *getOpTypeArray(uint32_t NumElems, SPIRVType *ElemType,
|
| H A D | SPIRVGlobalRegistry.cpp | 121 SPIRVType *SPIRVGlobalRegistry::getOpTypeVector(uint32_t NumElems, in getOpTypeVector() argument 132 .addImm(NumElems); in getOpTypeVector() 547 SPIRVType *SPIRVGlobalRegistry::getOpTypeArray(uint32_t NumElems, in getOpTypeArray() argument 554 buildConstantInt(NumElems, MIRBuilder, nullptr, EmitIR); in getOpTypeArray()
|
| /freebsd-14.2/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-14.2/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-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Attributes.cpp | 69 unsigned NumElems = Num & std::numeric_limits<unsigned>::max(); in unpackAllocSizeArgs() local 73 if (NumElems != AllocSizeNumElemsNotPresent) in unpackAllocSizeArgs() 74 NumElemsArg = NumElems; in unpackAllocSizeArgs() 468 std::optional<unsigned> NumElems; in getAsString() local 469 std::tie(ElemSize, NumElems) = getAllocSizeArgs(); in getAsString() 471 return (NumElems in getAsString() 472 ? "allocsize(" + Twine(ElemSize) + "," + Twine(*NumElems) + ")" in getAsString() 1810 const std::optional<unsigned> &NumElems) { in addAllocSizeAttr() argument 1811 return addAllocSizeAttrFromRawRepr(packAllocSizeArgs(ElemSize, NumElems)); in addAllocSizeAttr()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | MVEGatherScatterLowering.cpp | 834 unsigned NumElems = in tryCreateIncrementingWBGatScat() local 840 Builder.CreateVectorSplat(NumElems, Builder.getInt32(TypeScale)), in tryCreateIncrementingWBGatScat() 846 NumElems, in tryCreateIncrementingWBGatScat() 854 Builder.CreateVectorSplat(NumElems, Builder.getInt32(Immediate)), in tryCreateIncrementingWBGatScat()
|
| H A D | ARMTargetTransformInfo.cpp | 1578 unsigned NumElems = VTy->getNumElements(); in getGatherScatterOpCost() local 1588 NumElems * LT.first * ST->getMVEVectorCostFactor(CostKind); in getGatherScatterOpCost() 1594 NumElems * LT.first + (VariableMask ? NumElems * 5 : 0) + in getGatherScatterOpCost() 1619 TypeSize * NumElems == 128) { in getGatherScatterOpCost() 1633 TypeSize * NumElems == 128) in getGatherScatterOpCost() 1638 if (ExtSize * NumElems != 128 || NumElems < 4) in getGatherScatterOpCost()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonSubtarget.cpp | 197 unsigned NumElems = VecTy.getVectorNumElements(); in isHVXVectorType() local 204 if (NumElems * T.getSizeInBits() == 8 * HwLen) in isHVXVectorType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAGNodes.h | 1596 unsigned NumElems = Mask.size(); 1597 for (unsigned i = 0; i != NumElems; ++i) { 1601 else if (idx < (int)NumElems) 1602 Mask[i] = idx + NumElems; 1604 Mask[i] = idx - NumElems;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVTargetTransformInfo.cpp | 1178 auto NumElems = FixedVecTy->getNumElements(); in getVectorInstrCost() local 1185 ? StoreCost * NumElems + LoadCost in getVectorInstrCost() 1186 : (StoreCost + LoadCost) * NumElems + StoreCost; in getVectorInstrCost()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BTFDebug.h | 119 BTFTypeArray(uint32_t ElemTypeId, uint32_t NumElems);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyISelLowering.cpp | 2717 unsigned NumElems = SrcVT.getVectorNumElements(); in truncateVectorWithNARROW() local 2718 if (!isPowerOf2_32(NumElems)) in truncateVectorWithNARROW() 2720 assert(DstVT.getVectorNumElements() == NumElems && "Illegal truncation"); in truncateVectorWithNARROW() 2739 SDValue Hi = extractSubVector(In, NumElems / 2, DAG, DL, SubSizeInBits); in truncateVectorWithNARROW() 2750 EVT PackedVT = EVT::getVectorVT(Ctx, PackedSVT, NumElems / 2); in truncateVectorWithNARROW() 2754 PackedVT = EVT::getVectorVT(Ctx, PackedSVT, NumElems); in truncateVectorWithNARROW()
|