Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DGCMetadata.cpp33 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 DShadowStackGCLowering.cpp218 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 DARCMT.cpp243 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 DSemaObjCProperty.cpp130 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 DSemaDeclObjC.cpp489 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 DLLVMContext.h137 const std::string &getGC(const Function &Fn);
H A DFunction.h345 const std::string &getGC() const;
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCheckObjCDealloc.cpp198 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 DLLVMContext.cpp343 const std::string &LLVMContext::getGC(const Function &Fn) { in getGC() function in LLVMContext
H A DFunction.cpp814 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 DValue.cpp831 const auto &GCName = F->getGC(); in canBeFreed()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DPlaceSafepoints.cpp605 const auto &FunctionGCName = F.getGC(); in shouldRewriteFunction()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjC.cpp411 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 DCGObjCMac.cpp2262 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 DCGObjCGNU.cpp895 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 DCGBlocks.cpp169 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 DCGExprAgg.cpp95 if (CGF.getLangOpts().getGC() && TypeRequiresGCollection(T)) in needsGC()
2184 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) { in EmitAggregateCopy()
H A DCGDecl.cpp2156 if (getLangOpts().getGC() != LangOptions::NonGC && in EmitAutoVarCleanups()
2176 CGM.getLangOpts().getGC() != LangOptions::GCOnly) { in EmitAutoVarCleanups()
H A DCGClass.cpp1089 CGF.getLangOpts().getGC() == LangOptions::NonGC), in ConstructorMemcpyizer()
1229 AssignmentsMemcpyable(CGF.getLangOpts().getGC() == LangOptions::NonGC) { in AssignmentMemcpyizer()
H A DCGExpr.cpp2669 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 DFunctionComparator.cpp954 if (int Res = cmpMem(FnL->getGC(), FnR->getGC())) in compareSignature()
H A DInlineFunction.cpp2219 Caller->setGC(CalledFunc->getGC()); in InlineFunction()
2220 else if (CalledFunc->getGC() != Caller->getGC()) in InlineFunction()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DInitPreprocessor.cpp959 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 DDXILBitcodeWriter.cpp1217 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 DBitcodeWriter.cpp1461 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()

12