Lines Matching refs:CGM

66       CGM.CreateRuntimeFunction(llvm::FunctionType::get(ObjectPtrTy,
69 llvm::AttributeSet::get(CGM.getLLVMContext(),
81 return CGM.CreateRuntimeFunction(llvm::FunctionType::get(CGM.VoidTy,
94 return CGM.CreateRuntimeFunction(llvm::FunctionType::get(CGM.DoubleTy,
111 return CGM.CreateRuntimeFunction(llvm::FunctionType::get(resultType,
123 return CGM.CreateRuntimeFunction(llvm::FunctionType::get(ObjectPtrTy,
134 return CGM.CreateRuntimeFunction(llvm::FunctionType::get(ObjectPtrTy,
145 return CGM.CreateRuntimeFunction(
146 llvm::FunctionType::get(CGM.VoidTy, params, true),
156 return CGM.CreateRuntimeFunction(
157 llvm::FunctionType::get(CGM.VoidTy, params, true),
172 CodeGen::CodeGenModule &CGM;
198 CodeGen::CodeGenTypes &Types = CGM.getTypes();
199 ASTContext &Ctx = CGM.getContext();
236 CodeGen::CodeGenTypes &Types = CGM.getTypes();
237 ASTContext &Ctx = CGM.getContext();
250 return CGM.CreateRuntimeFunction(FTy, "objc_getProperty");
254 CodeGen::CodeGenTypes &Types = CGM.getTypes();
255 ASTContext &Ctx = CGM.getContext();
270 return CGM.CreateRuntimeFunction(FTy, "objc_setProperty");
274 CodeGen::CodeGenTypes &Types = CGM.getTypes();
275 ASTContext &Ctx = CGM.getContext();
306 return CGM.CreateRuntimeFunction(FTy, name);
310 CodeGen::CodeGenTypes &Types = CGM.getTypes();
311 ASTContext &Ctx = CGM.getContext();
323 return CGM.CreateRuntimeFunction(FTy, "objc_copyStruct");
331 CodeGen::CodeGenTypes &Types = CGM.getTypes();
332 ASTContext &Ctx = CGM.getContext();
343 return CGM.CreateRuntimeFunction(FTy, "objc_copyCppObjectAtomic");
347 CodeGen::CodeGenTypes &Types = CGM.getTypes();
348 ASTContext &Ctx = CGM.getContext();
356 return CGM.CreateRuntimeFunction(FTy, "objc_enumerationMutation");
365 return CGM.CreateRuntimeFunction(FTy, "objc_read_weak");
374 return CGM.CreateRuntimeFunction(FTy, "objc_assign_weak");
383 return CGM.CreateRuntimeFunction(FTy, "objc_assign_global");
392 return CGM.CreateRuntimeFunction(FTy, "objc_assign_threadlocal");
399 CGM.PtrDiffTy };
402 return CGM.CreateRuntimeFunction(FTy, "objc_assign_ivar");
410 return CGM.CreateRuntimeFunction(FTy, "objc_memmove_collectable");
419 return CGM.CreateRuntimeFunction(FTy, "objc_assign_strongCast");
427 llvm::FunctionType::get(CGM.VoidTy, args, false);
428 return CGM.CreateRuntimeFunction(FTy, "objc_exception_throw");
434 llvm::FunctionType *FTy = llvm::FunctionType::get(CGM.VoidTy, false);
435 return CGM.CreateRuntimeFunction(FTy, "objc_exception_rethrow");
443 llvm::FunctionType::get(CGM.IntTy, args, false);
444 return CGM.CreateRuntimeFunction(FTy, "objc_sync_enter");
452 llvm::FunctionType::get(CGM.IntTy, args, false);
453 return CGM.CreateRuntimeFunction(FTy, "objc_sync_exit");
552 return CGM.CreateRuntimeFunction(
553 llvm::FunctionType::get(CGM.VoidTy, params, false),
560 return CGM.CreateRuntimeFunction(
561 llvm::FunctionType::get(CGM.VoidTy, params, false),
568 return CGM.CreateRuntimeFunction(llvm::FunctionType::get(ObjectPtrTy,
576 return CGM.CreateRuntimeFunction(
577 llvm::FunctionType::get(CGM.Int32Ty, params, false),
585 llvm::Type *params[] = { CGM.Int32Ty->getPointerTo() };
587 CGM.CreateRuntimeFunction(llvm::FunctionType::get(CGM.Int32Ty,
590 llvm::AttributeSet::get(CGM.getLLVMContext(),
678 return CGM.CreateRuntimeFunction(llvm::FunctionType::get(ObjectPtrTy,
686 return CGM.CreateRuntimeFunction(llvm::FunctionType::get(ObjectPtrTy,
694 return CGM.CreateRuntimeFunction(llvm::FunctionType::get(ObjectPtrTy,
703 return CGM.CreateRuntimeFunction(llvm::FunctionType::get(ObjectPtrTy,
712 return CGM.CreateRuntimeFunction(llvm::FunctionType::get(ObjectPtrTy,
718 return CGM.CreateRuntimeFunction(llvm::FunctionType::get(CGM.VoidTy, false),
725 return CGM.CreateRuntimeFunction(llvm::FunctionType::get(Int8PtrTy,
1059 llvm::Constant *BuildGCBlockLayout(CodeGen::CodeGenModule &CGM,
1061 llvm::Constant *BuildRCBlockLayout(CodeGen::CodeGenModule &CGM,
1064 llvm::Constant *BuildByrefLayout(CodeGen::CodeGenModule &CGM,
1420 IdentifierInfo* II = &CGM.getContext().Idents.get(name);
1421 return CGM.getContext().Selectors.getSelector(0, &II);
1425 IdentifierInfo* II = &CGM.getContext().Idents.get(name);
1426 return CGM.getContext().Selectors.getSelector(1, &II);
1629 llvm::Constant *null = CGF.CGM.EmitNullConstant(resultType);
1726 return CGM.GetAddrOfRTTIDescriptor(
1727 CGM.getContext().getObjCIdRedefinitionType(), /*ForEH=*/true);
1731 return CGM.GetAddrOfRTTIDescriptor(
1732 CGM.getContext().getObjCClassRedefinitionType(), /*ForEH=*/true);
1735 return CGM.GetAddrOfRTTIDescriptor(T, /*ForEH=*/true);
1761 return (CGM.getLangOpts().NoConstantCFStrings == 0 ?
1762 CGM.GetAddrOfConstantCFString(SL) :
1763 CGM.GetAddrOfConstantString(SL));
1824 CGM.getTypes().ConvertType(CGF.getContext().getObjCClassType());
1871 assert(CGM.getContext().getCanonicalType(Method->getReturnType()) ==
1872 CGM.getContext().getCanonicalType(ResultType) &&
1878 if (CGM.ReturnSlotInterferesWithArgs(MSI.CallInfo)) {
1882 } else if (CGM.ReturnTypeUsesFPRet(ResultType)) {
1885 } else if (CGM.ReturnTypeUsesFP2Ret(ResultType)) {
1891 if (!IsSuper && CGM.ReturnTypeUsesSRet(MSI.CallInfo))
1898 if (CGM.getLangOpts().ObjCAutoRefCount && Method)
1934 llvm::Constant *CGObjCCommonMac::BuildGCBlockLayout(CodeGenModule &CGM,
1937 llvm::Constant *nullPtr = llvm::Constant::getNullValue(CGM.Int8PtrTy);
1938 if (CGM.getLangOpts().getGC() == LangOptions::NonGC &&
1939 !CGM.getLangOpts().ObjCAutoRefCount)
1945 unsigned WordSizeInBits = CGM.getTarget().getPointerWidth(0);
1946 unsigned ByteSizeInBits = CGM.getTarget().getCharWidth();
1956 CGM.getDataLayout().getStructLayout(blockInfo.StructureType);
1985 Qualifiers::GC GCAttr = GetGCAttrTypeForType(CGM.getContext(), type);
1986 unsigned fieldSize = CGM.getContext().getTypeSize(type);
2006 if (CGM.getLangOpts().ObjCGCBitmapPrint) {
2025 if (CGM.getLangOpts().ObjCAutoRefCount)
2072 unsigned ByteSizeInBits = CGM.getTarget().getCharWidth();
2078 const ASTRecordLayout &RL = CGM.getContext().getASTRecordLayout(RD);
2080 CGM.getContext().toCharUnitsFromBits(RL.getFieldOffset(i));
2100 if (const ArrayType *Array = CGM.getContext().getAsArrayType(FQT)) {
2106 while (const ArrayType *Array = CGM.getContext().getAsArrayType(FQT)) {
2122 CharUnits Size = CGM.getContext().getTypeSizeInChars(RT);
2132 CharUnits FieldSize = CGM.getContext().getTypeSizeInChars(Field->getType());
2152 = LastFieldBitfieldOrUnnamed->getBitWidthValue(CGM.getContext());
2166 = CGM.getContext().getTypeSizeInChars(LastFieldBitfieldOrUnnamed->getType());
2188 llvm::Type *Ty = CGM.getTypes().ConvertType(QualType(RT, 0));
2190 CGM.getDataLayout().getStructLayout(cast<llvm::StructType>(Ty));
2302 llvm::Constant *nullPtr = llvm::Constant::getNullValue(CGM.Int8PtrTy);
2305 unsigned WordSizeInBits = CGM.getTarget().getPointerWidth(0);
2306 unsigned ByteSizeInBits = CGM.getTarget().getCharWidth();
2377 if (CGM.getLangOpts().ObjCGCBitmapPrint) {
2386 return llvm::Constant::getIntegerValue(CGM.Int64Ty, Instruction);
2390 return llvm::Constant::getIntegerValue(CGM.Int32Ty, Instruction);
2400 if (CGM.getLangOpts().ObjCGCBitmapPrint) {
2450 llvm::Constant *CGObjCCommonMac::BuildRCBlockLayout(CodeGenModule &CGM,
2452 assert(CGM.getLangOpts().getGC() == LangOptions::NonGC);
2457 unsigned WordSizeInBits = CGM.getTarget().getPointerWidth(0);
2458 unsigned ByteSizeInBits = CGM.getTarget().getCharWidth();
2465 CGM.getDataLayout().getStructLayout(blockInfo.StructureType);
2496 fieldSize = CGM.getContext().getTypeSizeInChars(type);
2504 llvm::Constant *CGObjCCommonMac::BuildByrefLayout(CodeGen::CodeGenModule &CGM,
2506 assert(CGM.getLangOpts().getGC() == LangOptions::NonGC);
2516 llvm::Constant *nullPtr = llvm::Constant::getNullValue(CGM.Int8PtrTy);
2524 LazySymbols.insert(&CGM.getContext().Idents.get("Protocol"));
2574 LazySymbols.insert(&CGM.getContext().Idents.get("Protocol"));
2631 Entry = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ProtocolTy,
2640 CGM.addCompilerUsedGlobal(Entry);
2652 Entry = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ProtocolTy,
2678 CGM.getDataLayout().getTypeAllocSize(ObjCTypes.ProtocolExtensionTy);
2805 CGM.getDataLayout().getTypeAllocSize(ObjCTypes.PropertyTy);
2892 unsigned Size = CGM.getDataLayout().getTypeAllocSize(ObjCTypes.CategoryTy);
3021 CGM.getContext().getASTObjCImplementationLayout(ID).getSize().getQuantity();
3081 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true);
3088 CGM.addCompilerUsedGlobal(GV);
3101 unsigned Size = CGM.getDataLayout().getTypeAllocSize(ObjCTypes.ClassTy);
3147 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true);
3153 GV = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ClassTy, false,
3159 CGM.addCompilerUsedGlobal(GV);
3175 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true);
3177 GV = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ClassTy, false,
3188 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true);
3191 GV = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ClassTy, false,
3210 CGM.getDataLayout().getTypeAllocSize(ObjCTypes.ClassExtensionTy);
3263 ComputeIvarBaseOffset(CGM, OID, IVD))
3346 CodeGenTypes &Types = CGM.getTypes();
3353 &CGM.getModule());
3366 new llvm::GlobalVariable(CGM.getModule(), Ty, false,
3373 CGM.addCompilerUsedGlobal(GV);
4105 unsigned Size = CGM.getDataLayout().getTypeAllocSize(SrcTy);
4127 unsigned Size = CGM.getDataLayout().getTypeAllocSize(SrcTy);
4154 unsigned Size = CGM.getDataLayout().getTypeAllocSize(SrcTy);
4174 unsigned Size = CGM.getDataLayout().getTypeAllocSize(SrcTy);
4214 uint64_t Offset = ComputeIvarBaseOffset(CGM, Interface, Ivar);
4216 CGM.getTypes().ConvertType(CGM.getContext().LongTy),
4250 llvm::Module &Mod = CGM.getModule();
4259 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) {
4269 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) {
4285 const llvm::Triple &Triple = CGM.getTarget().getTriple();
4304 uint64_t Size = CGM.getDataLayout().getTypeAllocSize(ObjCTypes.ModuleTy);
4387 IdentifierInfo *II = &CGM.getContext().Idents.get("NSAutoreleasePool");
4445 llvm::Type *Ty = CGM.getTypes().ConvertType(QualType(RT, 0));
4447 CGM.getDataLayout().getStructLayout(cast<llvm::StructType>(Ty));
4472 unsigned WordSizeInBits = CGM.getTarget().getPointerWidth(0);
4473 unsigned ByteSizeInBits = CGM.getTarget().getCharWidth();
4474 if (!RD && CGM.getLangOpts().ObjCAutoRefCount) {
4477 ComputeIvarBaseOffset(CGM, OI, cast<ObjCIvarDecl>(FirstField));
4486 const ASTRecordLayout &RL = CGM.getContext().getASTRecordLayout(RD);
4490 ComputeIvarBaseOffset(CGM, OI, cast<ObjCIvarDecl>(Field)) - FirstFieldDelta;
4511 if (const ArrayType *Array = CGM.getContext().getAsArrayType(FQT)) {
4517 while (const ArrayType *Array = CGM.getContext().getAsArrayType(FQT)) {
4536 uint64_t Size = CGM.getContext().getTypeSize(RT)/ByteSizeInBits;
4549 Qualifiers::GC GCAttr = GetGCAttrTypeForType(CGM.getContext(), FQT);
4551 unsigned FieldSize = CGM.getContext().getTypeSize(Field->getType());
4589 = LastFieldBitfieldOrUnnamed->getBitWidthValue(CGM.getContext());
4599 = CGM.getContext().getTypeSize(LastFieldBitfieldOrUnnamed->getType());
4620 llvm::Type *PtrTy = CGM.Int8PtrTy;
4625 CGM.getTypes().getDataLayout().getTypeAllocSize(PtrTy);
4763 llvm::Type *PtrTy = CGM.Int8PtrTy;
4764 if (CGM.getLangOpts().getGC() == LangOptions::NonGC &&
4765 !CGM.getLangOpts().ObjCAutoRefCount)
4770 if (CGM.getLangOpts().ObjCAutoRefCount) {
4777 CGM.getContext().DeepCollectObjCIvars(OI, true, Ivars);
4803 if (CGM.getLangOpts().ObjCGCBitmapPrint) {
4835 return GetMethodVarName(CGM.getContext().Selectors.getNullarySelector(ID));
4840 CGM.getContext().getObjCEncodingForType(Field->getType(), TypeStr, Field);
4858 if (CGM.getContext().getObjCEncodingForMethodDecl(D, TypeStr, Extended))
4893 CGM.getContext().getObjCEncodingForPropertyDecl(PD, Container, TypeStr);
4894 return GetPropertyName(&CGM.getContext().Idents.get(TypeStr));
4928 CGM.addCompilerUsedGlobal(I->second);
4938 Asm += CGM.getModule().getModuleInlineAsm();
4957 CGM.getModule().setModuleInlineAsm(OS.str());
4971 : VMContext(cgm.getLLVMContext()), CGM(cgm), ExternalProtocolPtrTy(nullptr)
4973 CodeGen::CodeGenTypes &Types = CGM.getTypes();
4974 ASTContext &Ctx = CGM.getContext();
4980 Int8PtrTy = CGM.Int8PtrTy;
4981 Int8PtrPtrTy = CGM.Int8PtrPtrTy;
4985 if (CGM.getTarget().getTriple().getArch() == llvm::Triple::aarch64)
5230 llvm::Type *StackPtrTy = llvm::ArrayType::get(CGM.Int8PtrTy, 4);
5234 llvm::ArrayType::get(CGM.Int32Ty,SetJmpBufferSize),
5380 CodeGen::CodeGenTypes &Types = CGM.getTypes();
5381 ASTContext &Ctx = CGM.getContext();
5459 new llvm::GlobalVariable(CGM.getModule(), Init->getType(), false,
5463 GV->setAlignment(CGM.getDataLayout().getABITypeAlignment(Init->getType()));
5465 CGM.addCompilerUsedGlobal(GV);
5508 switch (CGM.getCodeGenOpts().getObjCDispatchMethod()) {
5529 if (CGM.getLangOpts().getGC() != LangOptions::GCOnly) {
5545 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) {
5551 &CGM.getContext().Idents.get("countByEnumeratingWithState"),
5552 &CGM.getContext().Idents.get("objects"),
5553 &CGM.getContext().Idents.get("count")
5556 CGM.getContext().Selectors.getSelector(3, KeyIdents));
5586 if (CGM.getLangOpts().ObjCAutoRefCount)
5649 new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ClassRonfABITy, false,
5656 CGM.getDataLayout().getABITypeAlignment(ObjCTypes.ClassRonfABITy));
5693 CGM.getDataLayout().getABITypeAlignment(ObjCTypes.ClassnfABITy));
5708 CGM.getContext().getASTObjCImplementationLayout(OID);
5717 InstanceStart = RL.getFieldOffset(0) / CGM.getContext().getCharWidth();
5724 CGM.getModule(),
5733 const llvm::Triple &Triple = CGM.getTarget().getTriple();
5739 CGM.getModule(),
5750 CGM.getDataLayout().getTypeAllocSize(ObjCTypes.ClassnfABITy);
5829 if (hasObjCExceptionAttribute(CGM.getContext(), ID->getClassInterface()))
5890 llvm::GlobalVariable *PTGV = CGM.getModule().getGlobalVariable(ProtocolName);
5894 CGM.getModule(),
5901 CGM.addCompilerUsedGlobal(PTGV);
5986 = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.CategorynfABITy,
5992 CGM.getDataLayout().getABITypeAlignment(ObjCTypes.CategorynfABITy));
5994 CGM.addCompilerUsedGlobal(GCATV);
6039 unsigned Size = CGM.getDataLayout().getTypeAllocSize(ObjCTypes.MethodTy);
6049 new llvm::GlobalVariable(CGM.getModule(), Init->getType(), false,
6051 GV->setAlignment(CGM.getDataLayout().getABITypeAlignment(Init->getType()));
6053 CGM.addCompilerUsedGlobal(GV);
6069 CGM.getModule().getGlobalVariable(Name);
6072 CGM.getModule(), ObjCTypes.IvarOffsetVarTy, false,
6085 CGM.getDataLayout().getABITypeAlignment(ObjCTypes.IvarOffsetVarTy));
6133 ComputeIvarBaseOffset(CGM, ID, IVD));
6137 CGM.getTypes().ConvertTypeForMem(IVD->getType());
6138 unsigned Size = CGM.getDataLayout().getTypeAllocSize(FieldTy);
6139 unsigned Align = CGM.getContext().getPreferredTypeAlign(
6156 unsigned Size = CGM.getDataLayout().getTypeAllocSize(ObjCTypes.IvarnfABITy);
6165 new llvm::GlobalVariable(CGM.getModule(), Init->getType(), false,
6170 CGM.getDataLayout().getABITypeAlignment(Init->getType()));
6173 CGM.addCompilerUsedGlobal(GV);
6186 new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ProtocolnfABITy,
6289 CGM.getDataLayout().getTypeAllocSize(ObjCTypes.ProtocolnfABITy);
6307 new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ProtocolnfABITy,
6311 CGM.getDataLayout().getABITypeAlignment(ObjCTypes.ProtocolnfABITy));
6317 CGM.addCompilerUsedGlobal(Entry);
6322 new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ProtocolnfABIPtrTy,
6326 CGM.getDataLayout().getABITypeAlignment(ObjCTypes.ProtocolnfABIPtrTy));
6329 CGM.addCompilerUsedGlobal(PTGV);
6355 CGM.getModule().getGlobalVariable(TmpName.str(), true);
6375 GV = new llvm::GlobalVariable(CGM.getModule(), Init->getType(), false,
6380 CGM.getDataLayout().getABITypeAlignment(Init->getType()));
6381 CGM.addCompilerUsedGlobal(GV);
6434 ->setMetadata(CGM.getModule().getMDKindID("invariant.load"),
6506 if (CGM.ReturnSlotInterferesWithArgs(MSI.CallInfo)) {
6515 } else if (!isSuper && CGM.ReturnTypeUsesFPRet(resultType)) {
6535 = CGM.getModule().getGlobalVariable(messageRefName);
6540 messageRef = new llvm::GlobalVariable(CGM.getModule(),
6552 if (CGM.getLangOpts().ObjCAutoRefCount && method)
6606 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name);
6609 GV = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ClassnfABITy,
6627 Entry = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ClassnfABIPtrTy,
6631 CGM.getDataLayout().getABITypeAlignment(
6634 CGM.addCompilerUsedGlobal(Entry);
6646 IdentifierInfo *II = &CGM.getContext().Idents.get("NSAutoreleasePool");
6660 Entry = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ClassnfABIPtrTy,
6664 CGM.getDataLayout().getABITypeAlignment(
6667 CGM.addCompilerUsedGlobal(Entry);
6685 Entry = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ClassnfABIPtrTy,
6689 CGM.getDataLayout().getABITypeAlignment(ObjCTypes.ClassnfABIPtrTy));
6692 CGM.addCompilerUsedGlobal(Entry);
6749 CGM.getTypes().ConvertType(CGF.getContext().getObjCClassType());
6772 Entry = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.SelectorPtrTy,
6777 CGM.addCompilerUsedGlobal(Entry);
6784 LI->setMetadata(CGM.getModule().getMDKindID("invariant.load"),
6797 unsigned Size = CGM.getDataLayout().getTypeAllocSize(SrcTy);
6817 unsigned Size = CGM.getDataLayout().getTypeAllocSize(SrcTy);
6864 unsigned Size = CGM.getDataLayout().getTypeAllocSize(SrcTy);
6885 unsigned Size = CGM.getDataLayout().getTypeAllocSize(SrcTy);
6916 CGM.getModule().getGlobalVariable("OBJC_EHTYPE_id");
6919 new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.EHTypeTy,
6975 if (hasObjCExceptionAttribute(CGM.getContext(), ID))
6977 new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.EHTypeTy, false,
6991 CGM.getModule().getGlobalVariable(VTableName);
6993 VTableGV = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.Int8PtrTy,
6998 llvm::Value *VTableIdx = llvm::ConstantInt::get(CGM.Int32Ty, 2);
7016 Entry = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.EHTypeTy, false,
7025 Entry->setAlignment(CGM.getDataLayout().getABITypeAlignment(
7039 CodeGen::CreateMacObjCRuntime(CodeGen::CodeGenModule &CGM) {
7040 switch (CGM.getLangOpts().ObjCRuntime.getKind()) {
7042 return new CGObjCMac(CGM);
7046 return new CGObjCNonFragileABIMac(CGM);