| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | GCMetadata.cpp | 29 if (!contains(F.getGC())) in invalidate() 43 StringRef GCName = F.getGC(); in run() 66 GCStrategy &S = *Map.try_emplace(F.getGC()).first->second; in run() 103 GCStrategy *S = getGCStrategy(F.getGC()); in getFunctionInfo()
|
| H A D | ShadowStackGCLowering.cpp | 217 if (F.hasGC() && F.getGC() == "shadow-stack") { in doInitialization() 333 if (!F.hasGC() || F.getGC() != "shadow-stack") in runOnFunction()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaObjCProperty.cpp | 128 if (S.getLangOpts().getGC() != LangOptions::NonGC) { in deducePropertyOwnershipFromType() 577 if (getLangOpts().getGC() != LangOptions::NonGC && isAssign && in CreatePropertyDecl() 1217 if (getLangOpts().getGC() != LangOptions::NonGC) { in ActOnPropertyImplDecl() 1390 getLangOpts().getGC() != LangOptions::NonGC)) { in ActOnPropertyImplDecl() 1399 getLangOpts().getGC() != LangOptions::NonGC) { in ActOnPropertyImplDecl() 2156 if (getLangOpts().getGC() != LangOptions::NonGC) in AtomicPropertySetterGetterRules() 2249 if (getLangOpts().getGC() == LangOptions::GCOnly) in DiagnoseOwningPropertyGetterSynthesis() 2776 if (isAnyClassTy && getLangOpts().getGC() == LangOptions::NonGC) in CheckObjCPropertyAttributes() 2782 if (getLangOpts().getGC() != LangOptions::GCOnly) in CheckObjCPropertyAttributes() 2786 if (getLangOpts().getGC() == LangOptions::NonGC) in CheckObjCPropertyAttributes() [all …]
|
| H A D | SemaDeclObjC.cpp | 488 getLangOpts().getGC() == LangOptions::GCOnly)) in ActOnStartOfObjCMethodDef() 492 if (Context.getLangOpts().getGC() != LangOptions::NonGC) in ActOnStartOfObjCMethodDef()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | LLVMContext.h | 143 LLVM_ABI const std::string &getGC(const Function &Fn);
|
| H A D | Function.h | 347 const std::string &getGC() const;
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Function.cpp | 831 const std::string &Function::getGC() const { in getGC() function in Function 833 return getContext().getGC(*this); in getGC() 861 setGC(Src->getGC()); in copyAttributesFrom()
|
| H A D | LLVMContext.cpp | 322 const std::string &LLVMContext::getGC(const Function &Fn) { in getGC() function in LLVMContext
|
| H A D | Value.cpp | 862 const auto &GCName = F->getGC(); in canBeFreed()
|
| /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/Transforms/Scalar/ |
| H A D | PlaceSafepoints.cpp | 601 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() 1462 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) in UseOptimizedSetter()
|
| H A D | CGObjCMac.cpp | 2181 if (Ctx.getLangOpts().getGC() != LangOptions::NonGC) { in GetGCAttrTypeForType() 2259 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) in BuildGCBlockLayout() 2797 assert(CGM.getLangOpts().getGC() == LangOptions::NonGC); in fillRunSkipBlockVars() 2863 assert(CGM.getLangOpts().getGC() == LangOptions::NonGC); in BuildByrefLayout() 3373 assert(CGM.getLangOpts().getGC() == LangOptions::NonGC); in hasMRCWeakIvars() 5005 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) { in EmitImageInfo() 5015 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { in EmitImageInfo() 5412 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) { in buildBitmap() 5451 if (CGM.getLangOpts().getGC() == LangOptions::NonGC && in BuildIvarLayout() 5470 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) { in BuildIvarLayout() [all …]
|
| H A D | CGObjCGNU.cpp | 896 assert ((CGM.getLangOpts().getGC() == LangOptions::NonGC)); in GetOptimizedPropertySetFunction() 2478 if ((Opts.getGC() != LangOptions::NonGC) || Opts.ObjCAutoRefCount) in CGObjCGNU() 2482 if (Opts.getGC() != LangOptions::NonGC) { in CGObjCGNU() 2742 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { in GenerateMessageSendSuper() 2856 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { in GenerateMessageSend() 4070 switch (CGM.getLangOpts().getGC()) { in ModuleInitFunction()
|
| H A D | CGBlocks.cpp | 168 CGM.getLangOpts().getGC() == LangOptions::NonGC) { in buildBlockDescriptor() 218 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) in buildBlockDescriptor() 572 CGM.getLangOpts().getGC() == LangOptions::NonGC) in computeBlockInfo()
|
| H A D | CGExprAgg.cpp | 101 if (CGF.getLangOpts().getGC() && TypeRequiresGCollection(T)) in needsGC() 2377 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) { in EmitAggregateCopy()
|
| H A D | CGClass.cpp | 1089 CGF.getLangOpts().getGC() == LangOptions::NonGC), in ConstructorMemcpyizer() 1230 AssignmentsMemcpyable(CGF.getLangOpts().getGC() == LangOptions::NonGC) { in AssignmentMemcpyizer()
|
| H A D | CGDecl.cpp | 2221 if (getLangOpts().getGC() != LangOptions::NonGC && in EmitAutoVarCleanups() 2241 CGM.getLangOpts().getGC() != LangOptions::GCOnly) { in EmitAutoVarCleanups()
|
| H A D | CGExpr.cpp | 2794 if (Ctx.getLangOpts().getGC() == LangOptions::NonGC) in setObjCGCLValueClass() 3375 getLangOpts().getGC() != LangOptions::NonGC && in EmitUnaryOpLValue() 4650 getLangOpts().getGC() != LangOptions::NonGC) { in EmitArraySubscriptExpr()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | FunctionComparator.cpp | 968 if (int Res = cmpMem(FnL->getGC(), FnR->getGC())) in compareSignature()
|
| H A D | InlineFunction.cpp | 2545 Caller->setGC(CalledFunc->getGC()); in InlineFunction() 2546 else if (CalledFunc->getGC() != Caller->getGC()) in InlineFunction()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | InitPreprocessor.cpp | 969 if (LangOpts.getGC() != LangOptions::NonGC) in InitializePredefinedMacros() 1426 LangOpts.getGC() != LangOptions::NonGC) { in InitializePredefinedMacros()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/ |
| H A D | CIRGenExpr.cpp | 840 if (getLangOpts().ObjC && getLangOpts().getGC() != LangOptions::NonGC) { in emitArraySubscriptExpr() 861 if (getLangOpts().ObjC && getLangOpts().getGC() != LangOptions::NonGC) { in emitArraySubscriptExpr()
|
| /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 | 1529 unsigned &Entry = GCMap[F.getGC()]; in writeModuleInfo() 1531 writeStringRecord(Stream, bitc::MODULE_CODE_GCNAME, F.getGC(), in writeModuleInfo() 1662 Vals.push_back(F.hasGC() ? GCMap[F.getGC()] : 0); in writeModuleInfo()
|