| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | GCMetadata.cpp | 32 if (!StrategyMap.contains(F.getGC())) in invalidate() 47 if (auto GCName = F.getGC(); !Map.contains(GCName)) in run() 67 GCFunctionInfo Info(F, *Map[F.getGC()]); in run() 103 GCStrategy *S = getGCStrategy(F.getGC()); in getFunctionInfo()
|
| H A D | ShadowStackGCLowering.cpp | 218 if (F.hasGC() && F.getGC() == "shadow-stack") { in doInitialization() 335 if (!F.hasGC() || F.getGC() != "shadow-stack") in runOnFunction()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | NSAutoreleasePoolChecker.cpp | 82 return LO.getGC() != LangOptions::NonGC; in shouldRegisterNSAutoreleasePoolChecker()
|
| H A D | CheckObjCDealloc.cpp | 198 assert(Mgr.getLangOpts().getGC() != LangOptions::GCOnly); in REGISTER_SET_FACTORY_WITH_PROGRAMSTATE() 1085 return LO.getGC() != LangOptions::GCOnly && !LO.ObjCAutoRefCount; in shouldRegisterObjCDeallocChecker()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | ARCMT.cpp | 243 LangOptions::GCMode OrigGCMode = origCI.getLangOpts().getGC(); in checkForManualIssues() 344 LangOptions::GCMode OrigGCMode = origCI.getLangOpts().getGC(); in applyTransforms() 580 MigrationPass pass(Ctx, OrigCI.getLangOpts().getGC(), in applyTransform()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | LLVMContext.h | 137 const std::string &getGC(const Function &Fn);
|
| H A D | Function.h | 333 const std::string &getGC() const;
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaObjCProperty.cpp | 128 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() 2257 if (getLangOpts().getGC() == LangOptions::GCOnly) in DiagnoseOwningPropertyGetterSynthesis() 2780 if (isAnyClassTy && getLangOpts().getGC() == LangOptions::NonGC) in CheckObjCPropertyAttributes() 2786 if (getLangOpts().getGC() != LangOptions::GCOnly) in CheckObjCPropertyAttributes() 2790 if (getLangOpts().getGC() == LangOptions::NonGC) in CheckObjCPropertyAttributes() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | LLVMContext.cpp | 336 const std::string &LLVMContext::getGC(const Function &Fn) { in getGC() function in LLVMContext
|
| H A D | Function.cpp | 753 const std::string &Function::getGC() const { in getGC() function in Function 755 return getContext().getGC(*this); in getGC() 783 setGC(Src->getGC()); in copyAttributesFrom()
|
| H A D | Value.cpp | 830 const auto &GCName = F->getGC(); in canBeFreed()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | PlaceSafepoints.cpp | 603 const auto &FunctionGCName = F.getGC(); in shouldRewriteFunction()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGObjC.cpp | 411 CGM.getLangOpts().getGC() == LangOptions::NonGC && in tryGenerateSpecializedMessageSend() 418 CGM.getLangOpts().getGC() == LangOptions::NonGC && in tryGenerateSpecializedMessageSend() 425 CGM.getLangOpts().getGC() == LangOptions::NonGC && in tryGenerateSpecializedMessageSend() 940 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { in PropertyImplStrategy() 990 (CGM.getLangOpts().getGC() && in PropertyImplStrategy() 997 if (CGM.getLangOpts().getGC()) in PropertyImplStrategy() 1422 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) in UseOptimizedSetter()
|
| H A D | CGObjCMac.cpp | 2255 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() 5113 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { 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() [all …]
|
| H A D | CGObjCGNU.cpp | 896 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() 2642 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { in GenerateMessageSendSuper() 2760 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { in GenerateMessageSend() 3980 switch (CGM.getLangOpts().getGC()) { in ModuleInitFunction()
|
| H A D | CGBlocks.cpp | 164 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 D | CGExprAgg.cpp | 93 if (CGF.getLangOpts().getGC() && TypeRequiresGCollection(T)) in needsGC() 2193 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) { in EmitAggregateCopy()
|
| H A D | CGDecl.cpp | 2125 if (getLangOpts().getGC() != LangOptions::NonGC && in EmitAutoVarCleanups() 2145 CGM.getLangOpts().getGC() != LangOptions::GCOnly) { in EmitAutoVarCleanups()
|
| H A D | CGClass.cpp | 1080 CGF.getLangOpts().getGC() == LangOptions::NonGC), in ConstructorMemcpyizer() 1220 AssignmentsMemcpyable(CGF.getLangOpts().getGC() == LangOptions::NonGC) { in AssignmentMemcpyizer()
|
| H A D | CGExpr.cpp | 2654 if (Ctx.getLangOpts().getGC() == LangOptions::NonGC) in setObjCGCLValueClass() 3217 getLangOpts().getGC() != LangOptions::NonGC && in EmitUnaryOpLValue() 4309 getLangOpts().getGC() != LangOptions::NonGC) { in EmitArraySubscriptExpr()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | FunctionComparator.cpp | 934 if (int Res = cmpMem(FnL->getGC(), FnR->getGC())) in compareSignature()
|
| H A D | InlineFunction.cpp | 2119 Caller->setGC(CalledFunc->getGC()); in InlineFunction() 2120 else if (CalledFunc->getGC() != Caller->getGC()) in InlineFunction()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | InitPreprocessor.cpp | 871 if (LangOpts.getGC() != LangOptions::NonGC) in InitializePredefinedMacros() 1258 LangOpts.getGC() != LangOptions::NonGC) { in InitializePredefinedMacros()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/ |
| H A D | DXILBitcodeWriter.cpp | 1218 unsigned &Entry = GCMap[F.getGC()]; in writeModuleInfo() 1220 writeStringRecord(Stream, bitc::MODULE_CODE_GCNAME, F.getGC(), in writeModuleInfo() 1311 Vals.push_back(F.hasGC() ? GCMap[F.getGC()] : 0); in writeModuleInfo()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 1369 unsigned &Entry = GCMap[F.getGC()]; in writeModuleInfo() 1371 writeStringRecord(Stream, bitc::MODULE_CODE_GCNAME, F.getGC(), in writeModuleInfo() 1502 Vals.push_back(F.hasGC() ? GCMap[F.getGC()] : 0); in writeModuleInfo()
|