Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DNSAutoreleasePoolChecker.cpp85 return LO.getGC() != LangOptions::NonGC; in shouldRegisterNSAutoreleasePoolChecker()
H A DCheckObjCDealloc.cpp193 assert(Mgr.getLangOpts().getGC() != LangOptions::GCOnly); in REGISTER_SET_FACTORY_WITH_PROGRAMSTATE()
1095 return LO.getGC() != LangOptions::GCOnly && !LO.ObjCAutoRefCount; in shouldRegisterObjCDeallocChecker()
/openbsd-src/gnu/llvm/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.cpp72 GCStrategy *S = getGCStrategy(F.getGC()); in getFunctionInfo()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DLLVMContext.h136 const std::string &getGC(const Function &Fn);
H A DFunction.h308 const std::string &getGC() const;
/openbsd-src/gnu/llvm/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()
2166 if (getLangOpts().getGC() != LangOptions::NonGC) in AtomicPropertySetterGetterRules()
2258 if (getLangOpts().getGC() == LangOptions::GCOnly) in DiagnoseOwningPropertyGetterSynthesis()
2785 if (isAnyClassTy && getLangOpts().getGC() == LangOptions::NonGC) in CheckObjCPropertyAttributes()
2791 if (getLangOpts().getGC() != LangOptions::GCOnly) in CheckObjCPropertyAttributes()
2795 if (getLangOpts().getGC() == LangOptions::NonGC) in CheckObjCPropertyAttributes()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DLLVMContext.cpp328 const std::string &LLVMContext::getGC(const Function &Fn) { in getGC() function in LLVMContext
H A DFunction.cpp714 const std::string &Function::getGC() const { in getGC() function in Function
716 return getContext().getGC(*this); in getGC()
744 setGC(Src->getGC()); in copyAttributesFrom()
H A DValue.cpp822 const auto &GCName = F->getGC(); in canBeFreed()
/openbsd-src/gnu/llvm/clang/tools/arcmt-test/
H A Darcmt-test.cpp177 transforms = arcmt::getAllTransformations(origCI.getLangOpts()->getGC(), in performTransformations()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DPlaceSafepoints.cpp451 const auto &FunctionGCName = F.getGC(); in shouldRewriteFunction()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp848 if (int Res = cmpMem(FnL->getGC(), FnR->getGC())) in compareSignature()
H A DInlineFunction.cpp2067 Caller->setGC(CalledFunc->getGC()); in InlineFunction()
2068 else if (CalledFunc->getGC() != Caller->getGC()) in InlineFunction()
/openbsd-src/gnu/llvm/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()
943 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { in PropertyImplStrategy()
993 (CGM.getLangOpts().getGC() && in PropertyImplStrategy()
1000 if (CGM.getLangOpts().getGC()) in PropertyImplStrategy()
1430 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) in UseOptimizedSetter()
H A DCGObjCMac.cpp2263 if (Ctx.getLangOpts().getGC() != LangOptions::NonGC) { in GetGCAttrTypeForType()
2344 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) in BuildGCBlockLayout()
2885 assert(CGM.getLangOpts().getGC() == LangOptions::NonGC); in fillRunSkipBlockVars()
2950 assert(CGM.getLangOpts().getGC() == LangOptions::NonGC); in BuildByrefLayout()
3476 assert(CGM.getLangOpts().getGC() == LangOptions::NonGC); in hasMRCWeakIvars()
5129 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) { in EmitImageInfo()
5141 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { in EmitImageInfo()
5533 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) { in buildBitmap()
5572 if (CGM.getLangOpts().getGC() == LangOptions::NonGC && in BuildIvarLayout()
5591 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()
3874 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()
589 CGM.getLangOpts().getGC() == LangOptions::NonGC) in computeBlockInfo()
H A DCGExprAgg.cpp95 if (CGF.getLangOpts().getGC() && TypeRequiresGCollection(T)) in needsGC()
2183 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) { in EmitAggregateCopy()
H A DCGDecl.cpp2064 if (getLangOpts().getGC() != LangOptions::NonGC && in EmitAutoVarCleanups()
2084 CGM.getLangOpts().getGC() != LangOptions::GCOnly) { in EmitAutoVarCleanups()
H A DCGClass.cpp1087 CGF.getLangOpts().getGC() == LangOptions::NonGC), in ConstructorMemcpyizer()
1227 AssignmentsMemcpyable(CGF.getLangOpts().getGC() == LangOptions::NonGC) { in AssignmentMemcpyizer()
H A DCGExpr.cpp2379 if (Ctx.getLangOpts().getGC() == LangOptions::NonGC) in setObjCGCLValueClass()
2955 getLangOpts().getGC() != LangOptions::NonGC && in EmitUnaryOpLValue()
3924 getLangOpts().getGC() != LangOptions::NonGC) { in EmitArraySubscriptExpr()
/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DInitPreprocessor.cpp822 if (LangOpts.getGC() != LangOptions::NonGC) in InitializePredefinedMacros()
1209 LangOpts.getGC() != LangOptions::NonGC) { in InitializePredefinedMacros()
/openbsd-src/gnu/llvm/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp1229 unsigned &Entry = GCMap[F.getGC()]; in writeModuleInfo()
1231 writeStringRecord(Stream, bitc::MODULE_CODE_GCNAME, F.getGC(), in writeModuleInfo()
1322 Vals.push_back(F.hasGC() ? GCMap[F.getGC()] : 0); in writeModuleInfo()

12