Home
last modified time | relevance | path

Searched refs:ElementSize (Results 1 – 25 of 65) sorted by relevance

123

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSparseBitVector.h49 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 …]
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DDynamicExtent.cpp62 DefinedOrUnknownSVal ElementSize) { in getDynamicElementCount() argument
66 SVB.evalBinOp(State, BO_Div, Size, ElementSize, SVB.getArrayIndexType()) in getDynamicElementCount()
78 DefinedOrUnknownSVal ElementSize = getElementExtent(ElementTy, SVB); in getDynamicElementCount() local
79 if (ElementSize.isZeroConstant()) in getDynamicElementCount()
83 ElementSize); in getDynamicElementCount()
114 DefinedOrUnknownSVal ElementSize = getElementExtent(ElementTy, SVB); in getDynamicElementCountWithOffset() local
115 if (ElementSize.isZeroConstant()) in getDynamicElementCountWithOffset()
119 ElementSize); in getDynamicElementCountWithOffset()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTensorSpec.h82 size_t getElementByteSize() const { return ElementSize; } in getElementByteSize()
84 size_t getTotalTensorBufferSize() const { return ElementCount * ElementSize; } in getTotalTensorBufferSize()
91 : TensorSpec(NewName, Other.Port, Other.Type, Other.ElementSize, in TensorSpec()
98 size_t ElementSize, const std::vector<int64_t> &Shape);
107 size_t ElementSize = 0; variable
H A DDelinearization.h34 const SCEV *ElementSize);
112 SmallVectorImpl<const SCEV *> &Sizes, const SCEV *ElementSize);
H A DTargetTransformInfoImpl.h1061 int64_t ElementSize = in getGEPCost() local
1065 ConstIdx->getValue().sextOrTrunc(PtrSizeBits) * ElementSize; in getGEPCost()
1071 Scale = ElementSize; in getGEPCost()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DRuntimeLibcalls.h98 Libcall getMEMCPY_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize);
103 Libcall getMEMMOVE_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize);
108 Libcall getMEMSET_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DStraightLineStrengthReduce.cpp218 Value *S, uint64_t ElementSize,
233 void factorArrayIndex(Value *ArrayIdx, const SCEV *Base, uint64_t ElementSize,
477 const SCEV *B, ConstantInt *Idx, Value *S, uint64_t ElementSize, in allocateCandidatesAndFindBasisForGEP() argument
485 PtrIdxTy, Idx->getSExtValue() * (int64_t)ElementSize, true); in allocateCandidatesAndFindBasisForGEP()
491 uint64_t ElementSize, in factorArrayIndex() argument
496 ArrayIdx, ElementSize, GEP); in factorArrayIndex()
513 allocateCandidatesAndFindBasisForGEP(Base, RHS, LHS, ElementSize, GEP); in factorArrayIndex()
520 allocateCandidatesAndFindBasisForGEP(Base, PowerOf2, LHS, ElementSize, GEP); in factorArrayIndex()
546 uint64_t ElementSize = GTI.getSequentialElementStride(*DL); in allocateCandidatesAndFindBasisForGEP() local
551 factorArrayIndex(ArrayIdx, BaseExpr, ElementSize, GEP); in allocateCandidatesAndFindBasisForGEP()
[all …]
H A DSeparateConstOffsetFromGEP.cpp886 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 DSROA.cpp2146 uint64_t ElementSize = in checkVectorTypeForPromotion() local
2151 if (ElementSize % 8) in checkVectorTypeForPromotion()
2155 ElementSize /= 8; in checkVectorTypeForPromotion()
2280 unsigned ElementSize = in createAndCheckVectorTypesForPromotion() local
2686 uint64_t ElementSize; member in __anonc3d49dbe0d11::AllocaSliceRewriter
4161 if ((Offset + Size) > ElementSize) in getTypePartition()
4168 if (Size == ElementSize) in getTypePartition()
4170 assert(Size > ElementSize); in getTypePartition()
4197 if (Offset >= ElementSize) in getTypePartition()
4202 if ((Offset + Size) > ElementSize) in getTypePartition()
[all …]
H A DNaryReassociate.cpp433 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-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DTensorSpec.cpp63 size_t ElementSize, const std::vector<int64_t> &Shape) in TensorSpec() argument
67 ElementSize(ElementSize) {} in TensorSpec()
H A DDelinearization.cpp280 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-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegacyLegalizerInfo.cpp163 const uint16_t ElementSize = VectorSpecifiedActions.first; in computeTables() local
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()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegacyLegalizerInfo.h347 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-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp1195 uint64_t ElementSize = 0; in printModuleLevelGV() local
1206 ElementSize = DL.getTypeStoreSize(ETy); in printModuleLevelGV()
1218 if (ElementSize % ptrSize || in printModuleLevelGV()
1248 if (ElementSize) { in printModuleLevelGV()
1250 O << ElementSize; in printModuleLevelGV()
1257 if (ElementSize) { in printModuleLevelGV()
1259 O << ElementSize; in printModuleLevelGV()
1466 int64_t ElementSize = 0; in emitPTXGlobalVariable() local
1476 ElementSize = DL.getTypeStoreSize(ETy); in emitPTXGlobalVariable()
1480 if (ElementSize) { in emitPTXGlobalVariable()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/
H A DUDTLayout.h102 uint32_t getElementSize() const { return ElementSize; } in getElementSize()
105 uint32_t ElementSize = 0;
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DIRBuilder.cpp193 Value *Ptr, Value *Val, Value *Size, Align Alignment, uint32_t ElementSize, in CreateElementUnorderedAtomicMemSet() argument
196 Value *Ops[] = {Ptr, Val, Size, getInt32(ElementSize)}; in CreateElementUnorderedAtomicMemSet()
258 uint32_t ElementSize, MDNode *TBAATag, MDNode *TBAAStructTag, in CreateElementUnorderedAtomicMemCpy() argument
260 assert(DstAlign >= ElementSize && in CreateElementUnorderedAtomicMemCpy()
262 assert(SrcAlign >= ElementSize && in CreateElementUnorderedAtomicMemCpy()
264 Value *Ops[] = {Dst, Src, Size, getInt32(ElementSize)}; in CreateElementUnorderedAtomicMemCpy()
374 uint32_t ElementSize, MDNode *TBAATag, MDNode *TBAAStructTag, in CreateElementUnorderedAtomicMemMove() argument
376 assert(DstAlign >= ElementSize && in CreateElementUnorderedAtomicMemMove()
378 assert(SrcAlign >= ElementSize && in CreateElementUnorderedAtomicMemMove()
380 Value *Ops[] = {Dst, Src, Size, getInt32(ElementSize)}; in CreateElementUnorderedAtomicMemMove()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DSVEInstrFormats.td365 let ElementSize = pprty.ElementSize;
823 let ElementSize = pprty.ElementSize;
2076 let ElementSize = zprty.ElementSize;
2116 let ElementSize = zprty.ElementSize;
2334 let ElementSize = zprty.ElementSize;
2388 let ElementSize = zprty.ElementSize;
2567 let ElementSize = zprty.ElementSize;
2659 let ElementSize = zprty.ElementSize;
2750 let ElementSize = zprty.ElementSize;
3117 let ElementSize = zprty.ElementSize;
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp350 unsigned VecStoreSize, unsigned ElementSize, in promoteAllocaUserToVector() argument
503 unsigned NumCopied = Length->getZExtValue() / ElementSize; in promoteAllocaUserToVector()
685 unsigned ElementSize = DL->getTypeSizeInBits(VecEltTy) / 8; in tryPromoteAllocaToVector() local
756 if (!Len || (Len->getZExtValue() % ElementSize)) in tryPromoteAllocaToVector()
846 I, *DL, VectorTy, VecStoreSize, ElementSize, TransferInfo, GEPVectorIdx, in tryPromoteAllocaToVector()
859 I, *DL, VectorTy, VecStoreSize, ElementSize, TransferInfo, GEPVectorIdx, in tryPromoteAllocaToVector()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MC/MCParser/
H A DMCAsmParser.h98 unsigned ElementSize = 0; member
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp648 RTLIB::Libcall RTLIB::getMEMCPY_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize) { in getMEMCPY_ELEMENT_UNORDERED_ATOMIC() argument
649 switch (ElementSize) { in getMEMCPY_ELEMENT_UNORDERED_ATOMIC()
665 RTLIB::Libcall RTLIB::getMEMMOVE_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize) { in getMEMMOVE_ELEMENT_UNORDERED_ATOMIC() argument
666 switch (ElementSize) { in getMEMMOVE_ELEMENT_UNORDERED_ATOMIC()
682 RTLIB::Libcall RTLIB::getMEMSET_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize) { in getMEMSET_ELEMENT_UNORDERED_ATOMIC() argument
683 switch (ElementSize) { in getMEMSET_ELEMENT_UNORDERED_ATOMIC()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp1165 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-14.2/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
H A DUDTLayout.cpp104 ElementSize = VTableType->getLength(); in VTableLayoutItem()
/freebsd-14.2/contrib/llvm-project/clang/utils/TableGen/
H A DNeonEmitter.cpp1598 unsigned ElementSize; in emitDagShuffle() member in Intrinsic::DagEmitter::emitDagShuffle::Rev
1601 Rev(unsigned ElementSize) : ElementSize(ElementSize) {} in emitDagShuffle() argument
1609 VectorSize /= ElementSize; in emitDagShuffle()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpBuiltin.cpp893 CharUnits ElementSize = S.getCtx().getTypeSizeInChars(CurrentType); in InterpretOffsetOf() local
894 Result += Index * ElementSize; in InterpretOffsetOf()

123