Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DGCMetadata.cpp29 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 DShadowStackGCLowering.cpp217 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 DSemaObjCProperty.cpp128 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 DSemaDeclObjC.cpp488 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 DLLVMContext.h143 LLVM_ABI const std::string &getGC(const Function &Fn);
H A DFunction.h347 const std::string &getGC() const;
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DFunction.cpp831 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 DLLVMContext.cpp322 const std::string &LLVMContext::getGC(const Function &Fn) { in getGC() function in LLVMContext
H A DValue.cpp862 const auto &GCName = F->getGC(); in canBeFreed()
/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/Transforms/Scalar/
H A DPlaceSafepoints.cpp601 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()
1462 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) in UseOptimizedSetter()
H A DCGObjCMac.cpp2181 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 DCGObjCGNU.cpp896 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 DCGBlocks.cpp168 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 DCGExprAgg.cpp101 if (CGF.getLangOpts().getGC() && TypeRequiresGCollection(T)) in needsGC()
2377 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) { in EmitAggregateCopy()
H A DCGClass.cpp1089 CGF.getLangOpts().getGC() == LangOptions::NonGC), in ConstructorMemcpyizer()
1230 AssignmentsMemcpyable(CGF.getLangOpts().getGC() == LangOptions::NonGC) { in AssignmentMemcpyizer()
H A DCGDecl.cpp2221 if (getLangOpts().getGC() != LangOptions::NonGC && in EmitAutoVarCleanups()
2241 CGM.getLangOpts().getGC() != LangOptions::GCOnly) { in EmitAutoVarCleanups()
H A DCGExpr.cpp2794 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 DFunctionComparator.cpp968 if (int Res = cmpMem(FnL->getGC(), FnR->getGC())) in compareSignature()
H A DInlineFunction.cpp2545 Caller->setGC(CalledFunc->getGC()); in InlineFunction()
2546 else if (CalledFunc->getGC() != Caller->getGC()) in InlineFunction()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DInitPreprocessor.cpp969 if (LangOpts.getGC() != LangOptions::NonGC) in InitializePredefinedMacros()
1426 LangOpts.getGC() != LangOptions::NonGC) { in InitializePredefinedMacros()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenExpr.cpp840 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 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.cpp1529 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()

12