| /freebsd-12.1/contrib/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 …]
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | StraightLineStrengthReduce.cpp | 206 Value *S, uint64_t ElementSize, 471 const SCEV *B, ConstantInt *Idx, Value *S, uint64_t ElementSize, in allocateCandidatesAndFindBasisForGEP() argument 479 IntPtrTy, Idx->getSExtValue() * (int64_t)ElementSize, true); in allocateCandidatesAndFindBasisForGEP() 485 uint64_t ElementSize, in factorArrayIndex() argument 490 ArrayIdx, ElementSize, GEP); in factorArrayIndex() 507 allocateCandidatesAndFindBasisForGEP(Base, RHS, LHS, ElementSize, GEP); in factorArrayIndex() 540 uint64_t ElementSize = DL->getTypeAllocSize(GTI.getIndexedType()); in allocateCandidatesAndFindBasisForGEP() local 545 factorArrayIndex(ArrayIdx, BaseExpr, ElementSize, GEP); in allocateCandidatesAndFindBasisForGEP() 556 factorArrayIndex(TruncatedArrayIdx, BaseExpr, ElementSize, GEP); in allocateCandidatesAndFindBasisForGEP() 582 APInt ElementSize( in emitBump() local [all …]
|
| H A D | SeparateConstOffsetFromGEP.cpp | 843 APInt ElementSize = APInt(IntPtrTy->getIntegerBitWidth(), in lowerToSingleIndexGEPs() local 846 if (ElementSize != 1) { in lowerToSingleIndexGEPs() 847 if (ElementSize.isPowerOf2()) { in lowerToSingleIndexGEPs() 849 Idx, ConstantInt::get(IntPtrTy, ElementSize.logBase2())); in lowerToSingleIndexGEPs() 851 Idx = Builder.CreateMul(Idx, ConstantInt::get(IntPtrTy, ElementSize)); in lowerToSingleIndexGEPs() 904 APInt ElementSize = APInt(IntPtrTy->getIntegerBitWidth(), in lowerToArithmetics() local 907 if (ElementSize != 1) { in lowerToArithmetics() 908 if (ElementSize.isPowerOf2()) { in lowerToArithmetics() 910 Idx, ConstantInt::get(IntPtrTy, ElementSize.logBase2())); in lowerToArithmetics() 912 Idx = Builder.CreateMul(Idx, ConstantInt::get(IntPtrTy, ElementSize)); in lowerToArithmetics()
|
| H A D | SROA.cpp | 1528 if (ElementSize == 0) in getNaturalGEPWithOffset() 1931 if (ElementSize % 8) in isVectorPromotionViable() 1935 ElementSize /= 8; in isVectorPromotionViable() 2251 uint64_t ElementSize; member in llvm::sroa::AllocaSliceRewriter 3460 if ((Offset + Size) > ElementSize) in getTypePartition() 3467 if (Size == ElementSize) in getTypePartition() 3469 assert(Size > ElementSize); in getTypePartition() 3492 if (Offset >= ElementSize) in getTypePartition() 3496 if (Offset > 0 || Size < ElementSize) { in getTypePartition() 3497 if ((Offset + Size) > ElementSize) in getTypePartition() [all …]
|
| H A D | NaryReassociate.cpp | 404 uint64_t ElementSize = DL->getTypeAllocSize(ElementType); in tryReassociateGEPAtIndex() local 419 if (IndexedSize % ElementSize != 0) in tryReassociateGEPAtIndex() 426 if (IndexedSize != ElementSize) { in tryReassociateGEPAtIndex() 428 RHS, ConstantInt::get(IntPtrTy, IndexedSize / ElementSize)); in tryReassociateGEPAtIndex()
|
| H A D | DeadStoreElimination.cpp | 928 const uint32_t ElementSize = AMI->getElementSizeInBytes(); in tryToShorten() local 929 if (0 != NewLength % ElementSize) in tryToShorten()
|
| /freebsd-12.1/contrib/llvm/include/llvm/CodeGen/ |
| H A D | RuntimeLibcalls.h | 67 Libcall getMEMCPY_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize); 72 Libcall getMEMMOVE_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize); 77 Libcall getMEMSET_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize);
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | IRBuilder.cpp | 129 Value *Ptr, Value *Val, Value *Size, unsigned Align, uint32_t ElementSize, in CreateElementUnorderedAtomicMemSet() argument 131 assert(Align >= ElementSize && in CreateElementUnorderedAtomicMemSet() 135 Value *Ops[] = {Ptr, Val, Size, getInt32(ElementSize)}; in CreateElementUnorderedAtomicMemSet() 199 uint32_t ElementSize, MDNode *TBAATag, MDNode *TBAAStructTag, in CreateElementUnorderedAtomicMemCpy() argument 201 assert(DstAlign >= ElementSize && in CreateElementUnorderedAtomicMemCpy() 203 assert(SrcAlign >= ElementSize && in CreateElementUnorderedAtomicMemCpy() 208 Value *Ops[] = {Dst, Src, Size, getInt32(ElementSize)}; in CreateElementUnorderedAtomicMemCpy() 275 uint32_t ElementSize, MDNode *TBAATag, MDNode *TBAAStructTag, in CreateElementUnorderedAtomicMemMove() argument 277 assert(DstAlign >= ElementSize && in CreateElementUnorderedAtomicMemMove() 279 assert(SrcAlign >= ElementSize && in CreateElementUnorderedAtomicMemMove() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXAsmPrinter.cpp | 1202 unsigned int ElementSize = 0; in printModuleLevelGV() local 1228 O << ElementSize / 8; in printModuleLevelGV() 1240 O << ElementSize; in printModuleLevelGV() 1249 if (ElementSize) { in printModuleLevelGV() 1251 O << ElementSize; in printModuleLevelGV() 1258 if (ElementSize) { in printModuleLevelGV() 1260 O << ElementSize; in printModuleLevelGV() 1377 int64_t ElementSize = 0; in emitPTXGlobalVariable() local 1391 if (ElementSize) { in emitPTXGlobalVariable() 1392 O << ElementSize; in emitPTXGlobalVariable() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerInfo.cpp | 206 const uint16_t ElementSize = VectorSpecifiedActions.first; in computeTables() local 207 ElementSizesSeen.push_back({ElementSize, Legal}); in computeTables() 215 assert(BitsizeAndAction.first % ElementSize == 0); in computeTables() 216 const uint16_t NumElements = BitsizeAndAction.first / ElementSize; in computeTables() 220 Opcode, TypeIdx, ElementSize, in computeTables()
|
| H A D | IRTranslator.cpp | 252 unsigned ElementSize = DL->getTypeStoreSize(AI.getAllocatedType()); in getOrCreateFrameIndex() local 254 ElementSize * cast<ConstantInt>(AI.getArraySize())->getZExtValue(); in getOrCreateFrameIndex() 667 uint64_t ElementSize = DL->getTypeAllocSize(GTI.getIndexedType()); in translateGetElementPtr() local 672 Offset += ElementSize * CI->getSExtValue(); in translateGetElementPtr() 696 if (ElementSize != 1) { in translateGetElementPtr() 698 getOrCreateVReg(*ConstantInt::get(OffsetIRTy, ElementSize)); in translateGetElementPtr()
|
| /freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/PDB/ |
| H A D | UDTLayout.h | 104 uint32_t getElementSize() const { return ElementSize; } in getElementSize() 107 uint32_t ElementSize = 0;
|
| /freebsd-12.1/contrib/llvm/lib/Target/AArch64/ |
| H A D | SVEInstrFormats.td | 1082 let ElementSize = zprty.ElementSize; 1111 let ElementSize = zprty.ElementSize; 1201 let ElementSize = zprty.ElementSize; 1232 let ElementSize = zprty.ElementSize; 1354 let ElementSize = zprty.ElementSize; 1430 let ElementSize = zprty.ElementSize; 1589 let ElementSize = zprty.ElementSize; 1652 let ElementSize = zprty.ElementSize; 1684 let ElementSize = zprty.ElementSize; 1789 let ElementSize = zprty.ElementSize; [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | LegalizerInfo.h | 1034 const unsigned ElementSize, in setVectorNumElementAction() argument 1037 if (NumElements2Actions[OpcodeIdx].find(ElementSize) == in setVectorNumElementAction() 1039 NumElements2Actions[OpcodeIdx][ElementSize] = {{}}; in setVectorNumElementAction() 1041 NumElements2Actions[OpcodeIdx].find(ElementSize)->second; in setVectorNumElementAction()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfoImpl.h | 751 int64_t ElementSize = DL.getTypeAllocSize(GTI.getIndexedType()); in getGEPCost() local 754 ConstIdx->getValue().sextOrTrunc(PtrSizeBits) * ElementSize; in getGEPCost() 760 Scale = ElementSize; in getGEPCost()
|
| H A D | ValueTracking.h | 284 unsigned ElementSize, uint64_t Offset = 0);
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | TargetLoweringBase.cpp | 444 RTLIB::Libcall RTLIB::getMEMCPY_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize) { in getMEMCPY_ELEMENT_UNORDERED_ATOMIC() argument 445 switch (ElementSize) { in getMEMCPY_ELEMENT_UNORDERED_ATOMIC() 461 RTLIB::Libcall RTLIB::getMEMMOVE_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize) { in getMEMMOVE_ELEMENT_UNORDERED_ATOMIC() argument 462 switch (ElementSize) { in getMEMMOVE_ELEMENT_UNORDERED_ATOMIC() 478 RTLIB::Libcall RTLIB::getMEMSET_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize) { in getMEMSET_ELEMENT_UNORDERED_ATOMIC() argument 479 switch (ElementSize) { in getMEMSET_ELEMENT_UNORDERED_ATOMIC()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | MemoryBuiltins.cpp | 286 unsigned ElementSize = DL.getTypeAllocSize(T); in computeArraySize() local 288 ElementSize = DL.getStructLayout(ST)->getSizeInBytes(); in computeArraySize() 294 if (ComputeMultiple(MallocArg, ElementSize, Multiple, LookThroughSExt)) in computeArraySize()
|
| H A D | BasicAliasAnalysis.cpp | 1118 const uint64_t ElementSize = in aliasSameBasePointerGEPs() local 1120 if (V1Size != ElementSize || V2Size != ElementSize) in aliasSameBasePointerGEPs()
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | IRBuilder.h | 425 uint32_t ElementSize, 430 ElementSize, TBAATag, ScopeTag, 436 uint32_t ElementSize, 474 uint64_t Size, uint32_t ElementSize, MDNode *TBAATag = nullptr, 478 Dst, DstAlign, Src, SrcAlign, getInt64(Size), ElementSize, TBAATag, 484 uint32_t ElementSize, MDNode *TBAATag = nullptr, 518 uint64_t Size, uint32_t ElementSize, MDNode *TBAATag = nullptr, 522 Dst, DstAlign, Src, SrcAlign, getInt64(Size), ElementSize, TBAATag, 528 uint32_t ElementSize, MDNode *TBAATag = nullptr,
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 1193 unsigned ElementSize = in InitializeMemory() local 1196 InitializeMemory(CP->getOperand(i), (char*)Addr+i*ElementSize); in InitializeMemory() 1206 unsigned ElementSize = in InitializeMemory() local 1209 InitializeMemory(CPA->getOperand(i), (char*)Addr+i*ElementSize); in InitializeMemory()
|
| /freebsd-12.1/contrib/llvm/lib/DebugInfo/PDB/ |
| H A D | UDTLayout.cpp | 102 ElementSize = VTableType->getLength(); in VTableLayoutItem()
|
| /freebsd-12.1/contrib/llvm/tools/clang/utils/TableGen/ |
| H A D | NeonEmitter.cpp | 1683 unsigned ElementSize; in emitDagShuffle() member in Intrinsic::DagEmitter::emitDagShuffle::Rev 1686 Rev(unsigned ElementSize) : ElementSize(ElementSize) {} in emitDagShuffle() argument 1694 VectorSize /= ElementSize; in emitDagShuffle()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | Type.cpp | 114 uint64_t ElementSize = Context.getTypeSizeInChars(ElementType).getQuantity(); in getNumAddressingBits() local 122 if (llvm::isPowerOf2_64(ElementSize)) { in getNumAddressingBits() 123 return NumElements.getActiveBits() + llvm::Log2_64(ElementSize); in getNumAddressingBits() 128 if ((ElementSize >> 32) == 0 && NumElements.getBitWidth() <= 64 && in getNumAddressingBits() 130 uint64_t TotalSize = NumElements.getZExtValue() * ElementSize; in getNumAddressingBits() 140 llvm::APSInt TotalSize(llvm::APInt(SizeExtended.getBitWidth(), ElementSize)); in getNumAddressingBits()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGExprCXX.cpp | 989 CharUnits ElementSize = getContext().getTypeSizeInChars(ElementType); in EmitNewArrayInitializer() local 991 BeginPtr.getAlignment().alignmentOfArrayElement(ElementSize); in EmitNewArrayInitializer() 1046 ElementSize)); in EmitNewArrayInitializer() 1104 StartAlign.alignmentAtOffset((i + 1) * ElementSize)); in EmitNewArrayInitializer()
|