/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()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUMachineFunction.cpp | 131 ObjectStart + DL.getTypeAllocSize(GV.getValueType()); in allocateLDSGlobal() 147 StaticLDSSize += DL.getTypeAllocSize(GV.getValueType()); in allocateLDSGlobal() 156 StaticGDSSize += DL.getTypeAllocSize(GV.getValueType()); in allocateLDSGlobal() 205 assert(DL.getTypeAllocSize(GV.getValueType()).isZero()); in setDynLDSAlign()
|
H A D | AMDGPUPrintfRuntimeBinding.cpp | 185 unsigned ArgSize = TD->getTypeAllocSize(ArgType); in lowerPrintfForGpu() 211 ArgSize = TD->getTypeAllocSize(ArgType); in lowerPrintfForGpu() 407 unsigned ArgSize = TD->getTypeAllocSize(TheBtCast->getType()); in lowerPrintfForGpu()
|
H A D | AMDGPULowerModuleLDSPass.cpp | 669 DL.getTypeAllocSize(GV->getValueType()).getFixedValue()); in chooseBestVariableForModuleStrategy() 1273 Offset += DL.getTypeAllocSize(MaybeModuleScopeStruct->getValueType()); in runOnModule() 1280 Offset += DL.getTypeAllocSize(KernelStruct->getValueType()); in runOnModule() 1345 TypeSize GVSize = DL.getTypeAllocSize(GV.getValueType()); in superAlignLDSGlobals() 1392 DL.getTypeAllocSize(GV->getValueType()), in createLDSVariableReplacement()
|
/freebsd/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/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVTargetObjectFile.cpp | 91 GVA->getParent()->getDataLayout().getTypeAllocSize(Ty)); in isGlobalInSmallSection() 123 return isInSmallSection(DL.getTypeAllocSize(CN->getType())); in isConstantInSmallSection()
|
/freebsd/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/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGBuilder.h | 198 CharUnits::fromQuantity(DL.getTypeAllocSize(ElTy->getElementType())); 217 CharUnits EltSize = CharUnits::fromQuantity(DL.getTypeAllocSize(ElTy)); 234 CharUnits::fromQuantity(DL.getTypeAllocSize(Addr.getElementType())); 250 CharUnits::fromQuantity(DL.getTypeAllocSize(Addr.getElementType()));
|
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()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFISelDAGToDAG.cpp | 351 total_size = DL.getTypeAllocSize(CA->getType()->getElementType()) * in getConstantFieldValue() 384 uint64_t Size = DL.getTypeAllocSize(CV->getType()); in fillGenericConstant() 425 Offset += DL.getTypeAllocSize(CDA->getElementAsConstant(i)->getType()); in fillConstantDataArray() 437 Offset += DL.getTypeAllocSize(CA->getOperand(i)->getType()); in fillConstantArray()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | GlobalMerge.cpp | 239 return DL.getTypeAllocSize(GV1->getValueType()).getFixedValue() < in doMerge() 240 DL.getTypeAllocSize(GV2->getValueType()).getFixedValue(); in doMerge() 481 MergedSize += DL.getTypeAllocSize(Ty); in doMerge() 674 if (DL.getTypeAllocSize(Ty) < Opt.MaxOffset) { 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()
|
H A D | StackProtector.cpp | 226 if (SSPBufferSize <= M->getDataLayout().getTypeAllocSize(AT)) { in ContainsProtectableArray() 473 AI, M->getDataLayout().getTypeAllocSize(AI->getAllocatedType()), in requiresStackProtector()
|
/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/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineLoadStoreAlloca.cpp | 470 if (DL.getTypeAllocSize(AI.getAllocatedType()).getKnownMinValue() == 0) { in visitAllocaInst() 487 DL.getTypeAllocSize(EntryAI->getAllocatedType()) in visitAllocaInst() 772 TypeSize EltSize = DL.getTypeAllocSize(ET); in unpackLoadToAggregate() 849 TypeSize TS = DL.getTypeAllocSize(AI->getAllocatedType()); in isObjectSizeLessThanOrEq() 864 uint64_t InitSize = DL.getTypeAllocSize(GV->getValueType()); in isObjectSizeLessThanOrEq() 932 uint64_t TyAllocSize = DL.getTypeAllocSize(AllocTy).getFixedValue(); in canReplaceGEPIdxWithZero() 1294 TypeSize EltSize = DL.getTypeAllocSize(AT->getElementType()); in unpackStoreToAggregate()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64GlobalsTagging.cpp | 95 M.getDataLayout().getTypeAllocSize(Initializer->getType()); in tagGlobalDefinition()
|
/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() 420 M->getDataLayout().getTypeAllocSize(toStore->getType()), in callBufferedPrintfArgPush()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/ |
H A D | AMDGPUMemoryUtils.cpp | 43 uint64_t AllocSize = DL.getTypeAllocSize(GV.getValueType()); in isDynamicLDS()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | AsmPrinter.cpp | 780 uint64_t Size = DL.getTypeAllocSize(GV->getValueType()); in emitGlobalVariable() 2166 uint64_t Size = DL.getTypeAllocSize(GA.getValueType()); in emitGlobalAlias() 3216 if (DL.getTypeAllocSize(Ty).getFixedValue() <= in lowerConstant() 3217 DL.getTypeAllocSize(Op->getType()).getFixedValue()) in lowerConstant() 3358 uint64_t Bytes = DL.getTypeAllocSize(CDS->getType()); in emitGlobalConstantDataSequential() 3387 unsigned Size = DL.getTypeAllocSize(CDS->getType()); in emitGlobalConstantDataSequential() 3404 uint64_t Bytes = DL.getTypeAllocSize(CA->getType()); in emitGlobalConstantArray() 3450 unsigned Size = DL.getTypeAllocSize(CV->getType()); in emitGlobalConstantVector() 3460 unsigned Size = DL.getTypeAllocSize(CS->getType()); in emitGlobalConstantStruct() 3683 uint64_t Size = DL.getTypeAllocSize(CV->getType()); in emitGlobalConstantImpl() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonTargetObjectFile.cpp | 257 unsigned Size = GVar->getParent()->getDataLayout().getTypeAllocSize(GType); in isGlobalInSmallSection() 322 return DL.getTypeAllocSize(const_cast<Type*>(Ty)); in getSmallestAddressableSize()
|
/freebsd/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()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXAsmPrinter.cpp | 371 unsigned totalsz = DL.getTypeAllocSize(Ty); in printReturnValStr() 1565 O << "[" << DL.getTypeAllocSize(Ty) << "]"; in emitFunctionParamList() 1652 unsigned sz = DL.getTypeAllocSize(ETy); in emitFunctionParamList() 1827 int AllocSize = DL.getTypeAllocSize(CPV->getType()); in bufferLEByte() 1912 for (unsigned I = 0, E = DL.getTypeAllocSize(CPV->getType()); I < E; ++I) { in bufferAggregateConstant() 1943 DL.getTypeAllocSize(ST) - in bufferAggregateConstant() 2050 if (DL.getTypeAllocSize(Ty) == DL.getTypeAllocSize(Op->getType())) in lowerConstantForGV()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ |
H A D | Target.cpp | 105 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()
|