Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DNSAutoreleasePoolChecker.cpp79 if (mgr.getLangOpts().getGC() != LangOptions::NonGC) in registerNSAutoreleasePoolChecker()
H A DObjCSuperDeallocChecker.cpp286 if (LangOpts.getGC() == LangOptions::GCOnly || LangOpts.ObjCAutoRefCount) in registerObjCSuperDeallocChecker()
H A DCheckObjCDealloc.cpp193 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 DSemaObjCProperty.cpp133 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 DSemaDeclObjC.cpp480 getLangOpts().getGC() == LangOptions::GCOnly)) in ActOnStartOfObjCMethodDef()
484 if (Context.getLangOpts().getGC() != LangOptions::NonGC) in ActOnStartOfObjCMethodDef()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DShadowStackGCLowering.cpp171 if (F.hasGC() && F.getGC() == std::string("shadow-stack")) { in doInitialization()
287 F.getGC() != std::string("shadow-stack")) in runOnFunction()
H A DGCMetadata.cpp75 GCStrategy *S = getGCStrategy(F.getGC()); in getFunctionInfo()
/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DARCMT.cpp245 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 DLLVMContext.h150 const std::string &getGC(const Function &Fn);
H A DFunction.h352 const std::string &getGC() const;
/freebsd-12.1/contrib/llvm/lib/IR/
H A DLLVMContext.cpp309 const std::string &LLVMContext::getGC(const Function &Fn) { in getGC() function in LLVMContext
H A DFunction.cpp465 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 DCGObjC.cpp403 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 DCGObjCMac.cpp2217 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 DCGObjCGNU.cpp883 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 DCGExprAgg.cpp93 if (CGF.getLangOpts().getGC() && TypeRequiresGCollection(T)) in needsGC()
1902 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) { in EmitAggregateCopy()
H A DCGBlocks.cpp204 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 DCGDecl.cpp1894 if (getLangOpts().getGC() != LangOptions::NonGC && in EmitAutoVarCleanups()
1914 CGM.getLangOpts().getGC() != LangOptions::GCOnly) { in EmitAutoVarCleanups()
H A DCGClass.cpp1073 CGF.getLangOpts().getGC() == LangOptions::NonGC), in ConstructorMemcpyizer()
1213 AssignmentsMemcpyable(CGF.getLangOpts().getGC() == LangOptions::NonGC) { in AssignmentMemcpyizer()
H A DCGExpr.cpp2177 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 DFunctionComparator.cpp802 if (int Res = cmpMem(FnL->getGC(), FnR->getGC())) in compareSignature()
H A DInlineFunction.cpp1547 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 DPlaceSafepoints.cpp452 const auto &FunctionGCName = F.getGC(); in shouldRewriteFunction()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DInitPreprocessor.cpp629 if (LangOpts.getGC() != LangOptions::NonGC) in InitializePredefinedMacros()
997 LangOpts.getGC() != LangOptions::NonGC) { in InitializePredefinedMacros()
/freebsd-12.1/contrib/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1170 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()

12