| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Operator.cpp | 54 Offset = DL.getTypeAllocSize(GTI.getIndexedType()) * ElemCount; in getMaxPreservedAlignment() 126 DL.getTypeAllocSize(GTI.getIndexedType()))) in accumulateConstantOffset() 140 DL.getTypeAllocSize(GTI.getIndexedType()))) in accumulateConstantOffset() 187 DL.getTypeAllocSize(GTI.getIndexedType())); in collectOffset() 197 APInt(BitWidth, DL.getTypeAllocSize(GTI.getIndexedType())); in collectOffset()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVTargetObjectFile.cpp | 71 GVA->getParent()->getDataLayout().getTypeAllocSize(Ty)); in isGlobalInSmallSection() 103 return isInSmallSection(DL.getTypeAllocSize(CN->getType())); in isConstantInSmallSection()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUMachineFunction.cpp | 56 StaticLDSSize += DL.getTypeAllocSize(GV.getValueType()); in allocateLDSGlobal() 79 assert(DL.getTypeAllocSize(GV.getValueType()).isZero()); in setDynLDSAlign()
|
| H A D | AMDGPURewriteOutArguments.cpp | 153 if (DL->getTypeAllocSize(SrcEltTy) != DL->getTypeAllocSize(DestEltTy)) in checkArgumentUses()
|
| H A D | AMDGPULowerModuleLDSPass.cpp | 194 TypeSize GVSize = DL.getTypeAllocSize(GV->getValueType()); in processUsedLDS() 217 OptimizedStructLayoutField F(GV, DL.getTypeAllocSize(GV->getValueType()), in processUsedLDS()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Lanai/ |
| H A D | LanaiTargetObjectFile.cpp | 98 GVA->getParent()->getDataLayout().getTypeAllocSize(Ty)); in isGlobalInSmallSectionImpl() 116 return isInSmallSection(DL.getTypeAllocSize(CN->getType())); in isConstantInSmallSection()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsTargetObjectFile.cpp | 146 GVA->getParent()->getDataLayout().getTypeAllocSize(Ty)); in IsGlobalInSmallSectionImpl() 172 LocalSData && IsInSmallSection(DL.getTypeAllocSize(CN->getType()))); in IsConstantInSmallSection()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | GlobalMerge.cpp | 227 return DL.getTypeAllocSize(GV1->getValueType()).getFixedSize() < in doMerge() 228 DL.getTypeAllocSize(GV2->getValueType()).getFixedSize(); in doMerge() 471 MergedSize += DL.getTypeAllocSize(Ty); in doMerge() 644 if (DL.getTypeAllocSize(Ty) < MaxOffset) { in doInitialization()
|
| H A D | InterleavedLoadCombinePass.cpp | 696 unsigned Size = DL.getTypeAllocSize(VTy->getElementType()); in isInterleaved() 748 unsigned NewSize = DL.getTypeAllocSize(Result.VTy->getElementType()); in computeFromBCI() 749 unsigned OldSize = DL.getTypeAllocSize(VTy->getElementType()); in computeFromBCI() 1023 unsigned ResultSize = DL.getTypeAllocSize(GEP.getResultElementType()); in computePolynomialFromPointer() 1060 unsigned Size = DL.getTypeAllocSize(C0->VTy->getElementType()); in findPattern()
|
| H A D | StackProtector.cpp | 136 if (SSPBufferSize <= M->getDataLayout().getTypeAllocSize(AT)) { in ContainsProtectableArray() 354 if (Strong && HasAddressTaken(AI, M->getDataLayout().getTypeAllocSize( in RequiresStackProtector()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFISelDAGToDAG.cpp | 358 total_size = DL.getTypeAllocSize(CA->getType()->getElementType()) * in getConstantFieldValue() 391 uint64_t Size = DL.getTypeAllocSize(CV->getType()); in fillGenericConstant() 432 Offset += DL.getTypeAllocSize(CDA->getElementAsConstant(i)->getType()); in fillConstantDataArray() 444 Offset += DL.getTypeAllocSize(CA->getOperand(i)->getType()); in fillConstantArray()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Linker/ |
| H A D | LinkModules.cpp | 210 uint64_t DstSize = DstDL.getTypeAllocSize(DstGV->getValueType()); in computeResultingSelectionKind() 211 uint64_t SrcSize = SrcDL.getTypeAllocSize(SrcGV->getValueType()); in computeResultingSelectionKind() 311 uint64_t DestSize = DL.getTypeAllocSize(Dest.getValueType()); in shouldLinkFromSource() 312 uint64_t SrcSize = DL.getTypeAllocSize(Src.getValueType()); in shouldLinkFromSource()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGBuilder.h | 213 CharUnits::fromQuantity(DL.getTypeAllocSize(ElTy->getElementType())); 230 CharUnits EltSize = CharUnits::fromQuantity(DL.getTypeAllocSize(ElTy)); 246 CharUnits::fromQuantity(DL.getTypeAllocSize(Addr.getElementType()));
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXAsmPrinter.cpp | 365 unsigned totalsz = DL.getTypeAllocSize(Ty); in printReturnValStr() 1468 unsigned sz = DL.getTypeAllocSize(Ty); in emitFunctionParamList() 1565 unsigned sz = DL.getTypeAllocSize(ETy); in emitFunctionParamList() 1780 int s = DL.getTypeAllocSize(CPV->getType()); in bufferLEByte() 1878 unsigned int s = DL.getTypeAllocSize(CPV->getType()); in bufferLEByte() 1887 int ElementSize = DL.getTypeAllocSize(CPV->getType()); in bufferLEByte() 1911 for (unsigned I = 0, E = DL.getTypeAllocSize(CPV->getType()); I < E; ++I) { in bufferAggregateConstant() 1942 DL.getTypeAllocSize(ST) - in bufferAggregateConstant() 2065 if (DL.getTypeAllocSize(Ty) == DL.getTypeAllocSize(Op->getType())) in lowerConstantForGV()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AsmPrinter.cpp | 565 uint64_t Size = DL.getTypeAllocSize(GV->getValueType()); in emitGlobalVariable() 1679 uint64_t Size = DL.getTypeAllocSize(GA->getValueType()); in emitGlobalIndirectSymbol() 2567 if (DL.getTypeAllocSize(Ty).getFixedSize() <= in lowerConstant() 2568 DL.getTypeAllocSize(Op->getType()).getFixedSize()) in lowerConstant() 2703 uint64_t Bytes = DL.getTypeAllocSize(CDS->getType()); in emitGlobalConstantDataSequential() 2729 unsigned Size = DL.getTypeAllocSize(CDS->getType()); in emitGlobalConstantDataSequential() 2745 uint64_t Bytes = DL.getTypeAllocSize(CA->getType()); in emitGlobalConstantArray() 2761 unsigned Size = DL.getTypeAllocSize(CV->getType()); in emitGlobalConstantVector() 2772 unsigned Size = DL.getTypeAllocSize(CS->getType()); in emitGlobalConstantStruct() 2995 uint64_t Size = DL.getTypeAllocSize(CV->getType()); in emitGlobalConstantImpl() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 373 if (DL.getTypeAllocSize(AI.getAllocatedType()).getKnownMinSize() == 0) { in visitAllocaInst() 390 DL.getTypeAllocSize(EntryAI->getAllocatedType()) in visitAllocaInst() 713 auto EltSize = DL.getTypeAllocSize(ET); in unpackLoadToAggregate() 792 uint64_t TypeSize = DL.getTypeAllocSize(AI->getAllocatedType()); in isObjectSizeLessThanOrEq() 804 uint64_t InitSize = DL.getTypeAllocSize(GV->getValueType()); in isObjectSizeLessThanOrEq() 872 uint64_t TyAllocSize = DL.getTypeAllocSize(AllocTy).getFixedSize(); in canReplaceGEPIdxWithZero() 1236 auto EltSize = DL.getTypeAllocSize(AT->getElementType()); in unpackStoreToAggregate()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/Utils/ |
| H A D | Local.h | 48 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType()) & PtrSizeMask;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | MemoryBuiltins.cpp | 358 unsigned ElementSize = DL.getTypeAllocSize(T); in computeArraySize() 671 APInt Size(IntTyBits, DL.getTypeAllocSize(I.getAllocatedType())); in visitAllocaInst() 697 APInt Size(IntTyBits, DL.getTypeAllocSize(MemoryTy)); in visitArgument() 803 APInt Size(IntTyBits, DL.getTypeAllocSize(GV.getValueType())); in visitGlobalVariable() 968 DL.getTypeAllocSize(I.getAllocatedType())); in visitAllocaInst()
|
| H A D | LoopAccessAnalysis.cpp | 1103 int64_t Size = DL.getTypeAllocSize(PtrTy->getElementType()); in getPtrStride() 1408 uint64_t DistTypeSize = DL.getTypeAllocSize(Dist.getType()); in isSafeDependenceDistance() 1409 uint64_t ProductTypeSize = DL.getTypeAllocSize(Product->getType()); in isSafeDependenceDistance() 1525 uint64_t TypeByteSize = DL.getTypeAllocSize(ATy); in isDependent() 1530 TypeByteSize == DL.getTypeAllocSize(BTy) && in isDependent() 2165 uint64_t StrideTypeSize = DL.getTypeAllocSize(StrideExpr->getType()); in collectStridedAccess() 2166 uint64_t BETypeSize = DL.getTypeAllocSize(BETakenCount->getType()); in collectStridedAccess()
|
| H A D | TypeMetadataUtils.cpp | 149 uint64_t ElemSize = DL.getTypeAllocSize(VTableTy->getElementType()); in getPointerAtOffset()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonTargetObjectFile.cpp | 258 unsigned Size = GVar->getParent()->getDataLayout().getTypeAllocSize(GType); in isGlobalInSmallSection() 323 return DL.getTypeAllocSize(const_cast<Type*>(Ty)); in getSmallestAddressableSize()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | DataLayout.h | 498 TypeSize getTypeAllocSize(Type *Ty) const { in getTypeAllocSize() function 512 return 8 * getTypeAllocSize(Ty); in getTypeAllocSizeInBits()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 1505 DL.getTypeAllocSize(ElementTy).getFixedSize()); in getNaturalGEPRecursively() 1527 if (Offset.uge(DL.getTypeAllocSize(ElementTy).getFixedSize())) in getNaturalGEPRecursively() 1562 DL.getTypeAllocSize(ElementTy).getFixedSize()); in getNaturalGEPWithOffset() 3637 uint64_t AllocSize = DL.getTypeAllocSize(Ty).getFixedSize(); in stripAggregateTypeWrapping() 3651 if (AllocSize > DL.getTypeAllocSize(InnerTy).getFixedSize() || in stripAggregateTypeWrapping() 3673 if (Offset == 0 && DL.getTypeAllocSize(Ty).getFixedSize() == Size) in getTypePartition() 3675 if (Offset > DL.getTypeAllocSize(Ty).getFixedSize() || in getTypePartition() 3676 (DL.getTypeAllocSize(Ty).getFixedSize() - Offset) < Size) in getTypePartition() 4313 assert(DL.getTypeAllocSize(SliceTy).getFixedSize() >= P.size()); in rewritePartition() 4457 DL.getTypeAllocSize(AI.getAllocatedType()).getFixedSize(); in splitAlloca() [all …]
|
| H A D | SeparateConstOffsetFromGEP.cpp | 830 ConstantOffset * DL->getTypeAllocSize(GTI.getIndexedType()); in accumulateByteOffset() 876 DL->getTypeAllocSize(GTI.getIndexedType())); in lowerToSingleIndexGEPs() 937 DL->getTypeAllocSize(GTI.getIndexedType())); in lowerToArithmetics() 1099 DL->getTypeAllocSize(GEP->getResultElementType())); in splitGEP()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ |
| H A D | Target.cpp | 110 return unwrap(TD)->getTypeAllocSize(unwrap(Ty)); in LLVMABISizeOfType()
|