Home
last modified time | relevance | path

Searched refs:NonGC (Results 1 – 21 of 21) sorted by relevance

/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGValue.h212 bool NonGC: 1; variable
257 this->Ivar = this->ObjIsArray = this->NonGC = this->GlobalObjCRef = false; in Initialize()
290 bool isNonGC () const { return NonGC; } in isNonGC()
291 void setNonGC(bool Value) { NonGC = Value; } in setNonGC()
H A DCGObjCMac.cpp2258 if (Ctx.getLangOpts().getGC() != LangOptions::NonGC) { in GetGCAttrTypeForType()
2339 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) in BuildGCBlockLayout()
2880 assert(CGM.getLangOpts().getGC() == LangOptions::NonGC); in fillRunSkipBlockVars()
2945 assert(CGM.getLangOpts().getGC() == LangOptions::NonGC); in BuildByrefLayout()
3471 assert(CGM.getLangOpts().getGC() == LangOptions::NonGC); in hasMRCWeakIvars()
5121 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) { in EmitImageInfo()
5525 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) { in buildBitmap()
5564 if (CGM.getLangOpts().getGC() == LangOptions::NonGC && in BuildIvarLayout()
5583 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) { in BuildIvarLayout()
6291 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) { in isVTableDispatchedSelector()
H A DCGBlocks.cpp187 CGM.getLangOpts().getGC() == LangOptions::NonGC) { in buildBlockDescriptor()
234 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) in buildBlockDescriptor()
591 CGM.getLangOpts().getGC() == LangOptions::NonGC) in computeBlockInfo()
H A DCGObjC.cpp410 CGM.getLangOpts().getGC() == LangOptions::NonGC && in tryGenerateSpecializedMessageSend()
417 CGM.getLangOpts().getGC() == LangOptions::NonGC && in tryGenerateSpecializedMessageSend()
424 CGM.getLangOpts().getGC() == LangOptions::NonGC && in tryGenerateSpecializedMessageSend()
1395 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) in UseOptimizedSetter()
H A DCGObjCGNU.cpp888 assert ((CGM.getLangOpts().getGC() == LangOptions::NonGC)); in GetOptimizedPropertySetFunction()
2263 if ((Opts.getGC() != LangOptions::NonGC) || Opts.ObjCAutoRefCount) in CGObjCGNU()
2267 if (Opts.getGC() != LangOptions::NonGC) { in CGObjCGNU()
3879 case LangOptions::NonGC: in ModuleInitFunction()
H A DCGClass.cpp1086 CGF.getLangOpts().getGC() == LangOptions::NonGC), in ConstructorMemcpyizer()
1226 AssignmentsMemcpyable(CGF.getLangOpts().getGC() == LangOptions::NonGC) { in AssignmentMemcpyizer()
H A DCGExpr.cpp2422 if (Ctx.getLangOpts().getGC() == LangOptions::NonGC) in setObjCGCLValueClass()
2983 getLangOpts().getGC() != LangOptions::NonGC && in EmitUnaryOpLValue()
3949 getLangOpts().getGC() != LangOptions::NonGC) { in EmitArraySubscriptExpr()
H A DCGExprAgg.cpp2147 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) { in EmitAggregateCopy()
H A DCGDecl.cpp2060 if (getLangOpts().getGC() != LangOptions::NonGC && in EmitAutoVarCleanups()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DNSAutoreleasePoolChecker.cpp85 return LO.getGC() != LangOptions::NonGC; in shouldRegisterNSAutoreleasePoolChecker()
/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DInternals.h165 bool isGCMigration() const { return OrigGCMode != LangOptions::NonGC; } in isGCMigration()
H A DARCMT.cpp195 CInvok->getLangOpts()->setGC(LangOptions::NonGC); in createInvocationForMigration()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaObjCProperty.cpp128 if (S.getLangOpts().getGC() != LangOptions::NonGC) { in deducePropertyOwnershipFromType()
591 if (getLangOpts().getGC() != LangOptions::NonGC && isAssign && in CreatePropertyDecl()
1234 if (getLangOpts().getGC() != LangOptions::NonGC) { in ActOnPropertyImplDecl()
1400 getLangOpts().getGC() != LangOptions::NonGC)) { in ActOnPropertyImplDecl()
1409 getLangOpts().getGC() != LangOptions::NonGC) { in ActOnPropertyImplDecl()
2169 if (getLangOpts().getGC() != LangOptions::NonGC) in AtomicPropertySetterGetterRules()
2788 if (isAnyClassTy && getLangOpts().getGC() == LangOptions::NonGC) in CheckObjCPropertyAttributes()
2798 if (getLangOpts().getGC() == LangOptions::NonGC) in CheckObjCPropertyAttributes()
H A DSemaDeclObjC.cpp485 if (Context.getLangOpts().getGC() != LangOptions::NonGC) in ActOnStartOfObjCMethodDef()
H A DSemaDecl.cpp8465 if (getLangOpts().getGC() != LangOptions::NonGC) in CheckVariableDeclarationType()
18155 getLangOpts().getGC() != LangOptions::NonGC && Record && in ActOnFields()
H A DSemaCodeComplete.cpp7330 if (getLangOpts().ObjCWeak || getLangOpts().getGC() != LangOptions::NonGC) in CodeCompleteObjCPropertyFlags()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DLangOptions.h83 enum GCMode { NonGC, GCOnly, HybridGC }; enumerator
H A DLangOptions.def341 ENUM_LANGOPT(GC, GCMode, 2, NonGC, "Objective-C Garbage Collection mode")
/llvm-project-15.0.7/clang/lib/Frontend/
H A DInitPreprocessor.cpp810 if (LangOpts.getGC() != LangOptions::NonGC) in InitializePredefinedMacros()
1196 LangOpts.getGC() != LangOptions::NonGC) { in InitializePredefinedMacros()
H A DCompilerInvocation.cpp3722 } else if (Opts.getGC() != LangOptions::NonGC) { in ParseLangArgs()
/llvm-project-15.0.7/clang/lib/AST/
H A DASTContext.cpp7432 getLangOpts().getGC() != LangOptions::NonGC) in getByrefLifetime()
9229 if (getLangOpts().getGC() == LangOptions::NonGC) in getObjCGCAttrKind()