| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | CBufferDataLayout.cpp | 42 TypeSize getTypeAllocSize(Type *Ty); 54 return getTypeAllocSize(Ty); in getTypeAllocSizeInBytes() 72 TypeSize LegacyCBufferLayout::getTypeAllocSize(Type *Ty) { in getTypeAllocSize() function in llvm::dxil::LegacyCBufferLayout 81 TypeSize EltSize = getTypeAllocSize(AT->getElementType()); in getTypeAllocSize() 102 TypeSize EltSize = getTypeAllocSize(EltTy); in getStructLayout() 125 return DL.getTypeAllocSize(Ty); in getTypeAllocSizeInBytes()
|
| H A D | DXILCBufferAccess.cpp | 206 size_t ElemTySize = DL.getTypeAllocSize(ElemTy); in copyArrayElemsForMemCpy() 257 size_t ElemSize = DL.getTypeAllocSize(ElemTy); in replaceMemCpy()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUMachineFunction.cpp | 137 ObjectStart + DL.getTypeAllocSize(GV.getValueType()); in allocateLDSGlobal() 153 StaticLDSSize += DL.getTypeAllocSize(GV.getValueType()); in allocateLDSGlobal() 162 StaticGDSSize += DL.getTypeAllocSize(GV.getValueType()); in allocateLDSGlobal() 211 assert(DL.getTypeAllocSize(GV.getValueType()).isZero()); in setDynLDSAlign()
|
| H A D | AMDGPUPrintfRuntimeBinding.cpp | 179 unsigned ArgSize = TD->getTypeAllocSize(ArgType); in lowerPrintfForGpu() 205 ArgSize = TD->getTypeAllocSize(ArgType); in lowerPrintfForGpu() 403 unsigned ArgSize = TD->getTypeAllocSize(TheBtCast->getType()); in lowerPrintfForGpu()
|
| H A D | AMDGPULowerModuleLDSPass.cpp | 504 DL.getTypeAllocSize(GV->getValueType()).getFixedValue()); in chooseBestVariableForModuleStrategy() 1185 Offset += DL.getTypeAllocSize(MaybeModuleScopeStruct->getValueType()); in runOnModule() 1192 Offset += DL.getTypeAllocSize(KernelStruct->getValueType()); in runOnModule() 1262 TypeSize GVSize = DL.getTypeAllocSize(GV.getValueType()); in superAlignLDSGlobals() 1309 DL.getTypeAllocSize(GV->getValueType()), in createLDSVariableReplacement()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/ |
| H A D | LanaiTargetObjectFile.cpp | 95 GVA->getDataLayout().getTypeAllocSize(Ty)); in isGlobalInSmallSectionImpl() 113 return isInSmallSection(DL.getTypeAllocSize(CN->getType())); in isConstantInSmallSection()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsTargetObjectFile.cpp | 145 GVA->getDataLayout().getTypeAllocSize(Ty)); in IsGlobalInSmallSectionImpl() 171 LocalSData && IsInSmallSection(DL.getTypeAllocSize(CN->getType()))); in IsConstantInSmallSection()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVTargetObjectFile.cpp | 102 GVA->getDataLayout().getTypeAllocSize(Ty)); in isGlobalInSmallSection() 158 return isInSmallSection(DL.getTypeAllocSize(CN->getType())); in isConstantInSmallSection()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFISelDAGToDAG.cpp | 354 total_size = DL.getTypeAllocSize(CA->getType()->getElementType()) * in getConstantFieldValue() 387 uint64_t Size = DL.getTypeAllocSize(CV->getType()); in fillGenericConstant() 428 Offset += DL.getTypeAllocSize(CDA->getElementAsConstant(i)->getType()); in fillConstantDataArray() 440 Offset += DL.getTypeAllocSize(CA->getOperand(i)->getType()); in fillConstantArray()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | GlobalMerge.cpp | 270 return DL.getTypeAllocSize(GV1->getValueType()).getFixedValue() < in doMerge() 271 DL.getTypeAllocSize(GV2->getValueType()).getFixedValue(); in doMerge() 512 MergedSize += DL.getTypeAllocSize(Ty); in doMerge() 733 TypeSize AllocSize = DL.getTypeAllocSize(Ty); in run()
|
| 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() 1025 unsigned ResultSize = DL.getTypeAllocSize(GEP.getResultElementType()); in computePolynomialFromPointer() 1062 unsigned Size = DL.getTypeAllocSize(C0->VTy->getElementType()); in findPattern()
|
| /freebsd/contrib/llvm-project/llvm/lib/Linker/ |
| H A D | LinkModules.cpp | 195 uint64_t DstSize = DstDL.getTypeAllocSize(DstGV->getValueType()); in computeResultingSelectionKind() 196 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()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGBuilder.h | 250 CharUnits::fromQuantity(DL.getTypeAllocSize(ElTy->getElementType())); 269 CharUnits EltSize = CharUnits::fromQuantity(DL.getTypeAllocSize(ElTy)); 286 CharUnits EltSize = CharUnits::fromQuantity(DL.getTypeAllocSize(ElTy)); 300 CharUnits::fromQuantity(DL.getTypeAllocSize(Addr.getElementType()));
|
| H A D | CGVTT.cpp | 83 CGM.getDataLayout().getTypeAllocSize(getVTableComponentType()); in EmitVTTDefinition() 84 unsigned VTableSize = CGM.getDataLayout().getTypeAllocSize( in EmitVTTDefinition()
|
| H A D | SwiftCallingConv.cpp | 60 static CharUnits getTypeAllocSize(CodeGenModule &CGM, llvm::Type *type) { in getTypeAllocSize() function 61 return CharUnits::fromQuantity(CGM.getDataLayout().getTypeAllocSize(type)); in getTypeAllocSize() 600 lastEnd = entry.Begin + getTypeAllocSize(CGM, entry.Type); in getCoerceAndExpandTypes()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 484 if (DL.getTypeAllocSize(AI.getAllocatedType()).getKnownMinValue() == 0) { in visitAllocaInst() 501 DL.getTypeAllocSize(EntryAI->getAllocatedType()) in visitAllocaInst() 779 TypeSize EltSize = DL.getTypeAllocSize(ET); in unpackLoadToAggregate() 856 TypeSize TS = DL.getTypeAllocSize(AI->getAllocatedType()); in isObjectSizeLessThanOrEq() 871 uint64_t InitSize = DL.getTypeAllocSize(GV->getValueType()); in isObjectSizeLessThanOrEq() 939 uint64_t TyAllocSize = DL.getTypeAllocSize(AllocTy).getFixedValue(); in canReplaceGEPIdxWithZero() 1330 TypeSize EltSize = DL.getTypeAllocSize(AT->getElementType()); in unpackStoreToAggregate()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonTargetObjectFile.cpp | 257 unsigned Size = GVar->getDataLayout().getTypeAllocSize(GType); in isGlobalInSmallSection() 322 return DL.getTypeAllocSize(const_cast<Type*>(Ty)); in getSmallestAddressableSize()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | AMDGPUEmitPrintf.cpp | 279 int AllocSize = M->getDataLayout().getTypeAllocSize(Args[i]->getType()); in callBufferedPrintfStart() 364 if (DL.getTypeAllocSize(Ty) < 8) { in processNonStringArg() 418 M->getDataLayout().getTypeAllocSize(toStore->getType()), in callBufferedPrintfArgPush()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXAsmPrinter.cpp | 262 const unsigned TotalSize = DL.getTypeAllocSize(Ty); in printReturnValStr() 1369 << "[" << DL.getTypeAllocSize(ETy) << "]"; in emitFunctionParamList() 1381 << "[" << DL.getTypeAllocSize(Ty) << "]"; in emitFunctionParamList() 1584 int AllocSize = DL.getTypeAllocSize(CPV->getType()); in bufferLEByte() 1711 DL.getTypeAllocSize(ST) in bufferAggregateConstant() 1814 if (DL.getTypeAllocSize(Ty) == DL.getTypeAllocSize(Op->getType())) in lowerConstantForGV()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AsmPrinter.cpp | 789 uint64_t Size = DL.getTypeAllocSize(GV->getValueType()); in emitGlobalVariable() 2314 uint64_t Size = DL.getTypeAllocSize(GA.getValueType()); in emitGlobalAlias() 2435 return G.getParent()->getDataLayout().getTypeAllocSize( in globalSize() 3566 if (DL.getTypeAllocSize(Ty).getFixedValue() <= in lowerConstant() 3567 DL.getTypeAllocSize(Op->getType()).getFixedValue()) in lowerConstant() 3720 uint64_t Bytes = DL.getTypeAllocSize(CDS->getType()); in emitGlobalConstantDataSequential() 3749 unsigned Size = DL.getTypeAllocSize(CDS->getType()); in emitGlobalConstantDataSequential() 3751 DL.getTypeAllocSize(CDS->getElementType()) * CDS->getNumElements(); in emitGlobalConstantDataSequential() 3766 uint64_t Bytes = DL.getTypeAllocSize(CA->getType()); in emitGlobalConstantArray() 3772 Offset += DL.getTypeAllocSize(CA->getOperand(I)->getType()); in emitGlobalConstantArray() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | DataLayout.h | 504 TypeSize getTypeAllocSize(Type *Ty) const { in getTypeAllocSize() function 518 return 8 * getTypeAllocSize(Ty); in getTypeAllocSizeInBits()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ |
| H A D | Target.cpp | 106 return unwrap(TD)->getTypeAllocSize(unwrap(Ty)); in LLVMABISizeOfType()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/XCore/ |
| H A D | XCoreTargetObjectFile.cpp | 123 DL.getTypeAllocSize(ObjType) < CodeModelLargeSize) { in SelectSectionForGlobal()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | DataLayout.cpp | 79 StructSize += DL.getTypeAllocSize(Ty); in StructLayout() 944 return getElementIndex(getTypeAllocSize(ElemTy), Offset); in getGEPIndexForOffset() 974 Indices.push_back(getElementIndex(getTypeAllocSize(ElemTy), Offset)); in getGEPIndicesForOffset()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 105 size_t GVSize = (size_t)TD.getTypeAllocSize(ElTy); in Create() 1162 getDataLayout().getTypeAllocSize(CP->getType()->getElementType()); in InitializeMemory() 1169 memset(Addr, 0, (size_t)getDataLayout().getTypeAllocSize(Init->getType())); in InitializeMemory() 1175 getDataLayout().getTypeAllocSize(CPA->getType()->getElementType()); in InitializeMemory() 1325 size_t GVSize = (size_t)getDataLayout().getTypeAllocSize(ElTy); in emitGlobalVariable()
|