/netbsd/external/apache2/llvm/dist/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()
|
/netbsd/external/apache2/llvm/dist/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()
|
/netbsd/external/apache2/llvm/dist/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 | AMDGPULowerModuleLDSPass.cpp | 164 TypeSize SLHS = DL.getTypeAllocSize(LHS->getValueType()); in runOnModule() 165 TypeSize SRHS = DL.getTypeAllocSize(RHS->getValueType()); in runOnModule() 200 CurrentOffset += DL.getTypeAllocSize(FGV->getValueType()); in runOnModule()
|
H A D | AMDGPURewriteOutArguments.cpp | 153 if (DL->getTypeAllocSize(SrcEltTy) != DL->getTypeAllocSize(DestEltTy)) in checkArgumentUses()
|
/netbsd/external/apache2/llvm/dist/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()
|
/netbsd/external/apache2/llvm/dist/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()
|
/netbsd/external/apache2/llvm/dist/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 | 695 unsigned Size = DL.getTypeAllocSize(VTy->getElementType()); in isInterleaved() 747 unsigned NewSize = DL.getTypeAllocSize(Result.VTy->getElementType()); in computeFromBCI() 748 unsigned OldSize = DL.getTypeAllocSize(VTy->getElementType()); in computeFromBCI() 1022 unsigned ResultSize = DL.getTypeAllocSize(GEP.getResultElementType()); in computePolynomialFromPointer() 1059 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()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/BPF/ |
H A D | BPFISelDAGToDAG.cpp | 361 total_size = DL.getTypeAllocSize(CA->getType()->getElementType()) * in getConstantFieldValue() 394 uint64_t Size = DL.getTypeAllocSize(CV->getType()); in fillGenericConstant() 435 Offset += DL.getTypeAllocSize(CDA->getElementAsConstant(i)->getType()); in fillConstantDataArray() 447 Offset += DL.getTypeAllocSize(CA->getOperand(i)->getType()); in fillConstantArray()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Linker/ |
H A D | LinkModules.cpp | 194 uint64_t DstSize = DstDL.getTypeAllocSize(DstGV->getValueType()); in computeResultingSelectionKind() 195 uint64_t SrcSize = SrcDL.getTypeAllocSize(SrcGV->getValueType()); in computeResultingSelectionKind() 295 uint64_t DestSize = DL.getTypeAllocSize(Dest.getValueType()); in shouldLinkFromSource() 296 uint64_t SrcSize = DL.getTypeAllocSize(Src.getValueType()); in shouldLinkFromSource()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/ |
H A D | AsmPrinter.cpp | 551 uint64_t Size = DL.getTypeAllocSize(GV->getValueType()); in emitGlobalVariable() 1659 uint64_t Size = DL.getTypeAllocSize(GA->getValueType()); in emitGlobalIndirectSymbol() 2542 if (DL.getTypeAllocSize(Ty).getFixedSize() <= in lowerConstant() 2543 DL.getTypeAllocSize(Op->getType()).getFixedSize()) in lowerConstant() 2678 uint64_t Bytes = DL.getTypeAllocSize(CDS->getType()); in emitGlobalConstantDataSequential() 2704 unsigned Size = DL.getTypeAllocSize(CDS->getType()); in emitGlobalConstantDataSequential() 2720 uint64_t Bytes = DL.getTypeAllocSize(CA->getType()); in emitGlobalConstantArray() 2736 unsigned Size = DL.getTypeAllocSize(CV->getType()); in emitGlobalConstantVector() 2747 unsigned Size = DL.getTypeAllocSize(CS->getType()); in emitGlobalConstantStruct() 2970 uint64_t Size = DL.getTypeAllocSize(CV->getType()); in emitGlobalConstantImpl() [all …]
|
/netbsd/external/apache2/llvm/dist/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()));
|
/netbsd/external/apache2/llvm/dist/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()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineLoadStoreAlloca.cpp | 361 if (DL.getTypeAllocSize(AI.getAllocatedType()).getKnownMinSize() == 0) { in visitAllocaInst() 378 DL.getTypeAllocSize(EntryAI->getAllocatedType()) in visitAllocaInst() 701 auto EltSize = DL.getTypeAllocSize(ET); in unpackLoadToAggregate() 780 uint64_t TypeSize = DL.getTypeAllocSize(AI->getAllocatedType()); in isObjectSizeLessThanOrEq() 792 uint64_t InitSize = DL.getTypeAllocSize(GV->getValueType()); in isObjectSizeLessThanOrEq() 860 uint64_t TyAllocSize = DL.getTypeAllocSize(AllocTy).getFixedSize(); in canReplaceGEPIdxWithZero() 1224 auto EltSize = DL.getTypeAllocSize(AT->getElementType()); in unpackStoreToAggregate()
|
H A D | InstructionCombining.cpp | 1241 if (int64_t TySize = DL.getTypeAllocSize(Ty)) { in FindElementAtOffset() 1274 uint64_t EltSize = DL.getTypeAllocSize(AT->getElementType()); in FindElementAtOffset() 1908 if (EltTy->isSized() && DL.getTypeAllocSize(EltTy).isZero()) in visitGetElementPtrInst() 2158 uint64_t TyAllocSize = DL.getTypeAllocSize(GEPEltType).getFixedSize(); in visitGetElementPtrInst() 2269 DL.getTypeAllocSize(StrippedPtrEltTy->getArrayElementType()) == in visitGetElementPtrInst() 2270 DL.getTypeAllocSize(GEPEltType)) { in visitGetElementPtrInst() 2291 uint64_t ResSize = DL.getTypeAllocSize(GEPEltType).getFixedSize(); in visitGetElementPtrInst() 2331 uint64_t ResSize = DL.getTypeAllocSize(GEPEltType).getFixedSize(); in visitGetElementPtrInst() 2333 DL.getTypeAllocSize(StrippedPtrEltTy->getArrayElementType()) in visitGetElementPtrInst() 2396 DL.getTypeAllocSize(ArrTy) == DL.getTypeAllocSize(VecTy); in visitGetElementPtrInst() [all …]
|
/netbsd/external/apache2/llvm/dist/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 | 1091 int64_t Size = DL.getTypeAllocSize(PtrTy->getElementType()); in getPtrStride() 1389 uint64_t DistTypeSize = DL.getTypeAllocSize(Dist.getType()); in isSafeDependenceDistance() 1390 uint64_t ProductTypeSize = DL.getTypeAllocSize(Product->getType()); in isSafeDependenceDistance() 1506 uint64_t TypeByteSize = DL.getTypeAllocSize(ATy); in isDependent() 1510 if (TypeByteSize == DL.getTypeAllocSize(BTy) && in isDependent() 2166 uint64_t StrideTypeSize = DL.getTypeAllocSize(StrideExpr->getType()); in collectStridedAccess() 2167 uint64_t BETypeSize = DL.getTypeAllocSize(BETakenCount->getType()); in collectStridedAccess()
|
/netbsd/external/apache2/llvm/dist/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()
|
/netbsd/external/apache2/llvm/dist/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()
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Analysis/Utils/ |
H A D | Local.h | 48 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType()) & PtrSizeMask;
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | SROA.cpp | 1504 DL.getTypeAllocSize(ElementTy).getFixedSize()); in getNaturalGEPRecursively() 1526 if (Offset.uge(DL.getTypeAllocSize(ElementTy).getFixedSize())) in getNaturalGEPRecursively() 1561 DL.getTypeAllocSize(ElementTy).getFixedSize()); in getNaturalGEPWithOffset() 3622 uint64_t AllocSize = DL.getTypeAllocSize(Ty).getFixedSize(); in stripAggregateTypeWrapping() 3636 if (AllocSize > DL.getTypeAllocSize(InnerTy).getFixedSize() || in stripAggregateTypeWrapping() 3658 if (Offset == 0 && DL.getTypeAllocSize(Ty).getFixedSize() == Size) in getTypePartition() 3660 if (Offset > DL.getTypeAllocSize(Ty).getFixedSize() || in getTypePartition() 3661 (DL.getTypeAllocSize(Ty).getFixedSize() - Offset) < Size) in getTypePartition() 4292 assert(DL.getTypeAllocSize(SliceTy).getFixedSize() >= P.size()); in rewritePartition() 4436 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()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/ |
H A D | Target.cpp | 110 return unwrap(TD)->getTypeAllocSize(unwrap(Ty)); in LLVMABISizeOfType()
|