| /src/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()
|
| /src/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUMachineFunction.cpp | 130 ObjectStart + DL.getTypeAllocSize(GV.getValueType()); in allocateLDSGlobal() 146 StaticLDSSize += DL.getTypeAllocSize(GV.getValueType()); in allocateLDSGlobal() 155 StaticGDSSize += DL.getTypeAllocSize(GV.getValueType()); in allocateLDSGlobal() 204 assert(DL.getTypeAllocSize(GV.getValueType()).isZero()); in setDynLDSAlign()
|
| H A D | AMDGPUPrintfRuntimeBinding.cpp | 186 unsigned ArgSize = TD->getTypeAllocSize(ArgType); in lowerPrintfForGpu() 212 ArgSize = TD->getTypeAllocSize(ArgType); in lowerPrintfForGpu() 410 unsigned ArgSize = TD->getTypeAllocSize(TheBtCast->getType()); in lowerPrintfForGpu()
|
| H A D | AMDGPULowerModuleLDSPass.cpp | 504 DL.getTypeAllocSize(GV->getValueType()).getFixedValue()); in chooseBestVariableForModuleStrategy() 1063 Offset += DL.getTypeAllocSize(MaybeModuleScopeStruct->getValueType()); in runOnModule() 1070 Offset += DL.getTypeAllocSize(KernelStruct->getValueType()); in runOnModule() 1135 TypeSize GVSize = DL.getTypeAllocSize(GV.getValueType()); in superAlignLDSGlobals() 1182 DL.getTypeAllocSize(GV->getValueType()), in createLDSVariableReplacement()
|
| /src/contrib/llvm-project/llvm/lib/Target/Lanai/ |
| H A D | LanaiTargetObjectFile.cpp | 98 GVA->getDataLayout().getTypeAllocSize(Ty)); in isGlobalInSmallSectionImpl() 116 return isInSmallSection(DL.getTypeAllocSize(CN->getType())); in isConstantInSmallSection()
|
| /src/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsTargetObjectFile.cpp | 146 GVA->getDataLayout().getTypeAllocSize(Ty)); in IsGlobalInSmallSectionImpl() 172 LocalSData && IsInSmallSection(DL.getTypeAllocSize(CN->getType()))); in IsConstantInSmallSection()
|
| /src/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVTargetObjectFile.cpp | 102 GVA->getDataLayout().getTypeAllocSize(Ty)); in isGlobalInSmallSection() 134 return isInSmallSection(DL.getTypeAllocSize(CN->getType())); in isConstantInSmallSection()
|
| /src/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()
|
| /src/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | GlobalMerge.cpp | 259 return DL.getTypeAllocSize(GV1->getValueType()).getFixedValue() < in doMerge() 260 DL.getTypeAllocSize(GV2->getValueType()).getFixedValue(); in doMerge() 500 MergedSize += DL.getTypeAllocSize(Ty); in doMerge() 693 TypeSize AllocSize = DL.getTypeAllocSize(Ty); in run()
|
| 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() 1026 unsigned ResultSize = DL.getTypeAllocSize(GEP.getResultElementType()); in computePolynomialFromPointer() 1063 unsigned Size = DL.getTypeAllocSize(C0->VTy->getElementType()); in findPattern()
|
| /src/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGBuilder.h | 245 CharUnits::fromQuantity(DL.getTypeAllocSize(ElTy->getElementType())); 264 CharUnits EltSize = CharUnits::fromQuantity(DL.getTypeAllocSize(ElTy)); 281 CharUnits EltSize = CharUnits::fromQuantity(DL.getTypeAllocSize(ElTy)); 295 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 | 61 static CharUnits getTypeAllocSize(CodeGenModule &CGM, llvm::Type *type) { in getTypeAllocSize() function 62 return CharUnits::fromQuantity(CGM.getDataLayout().getTypeAllocSize(type)); in getTypeAllocSize() 601 lastEnd = entry.Begin + getTypeAllocSize(CGM, entry.Type); in getCoerceAndExpandTypes()
|
| /src/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()
|
| /src/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 469 if (DL.getTypeAllocSize(AI.getAllocatedType()).getKnownMinValue() == 0) { in visitAllocaInst() 486 DL.getTypeAllocSize(EntryAI->getAllocatedType()) in visitAllocaInst() 771 TypeSize EltSize = DL.getTypeAllocSize(ET); in unpackLoadToAggregate() 848 TypeSize TS = DL.getTypeAllocSize(AI->getAllocatedType()); in isObjectSizeLessThanOrEq() 863 uint64_t InitSize = DL.getTypeAllocSize(GV->getValueType()); in isObjectSizeLessThanOrEq() 931 uint64_t TyAllocSize = DL.getTypeAllocSize(AllocTy).getFixedValue(); in canReplaceGEPIdxWithZero() 1293 TypeSize EltSize = DL.getTypeAllocSize(AT->getElementType()); in unpackStoreToAggregate()
|
| /src/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64GlobalsTagging.cpp | 95 M.getDataLayout().getTypeAllocSize(Initializer->getType()); in tagGlobalDefinition()
|
| /src/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()
|
| /src/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()
|
| /src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AsmPrinter.cpp | 759 uint64_t Size = DL.getTypeAllocSize(GV->getValueType()); in emitGlobalVariable() 2171 uint64_t Size = DL.getTypeAllocSize(GA.getValueType()); in emitGlobalAlias() 3227 if (DL.getTypeAllocSize(Ty).getFixedValue() <= in lowerConstant() 3228 DL.getTypeAllocSize(Op->getType()).getFixedValue()) in lowerConstant() 3369 uint64_t Bytes = DL.getTypeAllocSize(CDS->getType()); in emitGlobalConstantDataSequential() 3398 unsigned Size = DL.getTypeAllocSize(CDS->getType()); in emitGlobalConstantDataSequential() 3400 DL.getTypeAllocSize(CDS->getElementType()) * CDS->getNumElements(); in emitGlobalConstantDataSequential() 3415 uint64_t Bytes = DL.getTypeAllocSize(CA->getType()); in emitGlobalConstantArray() 3421 Offset += DL.getTypeAllocSize(CA->getOperand(I)->getType()); in emitGlobalConstantArray() 3454 emitGlobalAliasInline(AP, DL.getTypeAllocSize(CV->getType()) * I, AliasList); in emitGlobalConstantVector() [all …]
|
| /src/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXAsmPrinter.cpp | 375 unsigned totalsz = DL.getTypeAllocSize(Ty); in printReturnValStr() 1576 O << "[" << DL.getTypeAllocSize(Ty) << "]"; in emitFunctionParamList() 1663 unsigned sz = DL.getTypeAllocSize(ETy); in emitFunctionParamList() 1838 int AllocSize = DL.getTypeAllocSize(CPV->getType()); in bufferLEByte() 1931 for (unsigned I = 0, E = DL.getTypeAllocSize(CPV->getType()); I < E; ++I) { in bufferAggregateConstant() 1962 DL.getTypeAllocSize(ST) - in bufferAggregateConstant() 2069 if (DL.getTypeAllocSize(Ty) == DL.getTypeAllocSize(Op->getType())) in lowerConstantForGV()
|
| /src/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | GetElementPtrTypeIterator.h | 161 return DL.getTypeAllocSize(ElemTy); in getSequentialElementStride()
|
| H A D | DataLayout.h | 504 TypeSize getTypeAllocSize(Type *Ty) const { in getTypeAllocSize() function 518 return 8 * getTypeAllocSize(Ty); in getTypeAllocSizeInBits()
|
| /src/contrib/llvm-project/llvm/lib/Target/ |
| H A D | Target.cpp | 106 return unwrap(TD)->getTypeAllocSize(unwrap(Ty)); in LLVMABISizeOfType()
|
| /src/contrib/llvm-project/llvm/lib/Target/XCore/ |
| H A D | XCoreTargetObjectFile.cpp | 123 DL.getTypeAllocSize(ObjType) < CodeModelLargeSize) { in SelectSectionForGlobal()
|
| /src/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 106 size_t GVSize = (size_t)TD.getTypeAllocSize(ElTy); in Create() 1166 getDataLayout().getTypeAllocSize(CP->getType()->getElementType()); in InitializeMemory() 1173 memset(Addr, 0, (size_t)getDataLayout().getTypeAllocSize(Init->getType())); in InitializeMemory() 1179 getDataLayout().getTypeAllocSize(CPA->getType()->getElementType()); in InitializeMemory() 1329 size_t GVSize = (size_t)getDataLayout().getTypeAllocSize(ElTy); in emitGlobalVariable()
|