/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | SparseBitVector.h | 42 template <unsigned ElementSize = 128> struct SparseBitVectorElement { 48 BITWORDS_PER_ELEMENT = (ElementSize + BITWORD_SIZE - 1) / BITWORD_SIZE, 49 BITS_PER_ELEMENT = ElementSize 255 template <unsigned ElementSize = 128> 257 using ElementList = std::list<SparseBitVectorElement<ElementSize>>; 261 BITWORD_SIZE = SparseBitVectorElement<ElementSize>::BITWORD_SIZE 280 const_cast<SparseBitVector<ElementSize> *>(this)->Elements.begin(); in FindLowerBoundImpl() 282 const_cast<SparseBitVector<ElementSize> *>(this)->Elements.end(); in FindLowerBoundImpl() 323 const SparseBitVector<ElementSize> *BitVector = nullptr; 335 typename SparseBitVectorElement<ElementSize> [all...] |
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | TensorSpec.h | 86 size_t getElementByteSize() const { return ElementSize; } in getElementByteSize() 88 size_t getTotalTensorBufferSize() const { return ElementCount * ElementSize; } in getTotalTensorBufferSize() 95 : TensorSpec(NewName, Other.Port, Other.Type, Other.ElementSize, in TensorSpec() 102 size_t ElementSize, const std::vector<int64_t> &Shape); 111 size_t ElementSize = 0; variable
|
H A D | Delinearization.h | 35 const SCEV *ElementSize); 113 SmallVectorImpl<const SCEV *> &Sizes, const SCEV *ElementSize);
|
H A D | TargetTransformInfoImpl.h | 1104 int64_t ElementSize = in getGEPCost() local 1108 ConstIdx->getValue().sextOrTrunc(PtrSizeBits) * ElementSize; in getGEPCost() 1114 Scale = ElementSize; in getGEPCost()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | RuntimeLibcallUtil.h | 82 Libcall getMEMCPY_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize); 87 Libcall getMEMMOVE_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize); 92 Libcall getMEMSET_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize);
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | StraightLineStrengthReduce.cpp | 218 Value *S, uint64_t ElementSize, 233 void factorArrayIndex(Value *ArrayIdx, const SCEV *Base, uint64_t ElementSize, 475 const SCEV *B, ConstantInt *Idx, Value *S, uint64_t ElementSize, in allocateCandidatesAndFindBasisForGEP() argument 483 PtrIdxTy, Idx->getSExtValue() * (int64_t)ElementSize, true); in allocateCandidatesAndFindBasisForGEP() 489 uint64_t ElementSize, in factorArrayIndex() argument 494 ArrayIdx, ElementSize, GEP); in factorArrayIndex() 511 allocateCandidatesAndFindBasisForGEP(Base, RHS, LHS, ElementSize, GEP); in factorArrayIndex() 518 allocateCandidatesAndFindBasisForGEP(Base, PowerOf2, LHS, ElementSize, GEP); in factorArrayIndex() 544 uint64_t ElementSize = GTI.getSequentialElementStride(*DL); in allocateCandidatesAndFindBasisForGEP() local 549 factorArrayIndex(ArrayIdx, BaseExpr, ElementSize, GEP); in allocateCandidatesAndFindBasisForGEP() [all …]
|
H A D | SeparateConstOffsetFromGEP.cpp | 886 APInt ElementSize = APInt(PtrIndexTy->getIntegerBitWidth(), in lowerToSingleIndexGEPs() local 889 if (ElementSize != 1) { in lowerToSingleIndexGEPs() 890 if (ElementSize.isPowerOf2()) { in lowerToSingleIndexGEPs() 892 Idx, ConstantInt::get(PtrIndexTy, ElementSize.logBase2())); in lowerToSingleIndexGEPs() 895 Builder.CreateMul(Idx, ConstantInt::get(PtrIndexTy, ElementSize)); in lowerToSingleIndexGEPs() 946 APInt ElementSize = APInt(IntPtrTy->getIntegerBitWidth(), in lowerToArithmetics() local 949 if (ElementSize != 1) { in lowerToArithmetics() 950 if (ElementSize.isPowerOf2()) { in lowerToArithmetics() 952 Idx, ConstantInt::get(IntPtrTy, ElementSize.logBase2())); in lowerToArithmetics() 954 Idx = Builder.CreateMul(Idx, ConstantInt::get(IntPtrTy, ElementSize)); in lowerToArithmetics()
|
H A D | SROA.cpp | 2024 uint64_t ElementSize, in isVectorPromotionViableForSlice() argument 2029 uint64_t BeginIndex = BeginOffset / ElementSize; in isVectorPromotionViableForSlice() 2030 if (BeginIndex * ElementSize != BeginOffset || in isVectorPromotionViableForSlice() 2034 uint64_t EndIndex = EndOffset / ElementSize; in isVectorPromotionViableForSlice() 2035 if (EndIndex * ElementSize != EndOffset || in isVectorPromotionViableForSlice() 2046 Type::getIntNTy(Ty->getContext(), NumElements * ElementSize * 8); in isVectorPromotionViableForSlice() 2098 uint64_t ElementSize = in checkVectorTypeForPromotion() local 2103 if (ElementSize % 8) in checkVectorTypeForPromotion() 2107 ElementSize /= 8; in checkVectorTypeForPromotion() 2110 if (!isVectorPromotionViableForSlice(P, S, VTy, ElementSize, DL)) in checkVectorTypeForPromotion() [all …]
|
H A D | NaryReassociate.cpp | 433 uint64_t ElementSize = DL->getTypeAllocSize(ElementType); in tryReassociateGEPAtIndex() local 448 if (IndexedSize % ElementSize != 0) in tryReassociateGEPAtIndex() 455 if (IndexedSize != ElementSize) { in tryReassociateGEPAtIndex() 457 RHS, ConstantInt::get(PtrIdxTy, IndexedSize / ElementSize)); in tryReassociateGEPAtIndex()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | TensorSpec.cpp | 63 size_t ElementSize, const std::vector<int64_t> &Shape) in TensorSpec() argument 67 ElementSize(ElementSize) {} in TensorSpec()
|
H A D | Delinearization.cpp | 280 const SCEV *ElementSize) { in findArrayDimensions() argument 281 if (Terms.size() < 1 || !ElementSize) in findArrayDimensions() 308 SCEVDivision::divide(SE, Term, ElementSize, &Q, &R); in findArrayDimensions() 332 Sizes.push_back(ElementSize); in findArrayDimensions() 451 const SCEV *ElementSize) { in delinearize() argument 460 findArrayDimensions(SE, Terms, Sizes, ElementSize); in delinearize()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | LegacyLegalizerInfo.cpp | 163 const uint16_t ElementSize = VectorSpecifiedActions.first; in computeTables() 164 ElementSizesSeen.push_back({ElementSize, Legal}); in computeTables() 172 assert(BitsizeAndAction.first % ElementSize == 0); in computeTables() 173 const uint16_t NumElements = BitsizeAndAction.first / ElementSize; in computeTables() 177 Opcode, TypeIdx, ElementSize, in computeTables() 160 const uint16_t ElementSize = VectorSpecifiedActions.first; computeTables() local
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | LegacyLegalizerInfo.h | 347 const unsigned ElementSize, in setVectorNumElementAction() argument 350 if (NumElements2Actions[OpcodeIdx].find(ElementSize) == in setVectorNumElementAction() 352 NumElements2Actions[OpcodeIdx][ElementSize] = {{}}; in setVectorNumElementAction() 354 NumElements2Actions[OpcodeIdx].find(ElementSize)->second; in setVectorNumElementAction()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXAsmPrinter.cpp | 1192 uint64_t ElementSize = 0; in printModuleLevelGV() local 1203 ElementSize = DL.getTypeStoreSize(ETy); in printModuleLevelGV() 1211 AggBuffer aggBuffer(ElementSize, *this); in printModuleLevelGV() 1215 if (ElementSize % ptrSize || in printModuleLevelGV() 1225 O << "[" << ElementSize << "] = {"; in printModuleLevelGV() 1231 O << "[" << ElementSize / ptrSize << "] = {"; in printModuleLevelGV() 1238 O << "[" << ElementSize << "] = {"; in printModuleLevelGV() 1245 if (ElementSize) { in printModuleLevelGV() 1247 O << ElementSize; in printModuleLevelGV() 1254 if (ElementSize) { in printModuleLevelGV() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/ |
H A D | UDTLayout.h | 102 uint32_t getElementSize() const { return ElementSize; } in getElementSize() 105 uint32_t ElementSize = 0;
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | ArrayBoundCheckerV2.cpp | 70 const std::optional<int64_t> ElementSize; member in __anonb48263820111::StateUpdateReporter 79 ElementSize(determineElementSize(ElementType, C)) {} in StateUpdateReporter() 495 ElementSize && tryDividePair(OffsetN, ExtentN, *ElementSize); in getMessage()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | IRBuilder.cpp | 194 Value *Ptr, Value *Val, Value *Size, Align Alignment, uint32_t ElementSize, in CreateElementUnorderedAtomicMemSet() argument 197 Value *Ops[] = {Ptr, Val, Size, getInt32(ElementSize)}; in CreateElementUnorderedAtomicMemSet() 259 uint32_t ElementSize, MDNode *TBAATag, MDNode *TBAAStructTag, in CreateElementUnorderedAtomicMemCpy() argument 261 assert(DstAlign >= ElementSize && in CreateElementUnorderedAtomicMemCpy() 263 assert(SrcAlign >= ElementSize && in CreateElementUnorderedAtomicMemCpy() 265 Value *Ops[] = {Dst, Src, Size, getInt32(ElementSize)}; in CreateElementUnorderedAtomicMemCpy() 375 uint32_t ElementSize, MDNode *TBAATag, MDNode *TBAAStructTag, in CreateElementUnorderedAtomicMemMove() argument 377 assert(DstAlign >= ElementSize && in CreateElementUnorderedAtomicMemMove() 379 assert(SrcAlign >= ElementSize && in CreateElementUnorderedAtomicMemMove() 381 Value *Ops[] = {Dst, Src, Size, getInt32(ElementSize)}; in CreateElementUnorderedAtomicMemMove()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | SVEInstrFormats.td | 375 let ElementSize = pprty.ElementSize; 817 let ElementSize = pprty.ElementSize; 1007 let ElementSize = ElementSizeNone; 1128 let ElementSize = ElementSizeNone; 1754 let ElementSize = ElementSizeNone; 1930 let ElementSize = ElementSizeNone; 2072 let ElementSize = zprty.ElementSize; 2112 let ElementSize = zprty.ElementSize; 2196 let ElementSize = ElementSizeNone; 2323 let ElementSize = zprty.ElementSize; [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaHLSL.cpp | 66 unsigned ElementSize = in calculateLegacyCbufferSize() local 68 unsigned AlignedElementSize = llvm::alignTo(ElementSize, CBufferAlign); in calculateLegacyCbufferSize() 69 Size = AlignedElementSize * (ElementCount - 1) + ElementSize; in calculateLegacyCbufferSize() 73 unsigned ElementSize = in calculateLegacyCbufferSize() local 75 Size = ElementSize * ElementCount; in calculateLegacyCbufferSize()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUPromoteAlloca.cpp | 450 unsigned VecStoreSize, unsigned ElementSize, in promoteAllocaUserToVector() argument 607 unsigned NumCopied = Length->getZExtValue() / ElementSize; in promoteAllocaUserToVector() 778 unsigned ElementSize = DL->getTypeSizeInBits(VecEltTy) / 8; in tryPromoteAllocaToVector() local 838 if (!Len || (Len->getZExtValue() % ElementSize)) in tryPromoteAllocaToVector() 928 I, *DL, VectorTy, VecStoreSize, ElementSize, TransferInfo, GEPVectorIdx, in tryPromoteAllocaToVector() 941 I, *DL, VectorTy, VecStoreSize, ElementSize, TransferInfo, GEPVectorIdx, in tryPromoteAllocaToVector()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | TargetLoweringBase.cpp | 526 RTLIB::Libcall RTLIB::getMEMCPY_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize) { in getMEMCPY_ELEMENT_UNORDERED_ATOMIC() argument 527 switch (ElementSize) { in getMEMCPY_ELEMENT_UNORDERED_ATOMIC() 543 RTLIB::Libcall RTLIB::getMEMMOVE_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize) { in getMEMMOVE_ELEMENT_UNORDERED_ATOMIC() argument 544 switch (ElementSize) { in getMEMMOVE_ELEMENT_UNORDERED_ATOMIC() 560 RTLIB::Libcall RTLIB::getMEMSET_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize) { in getMEMSET_ELEMENT_UNORDERED_ATOMIC() argument 561 switch (ElementSize) { in getMEMSET_ELEMENT_UNORDERED_ATOMIC()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/MCParser/ |
H A D | MCAsmParser.h | 98 unsigned ElementSize = 0; member
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
H A D | ExecutionEngine.cpp | 1165 unsigned ElementSize = in InitializeMemory() local 1168 InitializeMemory(CP->getOperand(i), (char*)Addr+i*ElementSize); in InitializeMemory() 1178 unsigned ElementSize = in InitializeMemory() local 1181 InitializeMemory(CPA->getOperand(i), (char*)Addr+i*ElementSize); in InitializeMemory()
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/ |
H A D | UDTLayout.cpp | 104 ElementSize = VTableType->getLength(); in VTableLayoutItem()
|
/freebsd/contrib/llvm-project/clang/utils/TableGen/ |
H A D | NeonEmitter.cpp | 1591 unsigned ElementSize; in emitDagShuffle() member in Intrinsic::DagEmitter::emitDagShuffle::Rev 1594 Rev(unsigned ElementSize) : ElementSize(ElementSize) {} in emitDagShuffle() argument 1602 VectorSize /= ElementSize; in emitDagShuffle()
|