Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNSAutoreleasePoolChecker.cpp82 return LO.getGC() != LangOptions::NonGC; in shouldRegisterNSAutoreleasePoolChecker()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGValue.h212 bool NonGC: 1; variable
258 this->Ivar = this->ObjIsArray = this->NonGC = this->GlobalObjCRef = false; in Initialize()
291 bool isNonGC () const { return NonGC; } in isNonGC()
292 void setNonGC(bool Value) { NonGC = Value; } in setNonGC()
H A DCGObjCMac.cpp2255 if (Ctx.getLangOpts().getGC() != LangOptions::NonGC) { in GetGCAttrTypeForType()
2336 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) in BuildGCBlockLayout()
2877 assert(CGM.getLangOpts().getGC() == LangOptions::NonGC); in fillRunSkipBlockVars()
2942 assert(CGM.getLangOpts().getGC() == LangOptions::NonGC); in BuildByrefLayout()
3467 assert(CGM.getLangOpts().getGC() == LangOptions::NonGC); in hasMRCWeakIvars()
5101 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) { in EmitImageInfo()
5494 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) { in buildBitmap()
5533 if (CGM.getLangOpts().getGC() == LangOptions::NonGC && in BuildIvarLayout()
5552 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) { in BuildIvarLayout()
6259 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) { in isVTableDispatchedSelector()
H A DCGBlocks.cpp164 CGM.getLangOpts().getGC() == LangOptions::NonGC) { in buildBlockDescriptor()
209 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) in buildBlockDescriptor()
564 CGM.getLangOpts().getGC() == LangOptions::NonGC) in computeBlockInfo()
H A DCGObjC.cpp411 CGM.getLangOpts().getGC() == LangOptions::NonGC && in tryGenerateSpecializedMessageSend()
418 CGM.getLangOpts().getGC() == LangOptions::NonGC && in tryGenerateSpecializedMessageSend()
425 CGM.getLangOpts().getGC() == LangOptions::NonGC && in tryGenerateSpecializedMessageSend()
1422 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) in UseOptimizedSetter()
H A DCGObjCGNU.cpp896 assert ((CGM.getLangOpts().getGC() == LangOptions::NonGC)); in GetOptimizedPropertySetFunction()
2377 if ((Opts.getGC() != LangOptions::NonGC) || Opts.ObjCAutoRefCount) in CGObjCGNU()
2381 if (Opts.getGC() != LangOptions::NonGC) { in CGObjCGNU()
3984 case LangOptions::NonGC: in ModuleInitFunction()
H A DCGClass.cpp1080 CGF.getLangOpts().getGC() == LangOptions::NonGC), in ConstructorMemcpyizer()
1220 AssignmentsMemcpyable(CGF.getLangOpts().getGC() == LangOptions::NonGC) { in AssignmentMemcpyizer()
H A DCGExprAgg.cpp2193 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) { in EmitAggregateCopy()
H A DCGExpr.cpp2654 if (Ctx.getLangOpts().getGC() == LangOptions::NonGC) in setObjCGCLValueClass()
3217 getLangOpts().getGC() != LangOptions::NonGC && in EmitUnaryOpLValue()
4309 getLangOpts().getGC() != LangOptions::NonGC) { in EmitArraySubscriptExpr()
H A DCGDecl.cpp2125 if (getLangOpts().getGC() != LangOptions::NonGC && in EmitAutoVarCleanups()
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/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()
1399 getLangOpts().getGC() != LangOptions::NonGC)) { in ActOnPropertyImplDecl()
1408 getLangOpts().getGC() != LangOptions::NonGC) { in ActOnPropertyImplDecl()
2165 if (getLangOpts().getGC() != LangOptions::NonGC) in AtomicPropertySetterGetterRules()
2780 if (isAnyClassTy && getLangOpts().getGC() == LangOptions::NonGC) in CheckObjCPropertyAttributes()
2790 if (getLangOpts().getGC() == LangOptions::NonGC) in CheckObjCPropertyAttributes()
H A DSemaDeclObjC.cpp485 if (Context.getLangOpts().getGC() != LangOptions::NonGC) in ActOnStartOfObjCMethodDef()
H A DSemaDecl.cpp8798 if (getLangOpts().getGC() != LangOptions::NonGC) in CheckVariableDeclarationType()
19366 getLangOpts().getGC() != LangOptions::NonGC && Record && in ActOnFields()
H A DSemaCodeComplete.cpp7471 if (getLangOpts().ObjCWeak || getLangOpts().getGC() != LangOptions::NonGC) in CodeCompleteObjCPropertyFlags()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DLangOptions.h88 enum GCMode { NonGC, GCOnly, HybridGC }; enumerator
H A DLangOptions.def358 ENUM_LANGOPT(GC, GCMode, 2, NonGC, "Objective-C Garbage Collection mode")
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DInitPreprocessor.cpp871 if (LangOpts.getGC() != LangOptions::NonGC) in InitializePredefinedMacros()
1258 LangOpts.getGC() != LangOptions::NonGC) { in InitializePredefinedMacros()
H A DCompilerInvocation.cpp3810 } else if (Opts.getGC() != LangOptions::NonGC) { in ParseLangArgs()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp7544 getLangOpts().getGC() != LangOptions::NonGC) in getByrefLifetime()
9351 if (getLangOpts().getGC() == LangOptions::NonGC) in getObjCGCAttrKind()