| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | SparseBitVector.h | 49 BITS_PER_ELEMENT = ElementSize 822 template <unsigned ElementSize> 828 template <unsigned ElementSize> 834 template <unsigned ElementSize> 840 template <unsigned ElementSize> 848 template <unsigned ElementSize> 849 inline SparseBitVector<ElementSize> 857 template <unsigned ElementSize> 858 inline SparseBitVector<ElementSize> 866 template <unsigned ElementSize> [all …]
|
| /llvm-project-15.0.7/openmp/libomptarget/src/ |
| H A D | api.cpp | 219 omp_target_memcpy_rect(void *Dst, const void *Src, size_t ElementSize, in omp_target_memcpy_rect() argument 231 DPxPTR(Volume), ElementSize, NumDims); in omp_target_memcpy_rect() 239 if (!Dst || !Src || ElementSize < 1 || NumDims < 1 || !Volume || in omp_target_memcpy_rect() 247 Rc = omp_target_memcpy(Dst, Src, ElementSize * Volume[0], in omp_target_memcpy_rect() 248 ElementSize * DstOffsets[0], in omp_target_memcpy_rect() 249 ElementSize * SrcOffsets[0], DstDevice, SrcDevice); in omp_target_memcpy_rect() 251 size_t DstSliceSize = ElementSize; in omp_target_memcpy_rect() 252 size_t SrcSliceSize = ElementSize; in omp_target_memcpy_rect() 264 ElementSize, NumDims - 1, Volume + 1, DstOffsets + 1, SrcOffsets + 1, in omp_target_memcpy_rect()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | RuntimeLibcalls.h | 84 Libcall getMEMCPY_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize); 89 Libcall getMEMMOVE_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize); 94 Libcall getMEMSET_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize);
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | TensorSpec.h | 76 size_t getElementByteSize() const { return ElementSize; } in getElementByteSize() 78 size_t getTotalTensorBufferSize() const { return ElementCount * ElementSize; } in getTotalTensorBufferSize() 86 size_t ElementSize, const std::vector<int64_t> &Shape); 95 size_t ElementSize = 0; variable
|
| H A D | Delinearization.h | 34 const SCEV *ElementSize); 112 SmallVectorImpl<const SCEV *> &Sizes, const SCEV *ElementSize);
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | StraightLineStrengthReduce.cpp | 218 Value *S, uint64_t ElementSize, 481 const SCEV *B, ConstantInt *Idx, Value *S, uint64_t ElementSize, in allocateCandidatesAndFindBasisForGEP() argument 489 IntPtrTy, Idx->getSExtValue() * (int64_t)ElementSize, true); in allocateCandidatesAndFindBasisForGEP() 495 uint64_t ElementSize, in factorArrayIndex() argument 500 ArrayIdx, ElementSize, GEP); in factorArrayIndex() 517 allocateCandidatesAndFindBasisForGEP(Base, RHS, LHS, ElementSize, GEP); in factorArrayIndex() 550 uint64_t ElementSize = DL->getTypeAllocSize(GTI.getIndexedType()); in allocateCandidatesAndFindBasisForGEP() local 555 factorArrayIndex(ArrayIdx, BaseExpr, ElementSize, GEP); in allocateCandidatesAndFindBasisForGEP() 566 factorArrayIndex(TruncatedArrayIdx, BaseExpr, ElementSize, GEP); in allocateCandidatesAndFindBasisForGEP() 592 APInt ElementSize( in emitBump() local [all …]
|
| H A D | SeparateConstOffsetFromGEP.cpp | 874 APInt ElementSize = APInt(IntPtrTy->getIntegerBitWidth(), in lowerToSingleIndexGEPs() local 877 if (ElementSize != 1) { in lowerToSingleIndexGEPs() 878 if (ElementSize.isPowerOf2()) { in lowerToSingleIndexGEPs() 880 Idx, ConstantInt::get(IntPtrTy, ElementSize.logBase2())); in lowerToSingleIndexGEPs() 882 Idx = Builder.CreateMul(Idx, ConstantInt::get(IntPtrTy, ElementSize)); in lowerToSingleIndexGEPs() 935 APInt ElementSize = APInt(IntPtrTy->getIntegerBitWidth(), in lowerToArithmetics() local 938 if (ElementSize != 1) { in lowerToArithmetics() 939 if (ElementSize.isPowerOf2()) { in lowerToArithmetics() 941 Idx, ConstantInt::get(IntPtrTy, ElementSize.logBase2())); in lowerToArithmetics() 943 Idx = Builder.CreateMul(Idx, ConstantInt::get(IntPtrTy, ElementSize)); in lowerToArithmetics()
|
| H A D | SROA.cpp | 1949 uint64_t ElementSize = in isVectorPromotionViable() local 1954 if (ElementSize % 8) in isVectorPromotionViable() 1958 ElementSize /= 8; in isVectorPromotionViable() 2281 uint64_t ElementSize; member in llvm::sroa::AllocaSliceRewriter 3665 if ((Offset + Size) > ElementSize) in getTypePartition() 3672 if (Size == ElementSize) in getTypePartition() 3674 assert(Size > ElementSize); in getTypePartition() 3697 if (Offset >= ElementSize) in getTypePartition() 3701 if (Offset > 0 || Size < ElementSize) { in getTypePartition() 3702 if ((Offset + Size) > ElementSize) in getTypePartition() [all …]
|
| H A D | NaryReassociate.cpp | 432 uint64_t ElementSize = DL->getTypeAllocSize(ElementType); in tryReassociateGEPAtIndex() local 447 if (IndexedSize % ElementSize != 0) in tryReassociateGEPAtIndex() 454 if (IndexedSize != ElementSize) { in tryReassociateGEPAtIndex() 456 RHS, ConstantInt::get(IntPtrTy, IndexedSize / ElementSize)); in tryReassociateGEPAtIndex()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | TensorSpec.cpp | 39 size_t ElementSize, const std::vector<int64_t> &Shape) in SUPPORTED_TENSOR_TYPES() 43 ElementSize(ElementSize) {} in SUPPORTED_TENSOR_TYPES()
|
| H A D | Delinearization.cpp | 282 const SCEV *ElementSize) { in findArrayDimensions() argument 283 if (Terms.size() < 1 || !ElementSize) in findArrayDimensions() 310 SCEVDivision::divide(SE, Term, ElementSize, &Q, &R); in findArrayDimensions() 334 Sizes.push_back(ElementSize); in findArrayDimensions() 453 const SCEV *ElementSize) { in delinearize() argument 462 findArrayDimensions(SE, Terms, Sizes, ElementSize); in delinearize()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegacyLegalizerInfo.cpp | 160 const uint16_t ElementSize = VectorSpecifiedActions.first; in computeTables() local 161 ElementSizesSeen.push_back({ElementSize, Legal}); in computeTables() 169 assert(BitsizeAndAction.first % ElementSize == 0); in computeTables() 170 const uint16_t NumElements = BitsizeAndAction.first / ElementSize; in computeTables() 174 Opcode, TypeIdx, ElementSize, in computeTables()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | LegacyLegalizerInfo.h | 356 const unsigned ElementSize, in setVectorNumElementAction() argument 359 if (NumElements2Actions[OpcodeIdx].find(ElementSize) == in setVectorNumElementAction() 361 NumElements2Actions[OpcodeIdx][ElementSize] = {{}}; in setVectorNumElementAction() 363 NumElements2Actions[OpcodeIdx].find(ElementSize)->second; in setVectorNumElementAction()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | DynamicExtent.cpp | 50 SVal ElementSize = getElementExtent(ElementTy, SVB); in getDynamicElementCount() local 53 SVB.evalBinOp(State, BO_Div, Size, ElementSize, SVB.getArrayIndexType()); in getDynamicElementCount()
|
| /llvm-project-15.0.7/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXAsmPrinter.cpp | 1153 unsigned int ElementSize = 0; in printModuleLevelGV() local 1164 ElementSize = DL.getTypeStoreSize(ETy); in printModuleLevelGV() 1176 if (ElementSize % ptrSize || in printModuleLevelGV() 1206 if (ElementSize) { in printModuleLevelGV() 1208 O << ElementSize; in printModuleLevelGV() 1215 if (ElementSize) { in printModuleLevelGV() 1217 O << ElementSize; in printModuleLevelGV() 1418 int64_t ElementSize = 0; in emitPTXGlobalVariable() local 1428 ElementSize = DL.getTypeStoreSize(ETy); in emitPTXGlobalVariable() 1432 if (ElementSize) { in emitPTXGlobalVariable() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/ |
| H A D | UDTLayout.h | 102 uint32_t getElementSize() const { return ElementSize; } in getElementSize() 105 uint32_t ElementSize = 0;
|
| /llvm-project-15.0.7/polly/lib/Transform/ |
| H A D | MatmulOptimizer.cpp | 550 auto ElementSize = getMatMulTypeSize(MMI); in getMicroKernelParams() local 551 assert(ElementSize > 0 && "The element size of the matrix multiplication " in getMicroKernelParams() 553 auto Nvec = RegisterBitwidth / ElementSize; in getMicroKernelParams() 642 auto ElementSize = getMatMulAlignTypeSize(MMI); in getMacroKernelParams() local 643 assert(ElementSize > 0 && "The element size of the matrix multiplication " in getMacroKernelParams() 646 (MicroKernelParams.Mr * FirstCacheLevelAssociativity * ElementSize); in getMacroKernelParams() 648 static_cast<double>(Kc * ElementSize * SecondCacheLevelAssociativity) / in getMacroKernelParams()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | SizeofExpressionCheck.cpp | 306 CharUnits ElementSize = getSizeOfType(Ctx, ElementTy); in check() local 312 } else if (ElementSize > CharUnits::Zero() && in check() 314 ElementSize != DenominatorSize) { in check()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | IRBuilder.cpp | 197 Value *Ptr, Value *Val, Value *Size, Align Alignment, uint32_t ElementSize, in CreateElementUnorderedAtomicMemSet() argument 201 Value *Ops[] = {Ptr, Val, Size, getInt32(ElementSize)}; in CreateElementUnorderedAtomicMemSet() 301 uint32_t ElementSize, MDNode *TBAATag, MDNode *TBAAStructTag, in CreateElementUnorderedAtomicMemCpy() argument 303 assert(DstAlign >= ElementSize && in CreateElementUnorderedAtomicMemCpy() 305 assert(SrcAlign >= ElementSize && in CreateElementUnorderedAtomicMemCpy() 310 Value *Ops[] = {Dst, Src, Size, getInt32(ElementSize)}; in CreateElementUnorderedAtomicMemCpy() 376 uint32_t ElementSize, MDNode *TBAATag, MDNode *TBAAStructTag, in CreateElementUnorderedAtomicMemMove() argument 378 assert(DstAlign >= ElementSize && in CreateElementUnorderedAtomicMemMove() 380 assert(SrcAlign >= ElementSize && in CreateElementUnorderedAtomicMemMove() 385 Value *Ops[] = {Dst, Src, Size, getInt32(ElementSize)}; in CreateElementUnorderedAtomicMemMove()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | SVEInstrFormats.td | 314 let ElementSize = pprty.ElementSize; 695 let ElementSize = pprty.ElementSize; 1868 let ElementSize = zprty.ElementSize; 1906 let ElementSize = zprty.ElementSize; 2086 let ElementSize = zprty.ElementSize; 2128 let ElementSize = zprty.ElementSize; 2279 let ElementSize = zprty.ElementSize; 2367 let ElementSize = zprty.ElementSize; 2454 let ElementSize = zprty.ElementSize; 2795 let ElementSize = zprty.ElementSize; [all …]
|
| /llvm-project-15.0.7/polly/lib/Analysis/ |
| H A D | ScopDetection.cpp | 1049 Context.ElementSize[BasePointer]); in hasBaseAffineAccesses() 1108 if (Context.ElementSize[BP]) { in isValidAccess() 1109 if (!AllowDifferentTypes && Context.ElementSize[BP] != Size) in isValidAccess() 1113 Context.ElementSize[BP] = SE.getSMinExpr(Size, Context.ElementSize[BP]); in isValidAccess() 1115 Context.ElementSize[BP] = Size; in isValidAccess()
|
| /llvm-project-15.0.7/openmp/libomptarget/include/ |
| H A D | omptarget.h | 234 int omp_target_memcpy_rect(void *Dst, const void *Src, size_t ElementSize,
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 1139 unsigned ElementSize = in InitializeMemory() local 1142 InitializeMemory(CP->getOperand(i), (char*)Addr+i*ElementSize); in InitializeMemory() 1152 unsigned ElementSize = in InitializeMemory() local 1155 InitializeMemory(CPA->getOperand(i), (char*)Addr+i*ElementSize); in InitializeMemory()
|
| /llvm-project-15.0.7/llvm/include/llvm/MC/MCParser/ |
| H A D | MCAsmParser.h | 99 unsigned ElementSize = 0; member
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | TargetLoweringBase.cpp | 616 RTLIB::Libcall RTLIB::getMEMCPY_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize) { in getMEMCPY_ELEMENT_UNORDERED_ATOMIC() argument 617 switch (ElementSize) { in getMEMCPY_ELEMENT_UNORDERED_ATOMIC() 633 RTLIB::Libcall RTLIB::getMEMMOVE_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize) { in getMEMMOVE_ELEMENT_UNORDERED_ATOMIC() argument 634 switch (ElementSize) { in getMEMMOVE_ELEMENT_UNORDERED_ATOMIC() 650 RTLIB::Libcall RTLIB::getMEMSET_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize) { in getMEMSET_ELEMENT_UNORDERED_ATOMIC() argument 651 switch (ElementSize) { in getMEMSET_ELEMENT_UNORDERED_ATOMIC()
|