reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/CodeGen/CGAtomic.cpp
  317   return (CGM.getDataLayout().getTypeStoreSize(type) * 8 == expectedSize);
 1340   uint64_t SourceSizeInBits = CGF.CGM.getDataLayout().getTypeSizeInBits(Ty);
tools/clang/lib/CodeGen/CGBlocks.cpp
  476         unsigned Align = CGM.getDataLayout().getABITypeAlignment(I);
  480         Offset += CGM.getDataLayout().getTypeAllocSize(I);
 1021                 CGM.getDataLayout().getTypeAllocSize(I.first->getType())),
 2797   } else if (CGM.getDataLayout().getABITypeAlignment(varTy)
tools/clang/lib/CodeGen/CGBuiltin.cpp
 1266         CGM.getDataLayout().getTypeSizeInBits(ArgVal->getType());
 3796           CGM.getDataLayout().getTypeAllocSize(Tmp.getElementType()), TmpPtr);
 3809             V, GEP, CGM.getDataLayout().getPrefTypeAlignment(SizeTy));
 6202           getLLVMContext(), CGM.getDataLayout().getTypeSizeInBits(RealResTy));
 6245           CGM.getDataLayout().getTypeSizeInBits(StoreVal->getType()));
 7193         getLLVMContext(), CGM.getDataLayout().getTypeSizeInBits(RealResTy));
 7234           CGM.getDataLayout().getTypeSizeInBits(StoreVal->getType()));
tools/clang/lib/CodeGen/CGCUDANV.cpp
  450         CGM.getDataLayout().getTypeAllocSize(Var->getValueType());
tools/clang/lib/CodeGen/CGCall.cpp
 1116   auto PrefAlign = CGF.CGM.getDataLayout().getPrefTypeAlignment(Ty);
 1140     CGF.CGM.getDataLayout().getTypeStoreSize(FirstElt);
 1142       FirstEltSize < CGF.CGM.getDataLayout().getTypeStoreSize(SrcSTy))
 1183     const llvm::DataLayout &DL = CGF.CGM.getDataLayout();
 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);
 1625           CGM.getDataLayout().getAllocaAddrSpace());
 2467         uint64_t SrcSize = CGM.getDataLayout().getTypeAllocSize(STy);
 2469         uint64_t DstSize = CGM.getDataLayout().getTypeAllocSize(DstTy);
 3124                                               CGF.CGM.getDataLayout());
 3264                                               CGF.CGM.getDataLayout());
 3833     const llvm::DataLayout &DL = CGM.getDataLayout();
 3865             CGM.getDataLayout().getTypeAllocSize(ConvertTypeForMem(RetTy));
 3959         const llvm::DataLayout *TD = &CGM.getDataLayout();
 4005               CGM.getDataLayout().getTypeAllocSize(AI.getElementType());
 4018               CGM.getDataLayout().getAllocaAddrSpace());
 4098         uint64_t SrcSize = CGM.getDataLayout().getTypeAllocSize(SrcTy);
 4099         uint64_t DstSize = CGM.getDataLayout().getTypeAllocSize(STy);
 4134       auto layout = CGM.getDataLayout().getStructLayout(coercionType);
 4148         auto scalarSize = CGM.getDataLayout().getTypeAllocSize(scalarType);
 4149         auto scalarAlign = CGM.getDataLayout().getPrefTypeAlignment(scalarType);
tools/clang/lib/CodeGen/CGClass.cpp
  770   unsigned PtrSize = CGM.getDataLayout().getPointerSizeInBits();
tools/clang/lib/CodeGen/CGDebugInfo.cpp
 1267   if (CGM.getDataLayout().isBigEndian())
 4117   const llvm::DataLayout &target = CGM.getDataLayout();
 4231       CGM.getDataLayout().getStructLayout(block.StructureType);
tools/clang/lib/CodeGen/CGDecl.cpp
 1004   const llvm::DataLayout &DL = CGM.getDataLayout();
 1145   uint64_t ConstantSize = CGM.getDataLayout().getTypeAllocSize(Ty);
 1175       shouldUseMemSetToInitialize(constant, ConstantSize, CGM.getDataLayout());
 1292              CGM.getDataLayout().getAllocaAddrSpace() &&
 1304              CGM.getDataLayout().getAllocaAddrSpace() &&
 1513           uint64_t size = CGM.getDataLayout().getTypeAllocSize(allocaTy);
 2388              CGM.getDataLayout().getAllocaAddrSpace());
tools/clang/lib/CodeGen/CGDeclCXX.cpp
  700               CGM.getDataLayout().getTypeAllocSize(GuardVal->getType())));
tools/clang/lib/CodeGen/CGException.cpp
  250       CGM.getDataLayout().getProgramAddressSpace());
tools/clang/lib/CodeGen/CGExpr.cpp
  111   return new llvm::AllocaInst(Ty, CGM.getDataLayout().getAllocaAddrSpace(),
  122     CharUnits::fromQuantity(CGM.getDataLayout().getABITypeAlignment(Ty));
  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
   48         CGM.getDataLayout().getABITypeAlignment(C->getType()));
   52     return CharUnits::fromQuantity(CGM.getDataLayout().getTypeAllocSize(Ty));
  202     if (CGM.getDataLayout().isBigEndian()) {
  236       if (CGM.getDataLayout().isBigEndian())
  271     if (!CGM.getDataLayout().isBigEndian())
  334           CGM.getDataLayout().getStructLayout(ST);
 1053       unsigned CurSize = CGM.getDataLayout().getTypeAllocSize(C->getType());
 1054       unsigned TotalSize = CGM.getDataLayout().getTypeAllocSize(destTy);
 1855   auto intptrTy = CGM.getDataLayout().getIntPtrType(destPtrTy);
tools/clang/lib/CodeGen/CGExprScalar.cpp
 1267     llvm::Type *MiddleTy = CGF.CGM.getDataLayout().getIntPtrType(DstPT);
 2165     llvm::Type *MiddleTy = CGF.CGM.getDataLayout().getIntPtrType(DestLLVMTy);
 3178   auto &DL = CGF.CGM.getDataLayout();
 4403       Src = createCastsForTypeOfSameSize(Builder, CGF.CGM.getDataLayout(), Src,
 4417       Src = createCastsForTypeOfSameSize(Builder, CGF.CGM.getDataLayout(), Src,
 4426   return createCastsForTypeOfSameSize(Builder, CGF.CGM.getDataLayout(),
 4560   const auto &DL = CGM.getDataLayout();
 4674   const auto &DL = CGM.getDataLayout();
tools/clang/lib/CodeGen/CGGPUBuiltin.cpp
   75   const llvm::DataLayout &DL = CGM.getDataLayout();
tools/clang/lib/CodeGen/CGObjC.cpp
 1074     uint64_t retTySize = CGM.getDataLayout().getTypeSizeInBits(retTy);
tools/clang/lib/CodeGen/CGObjCGNU.cpp
 2163       CGM.getDataLayout().getPointerSizeInBits() == 32 ? Int32Ty : Int64Ty;
 3187   int ptrBits = CGM.getDataLayout().getPointerSizeInBits();
 3763     module.addInt(LongTy, CGM.getDataLayout().getTypeStoreSize(moduleTy));
tools/clang/lib/CodeGen/CGObjCMac.cpp
 2607     CGM.getDataLayout().getStructLayout(cast<llvm::StructType>(Ty));
 2916   CGM.getDataLayout().getStructLayout(blockInfo.StructureType);
 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);
 6078       llvm::Align(CGM.getDataLayout().getABITypeAlignment(Init->getType())));
 6322       CGM.getDataLayout().getABITypeAlignment(ObjCTypes.ClassnfABITy)));
 6395     CGM.getDataLayout().getTypeAllocSize(ObjCTypes.ClassnfABITy);
 6601   unsigned Size = CGM.getDataLayout().getTypeAllocSize(ObjCTypes.CategorynfABITy);
 6705   unsigned Size = CGM.getDataLayout().getTypeAllocSize(ObjCTypes.MethodTy);
 6762       CGM.getDataLayout().getABITypeAlignment(ObjCTypes.IvarOffsetVarTy)));
 6809                   CGM.getDataLayout().getTypeAllocSize(ObjCTypes.IvarnfABITy));
 6831     unsigned Size = CGM.getDataLayout().getTypeAllocSize(FieldTy);
 6941     CGM.getDataLayout().getTypeAllocSize(ObjCTypes.ProtocolnfABITy);
 6989       CGM.getDataLayout().getABITypeAlignment(ObjCTypes.ProtocolnfABIPtrTy)));
 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/CGStmt.cpp
 1828       uint64_t Size = CGM.getDataLayout().getTypeSizeInBits(Ty);
 2312         uint64_t ResSize = CGM.getDataLayout().getTypeSizeInBits(TruncTy);
 2317         uint64_t TmpSize =CGM.getDataLayout().getTypeSizeInBits(Tmp->getType());
tools/clang/lib/CodeGen/CGVTT.cpp
  121   unsigned Align = CGM.getDataLayout().getABITypeAlignment(CGM.Int8PtrTy);
tools/clang/lib/CodeGen/CGVTables.cpp
  788   unsigned Align = CGM.getDataLayout().getABITypeAlignment(VTType);
tools/clang/lib/CodeGen/CodeGenFunction.cpp
 2052       CGM.getDataLayout(), PtrValue, Alignment, OffsetValue, &TheCheck);
tools/clang/lib/CodeGen/CodeGenFunction.h
 4378             CGF.CGM.getDataLayout().getPrefTypeAlignment(value->getType()));
tools/clang/lib/CodeGen/CodeGenModule.cpp
 3718       getDataLayout().getTypeStoreSizeInBits(Ty));
 4621                                getDataLayout().isLittleEndian(), isUTF16,
tools/clang/lib/CodeGen/ConstantInitBuilder.cpp
  190   auto &layout = Builder.CGM.getDataLayout();
  225     auto &layout = Builder.CGM.getDataLayout();
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
 2206                              CGM.getDataLayout().getABITypeAlignment(guardTy));
tools/clang/lib/CodeGen/SwiftCallingConv.cpp
   56   return CharUnits::fromQuantity(CGM.getDataLayout().getTypeStoreSize(type));
   60   return CharUnits::fromQuantity(CGM.getDataLayout().getTypeAllocSize(type));
  578             CGM.getDataLayout().getABITypeAlignment(entry.Type))))
  651   assert(size >= CGM.getDataLayout().getABITypeAlignment(type));
tools/clang/lib/CodeGen/TargetInfo.cpp
  318   if (DirectSize < SlotSize && CGF.CGM.getDataLayout().isBigEndian() &&
 4880       if (CGF.CGM.getDataLayout().isBigEndian()) {
 5444     if (CGF.CGM.getDataLayout().isBigEndian() &&
 5466     if (CGF.CGM.getDataLayout().isBigEndian() && !IsIndirect &&
 5520   if (CGF.CGM.getDataLayout().isBigEndian() && !isAggregateTypeForABI(Ty) &&
 9962   unsigned BlockAlign = CGF.CGM.getDataLayout().getPrefTypeAlignment(BlockTy);