Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DShadowStackGCLowering.cpp175 if (F.hasGC() && F.getGC() == std::string("shadow-stack")) { in doInitialization()
295 F.getGC() != std::string("shadow-stack")) in runOnFunction()
H A DGCMetadata.cpp72 GCStrategy *S = getGCStrategy(F.getGC()); in getFunctionInfo()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DLLVMContext.h136 const std::string &getGC(const Function &Fn);
H A DFunction.h309 const std::string &getGC() const;
/llvm-project-15.0.7/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 …]
/llvm-project-15.0.7/llvm/lib/IR/
H A DLLVMContext.cpp323 const std::string &LLVMContext::getGC(const Function &Fn) { in getGC() function in LLVMContext
H A DFunction.cpp689 const std::string &Function::getGC() const { in getGC() function in Function
691 return getContext().getGC(*this); in getGC()
719 setGC(Src->getGC()); in copyAttributesFrom()
H A DValue.cpp819 const auto &GCName = F->getGC(); in canBeFreed()
/llvm-project-15.0.7/clang/tools/arcmt-test/
H A Darcmt-test.cpp177 transforms = arcmt::getAllTransformations(origCI.getLangOpts()->getGC(), in performTransformations()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DPlaceSafepoints.cpp451 const auto &FunctionGCName = F.getGC(); in shouldRewriteFunction()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp839 if (int Res = cmpMem(FnL->getGC(), FnR->getGC())) in compareSignature()
H A DInlineFunction.cpp1842 Caller->setGC(CalledFunc->getGC()); in InlineFunction()
1843 else if (CalledFunc->getGC() != Caller->getGC()) in InlineFunction()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGObjC.cpp410 CGM.getLangOpts().getGC() == LangOptions::NonGC && in tryGenerateSpecializedMessageSend()
417 CGM.getLangOpts().getGC() == LangOptions::NonGC && in tryGenerateSpecializedMessageSend()
424 CGM.getLangOpts().getGC() == LangOptions::NonGC && in tryGenerateSpecializedMessageSend()
941 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { in PropertyImplStrategy()
991 (CGM.getLangOpts().getGC() && in PropertyImplStrategy()
998 if (CGM.getLangOpts().getGC()) in PropertyImplStrategy()
1395 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) in UseOptimizedSetter()
H A DCGObjCMac.cpp2258 if (Ctx.getLangOpts().getGC() != LangOptions::NonGC) { in GetGCAttrTypeForType()
2339 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) in BuildGCBlockLayout()
2880 assert(CGM.getLangOpts().getGC() == LangOptions::NonGC); in fillRunSkipBlockVars()
2945 assert(CGM.getLangOpts().getGC() == LangOptions::NonGC); in BuildByrefLayout()
3471 assert(CGM.getLangOpts().getGC() == LangOptions::NonGC); in hasMRCWeakIvars()
5121 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) { in EmitImageInfo()
5133 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { in EmitImageInfo()
5525 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) { in buildBitmap()
5564 if (CGM.getLangOpts().getGC() == LangOptions::NonGC && in BuildIvarLayout()
5583 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) { in BuildIvarLayout()
[all …]
H A DCGObjCGNU.cpp888 assert ((CGM.getLangOpts().getGC() == LangOptions::NonGC)); in GetOptimizedPropertySetFunction()
2263 if ((Opts.getGC() != LangOptions::NonGC) || Opts.ObjCAutoRefCount) in CGObjCGNU()
2267 if (Opts.getGC() != LangOptions::NonGC) { in CGObjCGNU()
2533 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { in GenerateMessageSendSuper()
2651 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { in GenerateMessageSend()
3875 switch (CGM.getLangOpts().getGC()) { in ModuleInitFunction()
H A DCGBlocks.cpp187 CGM.getLangOpts().getGC() == LangOptions::NonGC) { in buildBlockDescriptor()
234 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) in buildBlockDescriptor()
591 CGM.getLangOpts().getGC() == LangOptions::NonGC) in computeBlockInfo()
H A DCGExprAgg.cpp94 if (CGF.getLangOpts().getGC() && TypeRequiresGCollection(T)) in needsGC()
2147 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) { in EmitAggregateCopy()
H A DCGDecl.cpp2060 if (getLangOpts().getGC() != LangOptions::NonGC && in EmitAutoVarCleanups()
2080 CGM.getLangOpts().getGC() != LangOptions::GCOnly) { in EmitAutoVarCleanups()
H A DCGClass.cpp1086 CGF.getLangOpts().getGC() == LangOptions::NonGC), in ConstructorMemcpyizer()
1226 AssignmentsMemcpyable(CGF.getLangOpts().getGC() == LangOptions::NonGC) { in AssignmentMemcpyizer()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DInitPreprocessor.cpp810 if (LangOpts.getGC() != LangOptions::NonGC) in InitializePredefinedMacros()
1196 LangOpts.getGC() != LangOptions::NonGC) { in InitializePredefinedMacros()
/llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp1236 unsigned &Entry = GCMap[F.getGC()]; in writeModuleInfo()
1238 writeStringRecord(Stream, bitc::MODULE_CODE_GCNAME, F.getGC(), in writeModuleInfo()
1329 Vals.push_back(F.hasGC() ? GCMap[F.getGC()] : 0); in writeModuleInfo()
/llvm-project-15.0.7/mlir/lib/Target/LLVMIR/
H A DConvertFromLLVMIR.cpp1201 fop.setGarbageCollectorAttr(b.getStringAttr(f->getGC())); in processFunction()

12