Home
last modified time | relevance | path

Searched refs:getGC (Results 1 – 25 of 32) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNSAutoreleasePoolChecker.cpp85 return LO.getGC() != LangOptions::NonGC; in shouldRegisterNSAutoreleasePoolChecker()
H A DCheckObjCDealloc.cpp192 assert(Mgr.getLangOpts().getGC() != LangOptions::GCOnly); in REGISTER_SET_FACTORY_WITH_PROGRAMSTATE()
1094 return LO.getGC() != LangOptions::GCOnly && !LO.ObjCAutoRefCount; in shouldRegisterObjCDeallocChecker()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DShadowStackGCLowering.cpp176 if (F.hasGC() && F.getGC() == std::string("shadow-stack")) { in doInitialization()
296 F.getGC() != std::string("shadow-stack")) in runOnFunction()
H A DGCMetadata.cpp75 GCStrategy *S = getGCStrategy(F.getGC()); in getFunctionInfo()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DLLVMContext.h135 const std::string &getGC(const Function &Fn);
H A DFunction.h397 const std::string &getGC() const;
/freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/
H A DARCMT.cpp245 LangOptions::GCMode OrigGCMode = origCI.getLangOpts()->getGC(); in checkForManualIssues()
346 LangOptions::GCMode OrigGCMode = origCI.getLangOpts()->getGC(); in applyTransforms()
582 MigrationPass pass(Ctx, OrigCI.getLangOpts()->getGC(), in applyTransform()
/freebsd-13.1/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()
1400 getLangOpts().getGC() != LangOptions::NonGC)) { in ActOnPropertyImplDecl()
1409 getLangOpts().getGC() != LangOptions::NonGC) { in ActOnPropertyImplDecl()
2169 if (getLangOpts().getGC() != LangOptions::NonGC) in AtomicPropertySetterGetterRules()
2261 if (getLangOpts().getGC() == LangOptions::GCOnly) in DiagnoseOwningPropertyGetterSynthesis()
2788 if (isAnyClassTy && getLangOpts().getGC() == LangOptions::NonGC) in CheckObjCPropertyAttributes()
2794 if (getLangOpts().getGC() != LangOptions::GCOnly) in CheckObjCPropertyAttributes()
2798 if (getLangOpts().getGC() == LangOptions::NonGC) in CheckObjCPropertyAttributes()
[all …]
H A DSemaDeclObjC.cpp481 getLangOpts().getGC() == LangOptions::GCOnly)) in ActOnStartOfObjCMethodDef()
485 if (Context.getLangOpts().getGC() != LangOptions::NonGC) in ActOnStartOfObjCMethodDef()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContext.cpp308 const std::string &LLVMContext::getGC(const Function &Fn) { in getGC() function in LLVMContext
H A DFunction.cpp644 const std::string &Function::getGC() const { in getGC() function in Function
646 return getContext().getGC(*this); in getGC()
674 setGC(Src->getGC()); in copyAttributesFrom()
H A DValue.cpp809 const auto &GCName = F->getGC(); in canBeFreed()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DPlaceSafepoints.cpp450 const auto &FunctionGCName = F.getGC(); in shouldRewriteFunction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp833 if (int Res = cmpMem(FnL->getGC(), FnR->getGC())) in compareSignature()
H A DInlineFunction.cpp1807 Caller->setGC(CalledFunc->getGC()); in InlineFunction()
1808 else if (CalledFunc->getGC() != Caller->getGC()) in InlineFunction()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjC.cpp409 CGM.getLangOpts().getGC() == LangOptions::NonGC && in tryGenerateSpecializedMessageSend()
416 CGM.getLangOpts().getGC() == LangOptions::NonGC && in tryGenerateSpecializedMessageSend()
423 CGM.getLangOpts().getGC() == LangOptions::NonGC && in tryGenerateSpecializedMessageSend()
939 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { in PropertyImplStrategy()
989 (CGM.getLangOpts().getGC() && in PropertyImplStrategy()
996 if (CGM.getLangOpts().getGC()) in PropertyImplStrategy()
1395 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) in UseOptimizedSetter()
H A DCGObjCMac.cpp2322 if (Ctx.getLangOpts().getGC() != LangOptions::NonGC) { in GetGCAttrTypeForType()
2403 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) in BuildGCBlockLayout()
2944 assert(CGM.getLangOpts().getGC() == LangOptions::NonGC); in fillRunSkipBlockVars()
3010 assert(CGM.getLangOpts().getGC() == LangOptions::NonGC); in BuildByrefLayout()
3536 assert(CGM.getLangOpts().getGC() == LangOptions::NonGC); in hasMRCWeakIvars()
5174 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) { in EmitImageInfo()
5186 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { in EmitImageInfo()
5578 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) { in buildBitmap()
5617 if (CGM.getLangOpts().getGC() == LangOptions::NonGC && in BuildIvarLayout()
5636 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) { in BuildIvarLayout()
[all …]
H A DCGObjCGNU.cpp887 assert ((CGM.getLangOpts().getGC() == LangOptions::NonGC)); in GetOptimizedPropertySetFunction()
2255 if ((Opts.getGC() != LangOptions::NonGC) || Opts.ObjCAutoRefCount) in CGObjCGNU()
2259 if (Opts.getGC() != LangOptions::NonGC) { in CGObjCGNU()
2524 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { in GenerateMessageSendSuper()
2644 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { in GenerateMessageSend()
3793 switch (CGM.getLangOpts().getGC()) { in ModuleInitFunction()
H A DCGBlocks.cpp203 CGM.getLangOpts().getGC() == LangOptions::NonGC) { in buildBlockDescriptor()
249 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) in buildBlockDescriptor()
541 CGM.getLangOpts().getGC() == LangOptions::NonGC) in computeBlockInfo()
H A DCGExprAgg.cpp94 if (CGF.getLangOpts().getGC() && TypeRequiresGCollection(T)) in needsGC()
2143 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) { in EmitAggregateCopy()
H A DCGDecl.cpp2048 if (getLangOpts().getGC() != LangOptions::NonGC && in EmitAutoVarCleanups()
2068 CGM.getLangOpts().getGC() != LangOptions::GCOnly) { in EmitAutoVarCleanups()
H A DCGClass.cpp1093 CGF.getLangOpts().getGC() == LangOptions::NonGC), in ConstructorMemcpyizer()
1233 AssignmentsMemcpyable(CGF.getLangOpts().getGC() == LangOptions::NonGC) { in AssignmentMemcpyizer()
H A DCGExpr.cpp2337 if (Ctx.getLangOpts().getGC() == LangOptions::NonGC) in setObjCGCLValueClass()
2894 getLangOpts().getGC() != LangOptions::NonGC && in EmitUnaryOpLValue()
3859 getLangOpts().getGC() != LangOptions::NonGC) { in EmitArraySubscriptExpr()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DInitPreprocessor.cpp719 if (LangOpts.getGC() != LangOptions::NonGC) in InitializePredefinedMacros()
1098 LangOpts.getGC() != LangOptions::NonGC) { in InitializePredefinedMacros()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1264 unsigned &Entry = GCMap[F.getGC()]; in writeModuleInfo()
1266 writeStringRecord(Stream, bitc::MODULE_CODE_GCNAME, F.getGC(), in writeModuleInfo()
1394 Vals.push_back(F.hasGC() ? GCMap[F.getGC()] : 0); in writeModuleInfo()

12