| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | NSAutoreleasePoolChecker.cpp | 79 if (mgr.getLangOpts().getGC() != LangOptions::NonGC) in registerNSAutoreleasePoolChecker()
|
| H A D | ObjCSuperDeallocChecker.cpp | 286 if (LangOpts.getGC() == LangOptions::GCOnly || LangOpts.ObjCAutoRefCount) in registerObjCSuperDeallocChecker()
|
| H A D | CheckObjCDealloc.cpp | 193 assert(Mgr.getLangOpts().getGC() != LangOptions::GCOnly); in REGISTER_SET_FACTORY_WITH_PROGRAMSTATE() 1092 if (LangOpts.getGC() == LangOptions::GCOnly || LangOpts.ObjCAutoRefCount) in registerObjCDeallocChecker()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaObjCProperty.cpp | 133 if (S.getLangOpts().getGC() != LangOptions::NonGC) { in deducePropertyOwnershipFromType() 598 if (getLangOpts().getGC() != LangOptions::NonGC && in CreatePropertyDecl() 1206 if (getLangOpts().getGC() != LangOptions::NonGC) { in ActOnPropertyImplDecl() 1372 getLangOpts().getGC() != LangOptions::NonGC)) { in ActOnPropertyImplDecl() 1381 getLangOpts().getGC() != LangOptions::NonGC) { in ActOnPropertyImplDecl() 2116 if (getLangOpts().getGC() != LangOptions::NonGC) in AtomicPropertySetterGetterRules() 2209 if (getLangOpts().getGC() == LangOptions::GCOnly) in DiagnoseOwningPropertyGetterSynthesis() 2676 if (isAnyClassTy && getLangOpts().getGC() == LangOptions::NonGC) in CheckObjCPropertyAttributes() 2682 if (getLangOpts().getGC() != LangOptions::GCOnly) in CheckObjCPropertyAttributes() 2686 if (getLangOpts().getGC() == LangOptions::NonGC) in CheckObjCPropertyAttributes() [all …]
|
| H A D | SemaDeclObjC.cpp | 480 getLangOpts().getGC() == LangOptions::GCOnly)) in ActOnStartOfObjCMethodDef() 484 if (Context.getLangOpts().getGC() != LangOptions::NonGC) in ActOnStartOfObjCMethodDef()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | ShadowStackGCLowering.cpp | 171 if (F.hasGC() && F.getGC() == std::string("shadow-stack")) { in doInitialization() 287 F.getGC() != std::string("shadow-stack")) in runOnFunction()
|
| H A D | GCMetadata.cpp | 75 GCStrategy *S = getGCStrategy(F.getGC()); in getFunctionInfo()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/ |
| H A D | ARCMT.cpp | 245 LangOptions::GCMode OrigGCMode = origCI.getLangOpts()->getGC(); in checkForManualIssues() 346 LangOptions::GCMode OrigGCMode = origCI.getLangOpts()->getGC(); in applyTransforms() 580 MigrationPass pass(Ctx, OrigCI.getLangOpts()->getGC(), in applyTransform()
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | LLVMContext.h | 150 const std::string &getGC(const Function &Fn);
|
| H A D | Function.h | 352 const std::string &getGC() const;
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | LLVMContext.cpp | 309 const std::string &LLVMContext::getGC(const Function &Fn) { in getGC() function in LLVMContext
|
| H A D | Function.cpp | 465 const std::string &Function::getGC() const { in getGC() function in Function 467 return getContext().getGC(*this); in getGC() 489 setGC(Src->getGC()); in copyAttributesFrom()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGObjC.cpp | 403 CGM.getLangOpts().getGC() == LangOptions::NonGC && in tryGenerateSpecializedMessageSend() 410 CGM.getLangOpts().getGC() == LangOptions::NonGC && in tryGenerateSpecializedMessageSend() 417 CGM.getLangOpts().getGC() == LangOptions::NonGC && in tryGenerateSpecializedMessageSend() 787 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { in PropertyImplStrategy() 837 (CGM.getLangOpts().getGC() && in PropertyImplStrategy() 844 if (CGM.getLangOpts().getGC()) in PropertyImplStrategy() 1244 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) in UseOptimizedSetter()
|
| H A D | CGObjCMac.cpp | 2217 if (Ctx.getLangOpts().getGC() != LangOptions::NonGC) { in GetGCAttrTypeForType() 2298 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) in BuildGCBlockLayout() 2842 assert(CGM.getLangOpts().getGC() == LangOptions::NonGC); in fillRunSkipBlockVars() 2908 assert(CGM.getLangOpts().getGC() == LangOptions::NonGC); in BuildByrefLayout() 3427 assert(CGM.getLangOpts().getGC() == LangOptions::NonGC); in hasMRCWeakIvars() 4915 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) { in EmitImageInfo() 4925 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { in EmitImageInfo() 5316 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) { in buildBitmap() 5355 if (CGM.getLangOpts().getGC() == LangOptions::NonGC && in BuildIvarLayout() 5374 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) { in BuildIvarLayout() [all …]
|
| H A D | CGObjCGNU.cpp | 883 assert ((CGM.getLangOpts().getGC() == LangOptions::NonGC)); in GetOptimizedPropertySetFunction() 2137 if ((Opts.getGC() != LangOptions::NonGC) || Opts.ObjCAutoRefCount) in CGObjCGNU() 2141 if (Opts.getGC() != LangOptions::NonGC) { in CGObjCGNU() 2406 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { in GenerateMessageSendSuper() 2528 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { in GenerateMessageSend() 3673 switch (CGM.getLangOpts().getGC()) { in ModuleInitFunction()
|
| H A D | CGExprAgg.cpp | 93 if (CGF.getLangOpts().getGC() && TypeRequiresGCollection(T)) in needsGC() 1902 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) { in EmitAggregateCopy()
|
| H A D | CGBlocks.cpp | 204 CGM.getLangOpts().getGC() == LangOptions::NonGC) { in buildBlockDescriptor() 250 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) in buildBlockDescriptor() 540 CGM.getLangOpts().getGC() == LangOptions::NonGC) in computeBlockInfo()
|
| H A D | CGDecl.cpp | 1894 if (getLangOpts().getGC() != LangOptions::NonGC && in EmitAutoVarCleanups() 1914 CGM.getLangOpts().getGC() != LangOptions::GCOnly) { in EmitAutoVarCleanups()
|
| H A D | CGClass.cpp | 1073 CGF.getLangOpts().getGC() == LangOptions::NonGC), in ConstructorMemcpyizer() 1213 AssignmentsMemcpyable(CGF.getLangOpts().getGC() == LangOptions::NonGC) { in AssignmentMemcpyizer()
|
| H A D | CGExpr.cpp | 2177 if (Ctx.getLangOpts().getGC() == LangOptions::NonGC) in setObjCGCLValueClass() 2621 getLangOpts().getGC() != LangOptions::NonGC && in EmitUnaryOpLValue() 3503 getLangOpts().getGC() != LangOptions::NonGC) { in EmitArraySubscriptExpr()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | FunctionComparator.cpp | 802 if (int Res = cmpMem(FnL->getGC(), FnR->getGC())) in compareSignature()
|
| H A D | InlineFunction.cpp | 1547 Caller->setGC(CalledFunc->getGC()); in InlineFunction() 1548 else if (CalledFunc->getGC() != Caller->getGC()) in InlineFunction()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | PlaceSafepoints.cpp | 452 const auto &FunctionGCName = F.getGC(); in shouldRewriteFunction()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/ |
| H A D | InitPreprocessor.cpp | 629 if (LangOpts.getGC() != LangOptions::NonGC) in InitializePredefinedMacros() 997 LangOpts.getGC() != LangOptions::NonGC) { in InitializePredefinedMacros()
|
| /freebsd-12.1/contrib/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 1170 unsigned &Entry = GCMap[F.getGC()]; in writeModuleInfo() 1172 writeStringRecord(Stream, bitc::MODULE_CODE_GCNAME, F.getGC(), in writeModuleInfo() 1295 Vals.push_back(F.hasGC() ? GCMap[F.getGC()] : 0); in writeModuleInfo()
|