| /openbsd-src/gnu/llvm/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>::BitWord Bits; [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/ |
| H A D | TensorSpec.h | 78 size_t getElementByteSize() const { return ElementSize; } in getElementByteSize() 80 size_t getTotalTensorBufferSize() const { return ElementCount * ElementSize; } in getTotalTensorBufferSize() 87 : TensorSpec(NewName, Other.Port, Other.Type, Other.ElementSize, in TensorSpec() 94 size_t ElementSize, const std::vector<int64_t> &Shape); 103 size_t ElementSize = 0; variable
|
| H A D | Delinearization.h | 34 const SCEV *ElementSize); 112 SmallVectorImpl<const SCEV *> &Sizes, const SCEV *ElementSize);
|
| H A D | TargetTransformInfoImpl.h | 1000 int64_t ElementSize = in getGEPCost() local 1004 ConstIdx->getValue().sextOrTrunc(PtrSizeBits) * ElementSize; in getGEPCost() 1010 Scale = ElementSize; in getGEPCost()
|
| /openbsd-src/gnu/llvm/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);
|
| /openbsd-src/gnu/llvm/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, 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() 524 allocateCandidatesAndFindBasisForGEP(Base, PowerOf2, LHS, ElementSize, GEP); in factorArrayIndex() 550 uint64_t ElementSize = DL->getTypeAllocSize(GTI.getIndexedType()); in allocateCandidatesAndFindBasisForGEP() local 555 factorArrayIndex(ArrayIdx, BaseExpr, ElementSize, GEP); in allocateCandidatesAndFindBasisForGEP() [all …]
|
| H A D | SeparateConstOffsetFromGEP.cpp | 878 APInt ElementSize = APInt(IntPtrTy->getIntegerBitWidth(), in lowerToSingleIndexGEPs() local 881 if (ElementSize != 1) { in lowerToSingleIndexGEPs() 882 if (ElementSize.isPowerOf2()) { in lowerToSingleIndexGEPs() 884 Idx, ConstantInt::get(IntPtrTy, ElementSize.logBase2())); in lowerToSingleIndexGEPs() 886 Idx = Builder.CreateMul(Idx, ConstantInt::get(IntPtrTy, ElementSize)); in lowerToSingleIndexGEPs() 939 APInt ElementSize = APInt(IntPtrTy->getIntegerBitWidth(), in lowerToArithmetics() local 942 if (ElementSize != 1) { in lowerToArithmetics() 943 if (ElementSize.isPowerOf2()) { in lowerToArithmetics() 945 Idx, ConstantInt::get(IntPtrTy, ElementSize.logBase2())); in lowerToArithmetics() 947 Idx = Builder.CreateMul(Idx, ConstantInt::get(IntPtrTy, ElementSize)); in lowerToArithmetics()
|
| H A D | SROA.cpp | 2022 uint64_t ElementSize, in isVectorPromotionViableForSlice() argument 2027 uint64_t BeginIndex = BeginOffset / ElementSize; in isVectorPromotionViableForSlice() 2028 if (BeginIndex * ElementSize != BeginOffset || in isVectorPromotionViableForSlice() 2033 uint64_t EndIndex = EndOffset / ElementSize; in isVectorPromotionViableForSlice() 2034 if (EndIndex * ElementSize != EndOffset || in isVectorPromotionViableForSlice() 2045 Type::getIntNTy(Ty->getContext(), NumElements * ElementSize * 8); in isVectorPromotionViableForSlice() 2096 uint64_t ElementSize = in checkVectorTypeForPromotion() local 2101 if (ElementSize % 8) in checkVectorTypeForPromotion() 2105 ElementSize /= 8; in checkVectorTypeForPromotion() 2108 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(IntPtrTy, IndexedSize / ElementSize)); in tryReassociateGEPAtIndex()
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | TensorSpec.cpp | 61 size_t ElementSize, const std::vector<int64_t> &Shape) in TensorSpec() argument 65 ElementSize(ElementSize) {} in TensorSpec()
|
| 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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/ |
| H A D | DynamicExtent.cpp | 51 SVal ElementSize = getElementExtent(ElementTy, SVB); in getDynamicElementCount() local 54 SVB.evalBinOp(State, BO_Div, Size, ElementSize, SVB.getArrayIndexType()); in getDynamicElementCount()
|
| H A D | ExprEngineCallAndReturn.cpp | 812 SVal ElementSize = getElementExtent(CNE->getAllocatedType(), svalBuilder); in bindReturnValue() local 815 svalBuilder.evalBinOp(State, BO_Mul, ElementCount, ElementSize, in bindReturnValue()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXAsmPrinter.cpp | 1152 unsigned int ElementSize = 0; in printModuleLevelGV() local 1163 ElementSize = DL.getTypeStoreSize(ETy); in printModuleLevelGV() 1171 AggBuffer aggBuffer(ElementSize, *this); in printModuleLevelGV() 1175 if (ElementSize % ptrSize || in printModuleLevelGV() 1185 O << "[" << ElementSize << "] = {"; in printModuleLevelGV() 1191 O << "[" << ElementSize / ptrSize << "] = {"; in printModuleLevelGV() 1198 O << "[" << ElementSize << "] = {"; in printModuleLevelGV() 1205 if (ElementSize) { in printModuleLevelGV() 1207 O << ElementSize; in printModuleLevelGV() 1214 if (ElementSize) { in printModuleLevelGV() [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/PDB/ |
| H A D | UDTLayout.h | 102 uint32_t getElementSize() const { return ElementSize; } in getElementSize() 105 uint32_t ElementSize = 0;
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/ |
| H A D | SVEInstrFormats.td | 330 let ElementSize = pprty.ElementSize; 728 let ElementSize = pprty.ElementSize; 879 let ElementSize = ElementSizeNone; 995 let ElementSize = ElementSizeNone; 1603 let ElementSize = ElementSizeNone; 1774 let ElementSize = ElementSizeNone; 1911 let ElementSize = zprty.ElementSize; 1949 let ElementSize = zprty.ElementSize; 2008 let ElementSize = ElementSizeNone; 2129 let ElementSize = zprty.ElementSize; [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | IRBuilder.cpp | 196 Value *Ptr, Value *Val, Value *Size, Align Alignment, uint32_t ElementSize, in CreateElementUnorderedAtomicMemSet() argument 200 Value *Ops[] = {Ptr, Val, Size, getInt32(ElementSize)}; in CreateElementUnorderedAtomicMemSet() 300 uint32_t ElementSize, MDNode *TBAATag, MDNode *TBAAStructTag, in CreateElementUnorderedAtomicMemCpy() argument 302 assert(DstAlign >= ElementSize && in CreateElementUnorderedAtomicMemCpy() 304 assert(SrcAlign >= ElementSize && in CreateElementUnorderedAtomicMemCpy() 309 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() 384 Value *Ops[] = {Dst, Src, Size, getInt32(ElementSize)}; in CreateElementUnorderedAtomicMemMove()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/MC/MCParser/ |
| H A D | MCAsmParser.h | 98 unsigned ElementSize = 0; member
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPromoteAlloca.cpp | 435 unsigned ElementSize = DL.getTypeSizeInBits(VecEltTy) / 8; in tryPromoteAllocaToVector() local 493 if (!Len || !!(Len->getZExtValue() % ElementSize)) in tryPromoteAllocaToVector() 591 unsigned NumCopied = Length->getZExtValue() / ElementSize; in tryPromoteAllocaToVector()
|
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/PDB/ |
| H A D | UDTLayout.cpp | 104 ElementSize = VTableType->getLength(); in VTableLayoutItem()
|
| /openbsd-src/gnu/llvm/clang/utils/TableGen/ |
| H A D | NeonEmitter.cpp | 1594 unsigned ElementSize; in emitDagShuffle() member in Intrinsic::DagEmitter::emitDagShuffle::Rev 1597 Rev(unsigned ElementSize) : ElementSize(ElementSize) {} in emitDagShuffle() argument 1605 VectorSize /= ElementSize; in emitDagShuffle()
|