|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
gen/lib/Target/X86/X86GenCallingConv.inc 476 State.getMachineFunction().getDataLayout().getTypeAllocSize(EVT(LocVT).getTypeForEVT(State.getContext())), 4);
989 State.getMachineFunction().getDataLayout().getTypeAllocSize(EVT(LocVT).getTypeForEVT(State.getContext())),
1609 State.getMachineFunction().getDataLayout().getTypeAllocSize(EVT(LocVT).getTypeForEVT(State.getContext())),
2061 State.getMachineFunction().getDataLayout().getTypeAllocSize(EVT(LocVT).getTypeForEVT(State.getContext())),
2524 State.getMachineFunction().getDataLayout().getTypeAllocSize(EVT(LocVT).getTypeForEVT(State.getContext())),
include/llvm/Analysis/TargetTransformInfoImpl.h 767 int64_t ElementSize = DL.getTypeAllocSize(GTI.getIndexedType());
include/llvm/Analysis/Utils/Local.h 47 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType()) & PtrSizeMask;
include/llvm/IR/DataLayout.h 500 return 8 * getTypeAllocSize(Ty);
lib/Analysis/BasicAliasAnalysis.cpp 559 (DL.getTypeAllocSize(GTI.getIndexedType()) *
567 APInt Scale(MaxPointerSize, DL.getTypeAllocSize(GTI.getIndexedType()));
lib/Analysis/ConstantFolding.cpp 380 assert(ByteOffset <= DL.getTypeAllocSize(C->getType()) &&
431 uint64_t EltSize = DL.getTypeAllocSize(CS->getOperand(Index)->getType());
462 uint64_t EltSize = DL.getTypeAllocSize(EltTy);
562 int64_t InitializerSize = DL.getTypeAllocSize(GV->getInitializer()->getType());
941 APInt ElemSize(BitWidth, DL.getTypeAllocSize(Ty));
lib/Analysis/GlobalsModRef.cpp 741 (DL.getTypeAllocSize(GVType) > 0) &&
742 (DL.getTypeAllocSize(InputGVType) > 0))
lib/Analysis/IVDescriptors.cpp 1090 int64_t Size = static_cast<int64_t>(DL.getTypeAllocSize(PointerElementType));
lib/Analysis/InlineCost.cpp 411 APInt TypeSize(IntPtrWidth, DL.getTypeAllocSize(GTI.getIndexedType()));
439 AllocSize->getLimitedValue(), DL.getTypeAllocSize(Ty).getFixedSize(),
448 AllocatedSize = SaturatingAdd(DL.getTypeAllocSize(Ty).getFixedSize(),
lib/Analysis/InstructionSimplify.cpp 4018 uint64_t TyAllocSize = Q.DL.getTypeAllocSize(Ty);
4063 if (Q.DL.getTypeAllocSize(LastType) == 1 &&
lib/Analysis/Lint.cpp 472 BaseSize = DL->getTypeAllocSize(ATy);
482 BaseSize = DL->getTypeAllocSize(GTy);
lib/Analysis/LoopAccessAnalysis.cpp 1064 int64_t Size = DL.getTypeAllocSize(PtrTy->getElementType());
1378 uint64_t DistTypeSize = DL.getTypeAllocSize(Dist.getType());
1379 uint64_t ProductTypeSize = DL.getTypeAllocSize(Product->getType());
1495 uint64_t TypeByteSize = DL.getTypeAllocSize(ATy);
1499 if (TypeByteSize == DL.getTypeAllocSize(BTy) &&
2318 uint64_t StrideTypeSize = DL.getTypeAllocSize(StrideExpr->getType());
2319 uint64_t BETypeSize = DL.getTypeAllocSize(BETakenCount->getType());
lib/Analysis/MemoryBuiltins.cpp 337 unsigned ElementSize = DL.getTypeAllocSize(T);
635 APInt Size(IntTyBits, DL.getTypeAllocSize(I.getAllocatedType()));
660 APInt Size(IntTyBits, DL.getTypeAllocSize(PT->getElementType()));
766 APInt Size(IntTyBits, DL.getTypeAllocSize(GV.getValueType()));
924 DL.getTypeAllocSize(I.getAllocatedType()));
lib/Analysis/ModuleSummaryAnalysis.cpp 518 uint64_t EltSize = DL.getTypeAllocSize(EltTy);
lib/Analysis/ScalarEvolution.cpp 3723 return getConstant(IntTy, getDataLayout().getTypeAllocSize(AllocTy));
lib/Analysis/StackSafetyAnalysis.cpp 132 uint64_t Size = DL.getTypeAllocSize(AI->getAllocatedType());
lib/Analysis/TypeMetadataUtils.cpp 151 uint64_t ElemSize = DL.getTypeAllocSize(VTableTy->getElementType());
lib/Analysis/ValueTracking.cpp 1335 uint64_t TypeSize = Q.DL.getTypeAllocSize(IndexedTy);
1876 if (Q.DL.getTypeAllocSize(GTI.getIndexedType()) == 0)
5738 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType());
lib/Analysis/VectorUtils.cpp 131 unsigned GEPAllocSize = DL.getTypeAllocSize(Gep->getResultElementType());
141 if (DL.getTypeAllocSize(GEPTI.getIndexedType()) != GEPAllocSize)
836 uint64_t Size = DL.getTypeAllocSize(PtrTy->getElementType());
lib/CodeGen/Analysis.cpp 102 uint64_t EltSize = DL.getTypeAllocSize(EltTy);
142 uint64_t EltSize = DL.getTypeAllocSize(EltTy);
lib/CodeGen/AsmPrinter/AsmPrinter.cpp 500 uint64_t Size = DL.getTypeAllocSize(GV->getValueType());
1349 uint64_t Size = DL.getTypeAllocSize(GA->getValueType());
1774 Offset = NewOffset + getDataLayout().getTypeAllocSize(Ty);
2252 if (DL.getTypeAllocSize(Ty) <= DL.getTypeAllocSize(Op->getType()))
2252 if (DL.getTypeAllocSize(Ty) <= DL.getTypeAllocSize(Op->getType()))
2380 uint64_t Bytes = DL.getTypeAllocSize(CDS->getType());
2406 unsigned Size = DL.getTypeAllocSize(CDS->getType());
2407 unsigned EmittedSize = DL.getTypeAllocSize(CDS->getType()->getElementType()) *
2422 uint64_t Bytes = DL.getTypeAllocSize(CA->getType());
2428 Offset += DL.getTypeAllocSize(CA->getOperand(i)->getType());
2438 unsigned Size = DL.getTypeAllocSize(CV->getType());
2439 unsigned EmittedSize = DL.getTypeAllocSize(CV->getType()->getElementType()) *
2449 unsigned Size = DL.getTypeAllocSize(CS->getType());
2459 uint64_t FieldSize = DL.getTypeAllocSize(Field->getType());
2514 AP.OutStreamer->EmitZeros(DL.getTypeAllocSize(ET) - DL.getTypeStoreSize(ET));
2568 uint64_t Size = AP.getDataLayout().getTypeAllocSize(CI->getType());
2671 uint64_t Size = DL.getTypeAllocSize(CV->getType());
2750 uint64_t Size = DL.getTypeAllocSize(CV->getType());
lib/CodeGen/CodeGenPrepare.cpp 1814 DL->getTypeAllocSize(AI->getAllocatedType()) >= MinSize + Offset2)
1823 DL->getTypeAllocSize(GV->getValueType()) >=
4141 uint64_t TypeSize = DL.getTypeAllocSize(GTI.getIndexedType());
lib/CodeGen/GlobalISel/CallLowering.cpp 100 Flags.setByValSize(DL.getTypeAllocSize(Ty ? Ty : ElementTy));
lib/CodeGen/GlobalISel/IRTranslator.cpp 227 unsigned ElementSize = DL->getTypeAllocSize(AI.getAllocatedType());
1071 uint64_t ElementSize = DL->getTypeAllocSize(GTI.getIndexedType());
1819 getOrCreateVReg(*ConstantInt::get(IntPtrIRTy, DL->getTypeAllocSize(Ty)));
lib/CodeGen/GlobalMerge.cpp 224 return DL.getTypeAllocSize(GV1->getValueType()) <
225 DL.getTypeAllocSize(GV2->getValueType());
468 MergedSize += DL.getTypeAllocSize(Ty);
639 if (DL.getTypeAllocSize(Ty) < MaxOffset) {
lib/CodeGen/InterleavedLoadCombinePass.cpp 694 unsigned Size = DL.getTypeAllocSize(VTy->getElementType());
746 unsigned NewSize = DL.getTypeAllocSize(Result.VTy->getElementType());
747 unsigned OldSize = DL.getTypeAllocSize(VTy->getElementType());
1021 unsigned ResultSize = DL.getTypeAllocSize(GEP.getResultElementType());
1058 unsigned Size = DL.getTypeAllocSize(C0->VTy->getElementType());
lib/CodeGen/MachineFunction.cpp 984 switch (DL->getTypeAllocSize(getType())) {
lib/CodeGen/SafeStack.cpp 220 uint64_t Size = DL.getTypeAllocSize(AI->getAllocatedType());
652 uint64_t TySize = DL.getTypeAllocSize(Ty);
lib/CodeGen/SelectionDAG/DAGCombiner.cpp20013 unsigned EltSize = (unsigned)TD.getTypeAllocSize(Elts[0]->getType());
lib/CodeGen/SelectionDAG/FastISel.cpp 712 TotalOffs += DL.getTypeAllocSize(Ty) * IdxN;
731 uint64_t ElementSize = DL.getTypeAllocSize(Ty);
1210 DL.getTypeAllocSize(Arg.ByValType ? Arg.ByValType : ElementTy);
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp 147 uint64_t TySize = MF->getDataLayout().getTypeAllocSize(Ty);
lib/CodeGen/SelectionDAG/InstrEmitter.cpp 419 Align = MF->getDataLayout().getTypeAllocSize(Type);
lib/CodeGen/SelectionDAG/SelectionDAG.cpp 1920 getConstant(getDataLayout().getTypeAllocSize(
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp 3877 APInt ElementSize(IdxSize, DL->getTypeAllocSize(GTI.getIndexedType()));
3955 uint64_t TySize = DL.getTypeAllocSize(Ty);
4370 Scale = DAG.getTargetConstant(DL.getTypeAllocSize(GEP->getResultElementType()),
7860 uint64_t TySize = DL.getTypeAllocSize(Ty);
9028 uint64_t TySize = DL.getTypeAllocSize(CLI.RetTy);
9178 unsigned FrameSize = DL.getTypeAllocSize(
9487 DL.getTypeAllocSize(AI->getAllocatedType()) ||
9684 unsigned FrameSize = DL.getTypeAllocSize(Arg.getParamByValType());
lib/CodeGen/StackProtector.cpp 129 if (SSPBufferSize <= M->getDataLayout().getTypeAllocSize(AT)) {
lib/ExecutionEngine/ExecutionEngine.cpp 109 size_t GVSize = (size_t)TD.getTypeAllocSize(ElTy);
1140 getDataLayout().getTypeAllocSize(CP->getType()->getElementType());
1147 memset(Addr, 0, (size_t)getDataLayout().getTypeAllocSize(Init->getType()));
1153 getDataLayout().getTypeAllocSize(CPA->getType()->getElementType());
1306 size_t GVSize = (size_t)getDataLayout().getTypeAllocSize(ElTy);
lib/ExecutionEngine/Interpreter/Execution.cpp 1024 unsigned TypeSize = (size_t)getDataLayout().getTypeAllocSize(Ty);
1075 Total += getDataLayout().getTypeAllocSize(I.getIndexedType()) * Idx;
lib/IR/DataLayout.cpp 67 StructSize += DL.getTypeAllocSize(Ty); // Consume space for this data item
561 getTypeAllocSize(cast<VectorType>(Ty)->getElementType());
827 Result += arrayIdx * getTypeAllocSize(GTI.getIndexedType());
lib/IR/Mangler.cpp 105 ArgWords += alignTo(DL.getTypeAllocSize(Ty), PtrSize);
lib/IR/Operator.cpp 59 DL.getTypeAllocSize(GTI.getIndexedType()));
lib/LTO/LTO.cpp 962 if (OldGV && DL.getTypeAllocSize(OldGV->getValueType()) == I.second.Size) {
lib/Linker/LinkModules.cpp 194 uint64_t DstSize = DstDL.getTypeAllocSize(DstGV->getValueType());
195 uint64_t SrcSize = SrcDL.getTypeAllocSize(SrcGV->getValueType());
295 uint64_t DestSize = DL.getTypeAllocSize(Dest.getValueType());
296 uint64_t SrcSize = DL.getTypeAllocSize(Src.getValueType());
lib/Object/IRSymtab.cpp 267 Uncommon().CommonSize = GV->getParent()->getDataLayout().getTypeAllocSize(
lib/Target/AArch64/AArch64FastISel.cpp 439 Align = DL.getTypeAllocSize(CFP->getType());
636 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType());
5040 DL.getTypeAllocSize(Ty) * cast<ConstantInt>(CI)->getSExtValue();
5052 uint64_t ElementSize = DL.getTypeAllocSize(Ty);
lib/Target/AArch64/AArch64ISelLowering.cpp 5467 unsigned ArgSize = DAG.getDataLayout().getTypeAllocSize(ArgTy);
11706 Offset > GV->getParent()->getDataLayout().getTypeAllocSize(T))
lib/Target/AArch64/AArch64InstructionSelector.cpp 3070 Align = MF.getDataLayout().getTypeAllocSize(CPTy);
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp 310 uint64_t Size = DL.getTypeAllocSize(GV->getValueType());
lib/Target/AMDGPU/AMDGPUCallLowering.cpp 462 unsigned AllocSize = DL.getTypeAllocSize(ArgTy);
lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp 372 Arg.mSize = DL.getTypeAllocSize(Ty);
793 auto Size = DL.getTypeAllocSize(Ty);
lib/Target/AMDGPU/AMDGPUISelLowering.cpp 928 unsigned AllocSize = DL.getTypeAllocSize(BaseArgTy);
lib/Target/AMDGPU/AMDGPUInline.cpp 142 AllocaSize += DL.getTypeAllocSize(AI->getAllocatedType());
lib/Target/AMDGPU/AMDGPULibCalls.cpp 1423 UCallee->getParent()->getDataLayout().getTypeAllocSize(RetType)));
lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp 99 unsigned AllocSize = DL.getTypeAllocSize(ArgTy);
lib/Target/AMDGPU/AMDGPUMachineFunction.cpp 60 LDSSize += DL.getTypeAllocSize(GV.getValueType());
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp 668 uint64_t AllocSize = DL.getTypeAllocSize(GV.getValueType());
773 uint32_t AllocSize = WorkGroupSize * DL.getTypeAllocSize(AllocaTy);
lib/Target/AMDGPU/AMDGPURewriteOutArguments.cpp 171 if (DL->getTypeAllocSize(SrcEltTy) != DL->getTypeAllocSize(DestEltTy))
171 if (DL->getTypeAllocSize(SrcEltTy) != DL->getTypeAllocSize(DestEltTy))
lib/Target/AMDGPU/AMDGPUSubtarget.cpp 507 uint64_t AllocSize = DL.getTypeAllocSize(ArgTy);
lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp 160 unsigned AllocaSize = Ty->isSized() ? DL.getTypeAllocSize(Ty) : 0;
lib/Target/ARM/ARMAsmPrinter.cpp 80 uint64_t Size = getDataLayout().getTypeAllocSize(CV->getType());
861 int Size = DL.getTypeAllocSize(MCPV->getType());
lib/Target/ARM/ARMConstantIslandPass.cpp 520 unsigned Size = TD.getTypeAllocSize(CPs[i].getType());
lib/Target/ARM/ARMFastISel.cpp 450 Align = DL.getTypeAllocSize(CFP->getType());
514 Align = DL.getTypeAllocSize(C->getType());
576 Align = DL.getTypeAllocSize(GV->getType());
768 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType());
lib/Target/ARM/ARMISelLowering.cpp 3359 unsigned Size = DAG.getDataLayout().getTypeAllocSize(Init->getType());
8748 const uint64_t ByteSize = DL.getTypeAllocSize(RetTy);
9648 Align = MF->getDataLayout().getTypeAllocSize(C->getType());
9749 Align = MF->getDataLayout().getTypeAllocSize(C->getType());
10151 Align = MF->getDataLayout().getTypeAllocSize(C->getType());
lib/Target/AVR/AVRISelLowering.cpp 997 TD->getTypeAllocSize(EVT(LocVT).getTypeForEVT(CCInfo.getContext())),
lib/Target/BPF/BPFISelDAGToDAG.cpp 360 total_size = DL.getTypeAllocSize(CA->getType()->getElementType()) *
393 uint64_t Size = DL.getTypeAllocSize(CV->getType());
434 Offset += DL.getTypeAllocSize(CDA->getElementAsConstant(i)->getType());
446 Offset += DL.getTypeAllocSize(CA->getOperand(i)->getType());
lib/Target/BPF/BTFDebug.cpp 1116 uint32_t Size = DL.getTypeAllocSize(Global.getType()->getElementType());
lib/Target/Hexagon/HexagonTargetObjectFile.cpp 258 unsigned Size = GVar->getParent()->getDataLayout().getTypeAllocSize(GType);
322 return DL.getTypeAllocSize(const_cast<Type*>(Ty));
lib/Target/Lanai/LanaiTargetObjectFile.cpp 99 GVA->getParent()->getDataLayout().getTypeAllocSize(Ty));
117 return isInSmallSection(DL.getTypeAllocSize(CN->getType()));
lib/Target/Mips/MipsConstantIslandPass.cpp 555 unsigned Size = TD.getTypeAllocSize(CPs[i].getType());
lib/Target/Mips/MipsFastISel.cpp 500 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType());
lib/Target/Mips/MipsISelLowering.cpp 2180 TD.getTypeAllocSize(VT.getTypeForEVT(*DAG.getContext()));
lib/Target/Mips/MipsTargetObjectFile.cpp 147 GVA->getParent()->getDataLayout().getTypeAllocSize(Ty));
173 LocalSData && IsInSmallSection(DL.getTypeAllocSize(CN->getType())));
lib/Target/NVPTX/NVPTXAsmPrinter.cpp 365 unsigned totalsz = DL.getTypeAllocSize(Ty);
1479 unsigned sz = DL.getTypeAllocSize(Ty);
1576 unsigned sz = DL.getTypeAllocSize(ETy);
1791 int s = DL.getTypeAllocSize(CPV->getType());
1889 unsigned int s = DL.getTypeAllocSize(CPV->getType());
1898 int ElementSize = DL.getTypeAllocSize(CPV->getType());
1922 for (unsigned I = 0, E = DL.getTypeAllocSize(CPV->getType()); I < E; ++I) {
1953 DL.getTypeAllocSize(ST) -
2077 if (DL.getTypeAllocSize(Ty) == DL.getTypeAllocSize(Op->getType()))
2077 if (DL.getTypeAllocSize(Ty) == DL.getTypeAllocSize(Op->getType()))
lib/Target/NVPTX/NVPTXISelLowering.cpp 1297 << DL.getTypeAllocSize(retTy) << "]";
1322 unsigned sz = DL.getTypeAllocSize(Ty);
1361 unsigned sz = DL.getTypeAllocSize(ETy);
1469 unsigned AllocSize = DL.getTypeAllocSize(Ty);
lib/Target/PowerPC/PPCAsmPrinter.cpp 1771 uint64_t Size = DL.getTypeAllocSize(GV->getType()->getElementType());
lib/Target/PowerPC/PPCFastISel.cpp 358 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType());
lib/Target/RISCV/RISCVISelLowering.cpp 1509 DL.getTypeAllocSize(OrigTy) == TwoXLenInBytes) {
lib/Target/RISCV/RISCVTargetObjectFile.cpp 72 GVA->getParent()->getDataLayout().getTypeAllocSize(Ty));
103 return isInSmallSection(DL.getTypeAllocSize(CN->getType()));
lib/Target/Sparc/SparcISelLowering.cpp 832 SRetArgSize = DAG.getDataLayout().getTypeAllocSize(ElementTy);
lib/Target/SystemZ/SystemZAsmPrinter.cpp 677 uint64_t Size = getDataLayout().getTypeAllocSize(ZCPV->getType());
lib/Target/Target.cpp 110 return unwrap(TD)->getTypeAllocSize(unwrap(Ty));
lib/Target/TargetLoweringObjectFile.cpp 213 GVar->getParent()->getDataLayout().getTypeAllocSize(C->getType())) {
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp 138 uint16_t Size = M.getDataLayout().getTypeAllocSize(G.getValueType());
lib/Target/WebAssembly/WebAssemblyFastISel.cpp 278 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType());
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp 752 unsigned Offset = CCInfo.AllocateStack(Layout.getTypeAllocSize(Ty),
lib/Target/X86/X86FastISel.cpp 919 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType());
3774 Align = DL.getTypeAllocSize(CFP->getType());
3933 unsigned Size = DL.getTypeAllocSize(LI->getType());
lib/Target/X86/X86ISelLowering.cpp 2206 if (MF->getDataLayout().getTypeAllocSize(T) <= 8) {
2208 if (MF->getDataLayout().getTypeAllocSize(T) > 4)
22350 uint32_t ArgSize = DAG.getDataLayout().getTypeAllocSize(ArgTy);
lib/Target/XCore/XCoreAsmPrinter.cpp 151 unsigned Size = DL.getTypeAllocSize(C->getType());
lib/Target/XCore/XCoreISelLowering.cpp 273 unsigned ObjSize = DL.getTypeAllocSize(ObjType);
1890 unsigned Size = DL.getTypeAllocSize(Ty);
lib/Target/XCore/XCoreTargetObjectFile.cpp 123 DL.getTypeAllocSize(ObjType) < CodeModelLargeSize) {
lib/Transforms/Coroutines/CoroFrame.cpp 356 StructSize += DL.getTypeAllocSize(Ty); // Consume space for this data item.
479 = (Layout.getTypeAllocSize(FrameTy) <= Id->getStorageSize() &&
lib/Transforms/Coroutines/CoroSplit.cpp 798 auto Size = DL.getTypeAllocSize(Shape.FrameTy);
1210 auto Size = DL.getTypeAllocSize(Shape.FrameTy);
lib/Transforms/IPO/GlobalOpt.cpp 515 uint64_t EltSize = DL.getTypeAllocSize(ElTy);
1310 unsigned TypeSize = DL.getTypeAllocSize(FieldTy);
1509 if (NElements->getZExtValue() * DL.getTypeAllocSize(AllocTy) < 2048) {
lib/Transforms/IPO/LowerTypeTests.cpp 843 uint64_t InitSize = DL.getTypeAllocSize(GV->getValueType());
lib/Transforms/IPO/WholeProgramDevirt.cpp 795 M.getDataLayout().getTypeAllocSize(GV.getInitializer()->getType());
lib/Transforms/InstCombine/InstCombineCalls.cpp 4117 if (DL.getTypeAllocSize(SrcTy) != DL.getTypeAllocSize(DstTy))
4117 if (DL.getTypeAllocSize(SrcTy) != DL.getTypeAllocSize(DstTy))
4513 if (DL.getTypeAllocSize(CurElTy) !=
4514 DL.getTypeAllocSize(ParamPTy->getElementType()))
lib/Transforms/InstCombine/InstCombineCasts.cpp 104 uint64_t AllocElTySize = DL.getTypeAllocSize(AllocElTy);
105 uint64_t CastElTySize = DL.getTypeAllocSize(CastElTy);
lib/Transforms/InstCombine/InstCombineCompares.cpp 445 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType());
461 uint64_t VariableScale = DL.getTypeAllocSize(GTI.getIndexedType());
475 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType());
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp 354 if (DL.getTypeAllocSize(AI.getAllocatedType()) == 0) {
372 DL.getTypeAllocSize(EntryAI->getAllocatedType()) != 0) {
717 auto EltSize = DL.getTypeAllocSize(ET);
798 uint64_t TypeSize = DL.getTypeAllocSize(AI->getAllocatedType());
810 uint64_t InitSize = DL.getTypeAllocSize(GV->getValueType());
872 uint64_t TyAllocSize = DL.getTypeAllocSize(AllocTy);
1244 auto EltSize = DL.getTypeAllocSize(AT->getElementType());
lib/Transforms/InstCombine/InstructionCombining.cpp 1103 if (int64_t TySize = DL.getTypeAllocSize(Ty)) {
1136 uint64_t EltSize = DL.getTypeAllocSize(AT->getElementType());
1669 if (EltTy->isSized() && DL.getTypeAllocSize(EltTy) == 0)
1917 uint64_t TyAllocSize = DL.getTypeAllocSize(GEPEltType);
2036 DL.getTypeAllocSize(StrippedPtrEltTy->getArrayElementType()) ==
2037 DL.getTypeAllocSize(GEPEltType)) {
2058 uint64_t ResSize = DL.getTypeAllocSize(GEPEltType);
2059 uint64_t SrcSize = DL.getTypeAllocSize(StrippedPtrEltTy);
2098 uint64_t ResSize = DL.getTypeAllocSize(GEPEltType);
2100 DL.getTypeAllocSize(StrippedPtrEltTy->getArrayElementType());
2245 APInt AllocSize(IdxWidth, DL.getTypeAllocSize(AI->getAllocatedType()));
lib/Transforms/Instrumentation/AddressSanitizer.cpp 608 AI.getModule()->getDataLayout().getTypeAllocSize(Ty);
2054 unsigned SizeOfGlobalStruct = DL.getTypeAllocSize(Initializer->getType());
2269 uint64_t SizeInBytes = DL.getTypeAllocSize(Ty);
2912 uint64_t AllocSize = DL.getTypeAllocSize(Ty);
3275 F.getParent()->getDataLayout().getTypeAllocSize(AI->getAllocatedType());
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp 770 uint64_t SizeInBytes = AI.getModule()->getDataLayout().getTypeAllocSize(Ty);
1250 M.getDataLayout().getTypeAllocSize(Initializer->getType());
lib/Transforms/Instrumentation/MemorySanitizer.cpp 1613 ? DL.getTypeAllocSize(FArg.getType()->getPointerElementType())
1614 : DL.getTypeAllocSize(FArg.getType());
3316 Size = DL.getTypeAllocSize(A->getType()->getPointerElementType());
3329 Size = DL.getTypeAllocSize(A->getType());
3486 uint64_t TypeSize = DL.getTypeAllocSize(I.getAllocatedType());
3807 uint64_t ArgSize = DL.getTypeAllocSize(RealTy);
3853 uint64_t ArgSize = DL.getTypeAllocSize(A->getType());
4026 uint64_t ArgSize = DL.getTypeAllocSize(A->getType());
4197 uint64_t ArgSize = DL.getTypeAllocSize(A->getType());
4421 uint64_t ArgSize = DL.getTypeAllocSize(RealTy);
4442 uint64_t ArgSize = DL.getTypeAllocSize(A->getType());
4449 ArgAlign = DL.getTypeAllocSize(ElementTy);
4452 ArgAlign = DL.getTypeAllocSize(A->getType());
lib/Transforms/Scalar/LoopLoadElimination.cpp 117 unsigned TypeByteSize = DL.getTypeAllocSize(const_cast<Type *>(LoadType));
lib/Transforms/Scalar/MemCpyOptimizer.cpp 758 uint64_t srcSize = DL.getTypeAllocSize(srcAlloca->getAllocatedType()) *
773 uint64_t destSize = DL.getTypeAllocSize(A->getAllocatedType()) *
797 uint64_t destSize = DL.getTypeAllocSize(StructTy);
1263 uint64_t ByValSize = DL.getTypeAllocSize(ByValTy);
lib/Transforms/Scalar/NaryReassociate.cpp 401 uint64_t IndexedSize = DL->getTypeAllocSize(IndexedType);
403 uint64_t ElementSize = DL->getTypeAllocSize(ElementType);
lib/Transforms/Scalar/SROA.cpp 665 AllocSize(DL.getTypeAllocSize(AI.getAllocatedType())), AS(AS) {}
755 DL.getTypeAllocSize(GTI.getIndexedType()));
1498 APInt ElementSize(Offset.getBitWidth(), DL.getTypeAllocSize(ElementTy));
1520 if (Offset.uge(DL.getTypeAllocSize(ElementTy)))
1552 APInt ElementSize(Offset.getBitWidth(), DL.getTypeAllocSize(ElementTy));
3471 uint64_t AllocSize = DL.getTypeAllocSize(Ty);
3485 if (AllocSize > DL.getTypeAllocSize(InnerTy) ||
3507 if (Offset == 0 && DL.getTypeAllocSize(Ty) == Size)
3509 if (Offset > DL.getTypeAllocSize(Ty) ||
3510 (DL.getTypeAllocSize(Ty) - Offset) < Size)
3515 uint64_t ElementSize = DL.getTypeAllocSize(ElementTy);
3555 uint64_t ElementSize = DL.getTypeAllocSize(ElementTy);
4121 if (DL.getTypeAllocSize(CommonUseTy) >= P.size())
4133 assert(DL.getTypeAllocSize(SliceTy) >= P.size());
4274 uint64_t AllocaSize = DL.getTypeAllocSize(AI.getAllocatedType());
4447 DL.getTypeAllocSize(AI.getAllocatedType()) == 0)
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp 797 ConstantOffset * DL->getTypeAllocSize(GTI.getIndexedType());
843 DL->getTypeAllocSize(GTI.getIndexedType()));
904 DL->getTypeAllocSize(GTI.getIndexedType()));
1067 DL->getTypeAllocSize(GEP->getResultElementType()));
lib/Transforms/Scalar/StraightLineStrengthReduce.cpp 539 uint64_t ElementSize = DL->getTypeAllocSize(GTI.getIndexedType());
583 DL->getTypeAllocSize(
lib/Transforms/Utils/InlineFunction.cpp 1975 uint64_t AllocaTypeSize = DL.getTypeAllocSize(AllocaType);
lib/Transforms/Vectorize/LoadStoreVectorizer.cpp 429 uint64_t Stride = DL.getTypeAllocSize(GTIA.getIndexedType());
lib/Transforms/Vectorize/LoopVectorize.cpp 323 return VF * DL.getTypeAllocSize(Ty) != DL.getTypeStoreSize(VectorTy);
lib/Transforms/Vectorize/SLPVectorizer.cpp 2449 uint64_t Size = DL->getTypeAllocSize(ScalarTy);
tools/clang/lib/CodeGen/CGBlocks.cpp 480 Offset += CGM.getDataLayout().getTypeAllocSize(I);
1021 CGM.getDataLayout().getTypeAllocSize(I.first->getType())),
tools/clang/lib/CodeGen/CGBuilder.h 203 CharUnits::fromQuantity(DL.getTypeAllocSize(ElTy->getElementType()));
220 CharUnits EltSize = CharUnits::fromQuantity(DL.getTypeAllocSize(ElTy));
236 CharUnits::fromQuantity(DL.getTypeAllocSize(Addr.getElementType()));
tools/clang/lib/CodeGen/CGBuiltin.cpp 3796 CGM.getDataLayout().getTypeAllocSize(Tmp.getElementType()), TmpPtr);
tools/clang/lib/CodeGen/CGCUDANV.cpp 450 CGM.getDataLayout().getTypeAllocSize(Var->getValueType());
tools/clang/lib/CodeGen/CGCall.cpp 1225 uint64_t DstSize = CGF.CGM.getDataLayout().getTypeAllocSize(Ty);
1232 uint64_t SrcSize = CGF.CGM.getDataLayout().getTypeAllocSize(SrcTy);
1301 uint64_t SrcSize = CGF.CGM.getDataLayout().getTypeAllocSize(SrcTy);
1317 uint64_t DstSize = CGF.CGM.getDataLayout().getTypeAllocSize(DstTy);
2467 uint64_t SrcSize = CGM.getDataLayout().getTypeAllocSize(STy);
2469 uint64_t DstSize = CGM.getDataLayout().getTypeAllocSize(DstTy);
3865 CGM.getDataLayout().getTypeAllocSize(ConvertTypeForMem(RetTy));
4005 CGM.getDataLayout().getTypeAllocSize(AI.getElementType());
4098 uint64_t SrcSize = CGM.getDataLayout().getTypeAllocSize(SrcTy);
4099 uint64_t DstSize = CGM.getDataLayout().getTypeAllocSize(STy);
4148 auto scalarSize = CGM.getDataLayout().getTypeAllocSize(scalarType);
tools/clang/lib/CodeGen/CGDecl.cpp 1026 SizeSoFar = CurOff + DL.getTypeAllocSize(CurOp->getType());
1145 uint64_t ConstantSize = CGM.getDataLayout().getTypeAllocSize(Ty);
1513 uint64_t size = CGM.getDataLayout().getTypeAllocSize(allocaTy);
tools/clang/lib/CodeGen/CGDeclCXX.cpp 700 CGM.getDataLayout().getTypeAllocSize(GuardVal->getType())));
tools/clang/lib/CodeGen/CGExpr.cpp 506 CGM.getDataLayout().getTypeAllocSize(Alloca.getElementType()),
537 CGM.getDataLayout().getTypeAllocSize(Alloca.getElementType()),
tools/clang/lib/CodeGen/CGExprAgg.cpp 273 CGF.CGM.getDataLayout().getTypeAllocSize(CGF.ConvertTypeForMem(RetTy));
tools/clang/lib/CodeGen/CGExprConstant.cpp 52 return CharUnits::fromQuantity(CGM.getDataLayout().getTypeAllocSize(Ty));
1053 unsigned CurSize = CGM.getDataLayout().getTypeAllocSize(C->getType());
1054 unsigned TotalSize = CGM.getDataLayout().getTypeAllocSize(destTy);
tools/clang/lib/CodeGen/CGExprScalar.cpp 4635 IntPtrTy, DL.getTypeAllocSize(GTI.getIndexedType()));
tools/clang/lib/CodeGen/CGObjCMac.cpp 3152 CGM.getDataLayout().getTypeAllocSize(ObjCTypes.ProtocolExtensionTy);
3292 CGM.getDataLayout().getTypeAllocSize(ObjCTypes.PropertyTy);
3351 unsigned Size = CGM.getDataLayout().getTypeAllocSize(ObjCTypes.CategoryTy);
3624 unsigned Size = CGM.getDataLayout().getTypeAllocSize(ObjCTypes.ClassTy);
3756 CGM.getDataLayout().getTypeAllocSize(ObjCTypes.ClassExtensionTy);
4806 unsigned Size = CGM.getDataLayout().getTypeAllocSize(SrcTy);
4827 unsigned Size = CGM.getDataLayout().getTypeAllocSize(SrcTy);
4853 unsigned Size = CGM.getDataLayout().getTypeAllocSize(SrcTy);
4872 unsigned Size = CGM.getDataLayout().getTypeAllocSize(SrcTy);
5031 uint64_t Size = CGM.getDataLayout().getTypeAllocSize(ObjCTypes.ModuleTy);
6395 CGM.getDataLayout().getTypeAllocSize(ObjCTypes.ClassnfABITy);
6601 unsigned Size = CGM.getDataLayout().getTypeAllocSize(ObjCTypes.CategorynfABITy);
6705 unsigned Size = CGM.getDataLayout().getTypeAllocSize(ObjCTypes.MethodTy);
6809 CGM.getDataLayout().getTypeAllocSize(ObjCTypes.IvarnfABITy));
6831 unsigned Size = CGM.getDataLayout().getTypeAllocSize(FieldTy);
6941 CGM.getDataLayout().getTypeAllocSize(ObjCTypes.ProtocolnfABITy);
7518 unsigned Size = CGM.getDataLayout().getTypeAllocSize(SrcTy);
7538 unsigned Size = CGM.getDataLayout().getTypeAllocSize(SrcTy);
7584 unsigned Size = CGM.getDataLayout().getTypeAllocSize(SrcTy);
7605 unsigned Size = CGM.getDataLayout().getTypeAllocSize(SrcTy);
tools/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp 149 return CharUnits::fromQuantity(DataLayout.getTypeAllocSize(Type));
703 CharUnits::fromQuantity(Types.getDataLayout().getTypeAllocSize(Ty));
tools/clang/lib/CodeGen/SwiftCallingConv.cpp 60 return CharUnits::fromQuantity(CGM.getDataLayout().getTypeAllocSize(type));
tools/clang/lib/CodeGen/TargetInfo.cpp 3135 unsigned EltSize = TD.getTypeAllocSize(EltTy);
3224 unsigned EltSize = getDataLayout().getTypeAllocSize(EltTy);
3256 unsigned LoSize = (unsigned)TD.getTypeAllocSize(Lo);
8382 auto AllocSize = getDataLayout().getTypeAllocSize(AI.getCoerceToType());
8742 getDataLayout().getTypeAllocSize(AI.getCoerceToType()));
tools/lldb/source/Expression/IRInterpreter.cpp 381 return Malloc(m_target_data.getTypeAllocSize(type),
tools/polly/lib/Analysis/ScopBuilder.cpp 1621 DL.getTypeAllocSize(SrcTy->getPointerElementType()) ==
1622 DL.getTypeAllocSize(DstTy->getPointerElementType()))
1680 unsigned ElementSize = DL.getTypeAllocSize(ElementType);
tools/polly/lib/Analysis/ScopInfo.cpp 357 return DL.getTypeAllocSize(ElementType);
477 unsigned ElemBytes = DL.getTypeAllocSize(getElementType());
tools/polly/lib/Transform/DeLICM.cpp 1052 DL.getTypeAllocSize(TargetStoreMA->getAccessValue()->getType());
1068 auto MASize = DL.getTypeAllocSize(MA->getAccessValue()->getType());
tools/polly/lib/Transform/ScheduleOptimizer.cpp 864 auto ElementSizeA = DL.getTypeAllocSize(MMI.A->getElementType());
865 auto ElementSizeB = DL.getTypeAllocSize(MMI.B->getElementType());
866 auto ElementSizeC = DL.getTypeAllocSize(MMI.WriteToC->getElementType());
unittests/IR/VectorTypesTest.cpp 205 EXPECT_EQ(DL.getTypeAllocSize(V4Int32Ty),
206 DL.getTypeAllocSize(V2Int64Ty));
210 EXPECT_EQ(DL.getTypeAllocSize(V2Int32Ty), 8U);
249 EXPECT_EQ(DL.getTypeAllocSize(ScV4Int32Ty),
250 DL.getTypeAllocSize(ScV2Int64Ty));
254 EXPECT_EQ(DL.getTypeAllocSize(ScV2Int32Ty).getKnownMinSize(), 8U);