/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | GCMetadata.cpp | 33 if (!StrategyMap.contains(F.getGC())) in invalidate() 48 if (auto GCName = F.getGC(); !Map.contains(GCName)) in run() 68 GCFunctionInfo Info(F, *Map[F.getGC()]); in run() 104 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/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/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaObjCProperty.cpp | 130 if (S.getLangOpts().getGC() != LangOptions::NonGC) { in deducePropertyOwnershipFromType() 576 if (getLangOpts().getGC() != LangOptions::NonGC && isAssign && in CreatePropertyDecl() 1216 if (getLangOpts().getGC() != LangOptions::NonGC) { in ActOnPropertyImplDecl() 1380 getLangOpts().getGC() != LangOptions::NonGC)) { in ActOnPropertyImplDecl() 1389 getLangOpts().getGC() != LangOptions::NonGC) { in ActOnPropertyImplDecl() 2147 if (getLangOpts().getGC() != LangOptions::NonGC) in AtomicPropertySetterGetterRules() 2240 if (getLangOpts().getGC() == LangOptions::GCOnly) in DiagnoseOwningPropertyGetterSynthesis() 2767 if (isAnyClassTy && getLangOpts().getGC() == LangOptions::NonGC) in CheckObjCPropertyAttributes() 2773 if (getLangOpts().getGC() != LangOptions::GCOnly) in CheckObjCPropertyAttributes() 2777 if (getLangOpts().getGC() == LangOptions::NonGC) in CheckObjCPropertyAttributes() [all …]
|
H A D | SemaDeclObjC.cpp | 489 getLangOpts().getGC() == LangOptions::GCOnly)) in ActOnStartOfObjCMethodDef() 493 if (Context.getLangOpts().getGC() != LangOptions::NonGC) in ActOnStartOfObjCMethodDef()
|
/freebsd/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 | 345 const std::string &getGC() const;
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
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/contrib/llvm-project/llvm/lib/IR/ |
H A D | LLVMContext.cpp | 343 const std::string &LLVMContext::getGC(const Function &Fn) { in getGC() function in LLVMContext
|
H A D | Function.cpp | 814 const std::string &Function::getGC() const { in getGC() function in Function 816 return getContext().getGC(*this); in getGC() 844 setGC(Src->getGC()); in copyAttributesFrom()
|
H A D | Value.cpp | 831 const auto &GCName = F->getGC(); in canBeFreed()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | PlaceSafepoints.cpp | 605 const auto &FunctionGCName = F.getGC(); in shouldRewriteFunction()
|
/freebsd/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() 944 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { in PropertyImplStrategy() 994 (CGM.getLangOpts().getGC() && in PropertyImplStrategy() 1001 if (CGM.getLangOpts().getGC()) in PropertyImplStrategy() 1426 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) in UseOptimizedSetter()
|
H A D | CGObjCMac.cpp | 2262 if (Ctx.getLangOpts().getGC() != LangOptions::NonGC) { in GetGCAttrTypeForType() 2343 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) in BuildGCBlockLayout() 2884 assert(CGM.getLangOpts().getGC() == LangOptions::NonGC); in fillRunSkipBlockVars() 2949 assert(CGM.getLangOpts().getGC() == LangOptions::NonGC); in BuildByrefLayout() 3474 assert(CGM.getLangOpts().getGC() == LangOptions::NonGC); in hasMRCWeakIvars() 5108 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) { in EmitImageInfo() 5120 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { in EmitImageInfo() 5501 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) { in buildBitmap() 5540 if (CGM.getLangOpts().getGC() == LangOptions::NonGC && in BuildIvarLayout() 5559 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) { in BuildIvarLayout() [all …]
|
H A D | CGObjCGNU.cpp | 895 assert ((CGM.getLangOpts().getGC() == LangOptions::NonGC)); in GetOptimizedPropertySetFunction() 2376 if ((Opts.getGC() != LangOptions::NonGC) || Opts.ObjCAutoRefCount) in CGObjCGNU() 2380 if (Opts.getGC() != LangOptions::NonGC) { in CGObjCGNU() 2641 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { in GenerateMessageSendSuper() 2759 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { in GenerateMessageSend() 3979 switch (CGM.getLangOpts().getGC()) { in ModuleInitFunction()
|
H A D | CGBlocks.cpp | 169 CGM.getLangOpts().getGC() == LangOptions::NonGC) { in buildBlockDescriptor() 218 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) in buildBlockDescriptor() 573 CGM.getLangOpts().getGC() == LangOptions::NonGC) in computeBlockInfo()
|
H A D | CGExprAgg.cpp | 95 if (CGF.getLangOpts().getGC() && TypeRequiresGCollection(T)) in needsGC() 2184 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) { in EmitAggregateCopy()
|
H A D | CGDecl.cpp | 2156 if (getLangOpts().getGC() != LangOptions::NonGC && in EmitAutoVarCleanups() 2176 CGM.getLangOpts().getGC() != LangOptions::GCOnly) { in EmitAutoVarCleanups()
|
H A D | CGClass.cpp | 1089 CGF.getLangOpts().getGC() == LangOptions::NonGC), in ConstructorMemcpyizer() 1229 AssignmentsMemcpyable(CGF.getLangOpts().getGC() == LangOptions::NonGC) { in AssignmentMemcpyizer()
|
H A D | CGExpr.cpp | 2669 if (Ctx.getLangOpts().getGC() == LangOptions::NonGC) in setObjCGCLValueClass() 3217 getLangOpts().getGC() != LangOptions::NonGC && in EmitUnaryOpLValue() 4351 getLangOpts().getGC() != LangOptions::NonGC) { in EmitArraySubscriptExpr()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | FunctionComparator.cpp | 954 if (int Res = cmpMem(FnL->getGC(), FnR->getGC())) in compareSignature()
|
H A D | InlineFunction.cpp | 2219 Caller->setGC(CalledFunc->getGC()); in InlineFunction() 2220 else if (CalledFunc->getGC() != Caller->getGC()) in InlineFunction()
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | InitPreprocessor.cpp | 959 if (LangOpts.getGC() != LangOptions::NonGC) in InitializePredefinedMacros() 1405 LangOpts.getGC() != LangOptions::NonGC) { in InitializePredefinedMacros()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/ |
H A D | DXILBitcodeWriter.cpp | 1217 unsigned &Entry = GCMap[F.getGC()]; in writeModuleInfo() 1219 writeStringRecord(Stream, bitc::MODULE_CODE_GCNAME, F.getGC(), in writeModuleInfo() 1310 Vals.push_back(F.hasGC() ? GCMap[F.getGC()] : 0); in writeModuleInfo()
|
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
H A D | BitcodeWriter.cpp | 1461 unsigned &Entry = GCMap[F.getGC()]; in writeModuleInfo() 1463 writeStringRecord(Stream, bitc::MODULE_CODE_GCNAME, F.getGC(), in writeModuleInfo() 1594 Vals.push_back(F.hasGC() ? GCMap[F.getGC()] : 0); in writeModuleInfo()
|