Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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.cpp75 GCStrategy *S = getGCStrategy(F.getGC()); in getFunctionInfo()
/netbsd-src/external/apache2/llvm/dist/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()
2170 if (getLangOpts().getGC() != LangOptions::NonGC) in AtomicPropertySetterGetterRules()
2262 if (getLangOpts().getGC() == LangOptions::GCOnly) in DiagnoseOwningPropertyGetterSynthesis()
2789 if (isAnyClassTy && getLangOpts().getGC() == LangOptions::NonGC) in CheckObjCPropertyAttributes()
2795 if (getLangOpts().getGC() != LangOptions::GCOnly) in CheckObjCPropertyAttributes()
2799 if (getLangOpts().getGC() == LangOptions::NonGC) in CheckObjCPropertyAttributes()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DARCMT.cpp245 LangOptions::GCMode OrigGCMode = origCI.getLangOpts()->getGC(); in checkForManualIssues()
346 LangOptions::GCMode OrigGCMode = origCI.getLangOpts()->getGC(); in applyTransforms()
582 MigrationPass pass(Ctx, OrigCI.getLangOpts()->getGC(), in applyTransform()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DLLVMContext.h135 const std::string &getGC(const Function &Fn);
H A DFunction.h396 const std::string &getGC() const;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DLLVMContext.cpp308 const std::string &LLVMContext::getGC(const Function &Fn) { in getGC() function in LLVMContext
H A DFunction.cpp651 const std::string &Function::getGC() const { in getGC() function in Function
653 return getContext().getGC(*this); in getGC()
681 setGC(Src->getGC()); in copyAttributesFrom()
H A DValue.cpp783 const auto &GCName = F->getGC(); in canBeFreed()
/netbsd-src/external/apache2/llvm/dist/clang/tools/arcmt-test/
H A Darcmt-test.cpp177 transforms = arcmt::getAllTransformations(origCI.getLangOpts()->getGC(), in performTransformations()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DPlaceSafepoints.cpp450 const auto &FunctionGCName = F.getGC(); in shouldRewriteFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp833 if (int Res = cmpMem(FnL->getGC(), FnR->getGC())) in compareSignature()
H A DInlineFunction.cpp1804 Caller->setGC(CalledFunc->getGC()); in InlineFunction()
1805 else if (CalledFunc->getGC() != Caller->getGC()) in InlineFunction()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGObjC.cpp409 CGM.getLangOpts().getGC() == LangOptions::NonGC && in tryGenerateSpecializedMessageSend()
416 CGM.getLangOpts().getGC() == LangOptions::NonGC && in tryGenerateSpecializedMessageSend()
423 CGM.getLangOpts().getGC() == LangOptions::NonGC && in tryGenerateSpecializedMessageSend()
938 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { in PropertyImplStrategy()
988 (CGM.getLangOpts().getGC() && in PropertyImplStrategy()
995 if (CGM.getLangOpts().getGC()) in PropertyImplStrategy()
1394 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) in UseOptimizedSetter()
H A DCGObjCMac.cpp2322 if (Ctx.getLangOpts().getGC() != LangOptions::NonGC) { in GetGCAttrTypeForType()
2403 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) in BuildGCBlockLayout()
2944 assert(CGM.getLangOpts().getGC() == LangOptions::NonGC); in fillRunSkipBlockVars()
3010 assert(CGM.getLangOpts().getGC() == LangOptions::NonGC); in BuildByrefLayout()
3536 assert(CGM.getLangOpts().getGC() == LangOptions::NonGC); in hasMRCWeakIvars()
5174 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) { in EmitImageInfo()
5186 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { in EmitImageInfo()
5578 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) { in buildBitmap()
5617 if (CGM.getLangOpts().getGC() == LangOptions::NonGC && in BuildIvarLayout()
5636 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) { in BuildIvarLayout()
[all …]
H A DCGObjCGNU.cpp886 assert ((CGM.getLangOpts().getGC() == LangOptions::NonGC)); in GetOptimizedPropertySetFunction()
2252 if ((Opts.getGC() != LangOptions::NonGC) || Opts.ObjCAutoRefCount) in CGObjCGNU()
2256 if (Opts.getGC() != LangOptions::NonGC) { in CGObjCGNU()
2521 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { in GenerateMessageSendSuper()
2641 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { in GenerateMessageSend()
3790 switch (CGM.getLangOpts().getGC()) { in ModuleInitFunction()
H A DCGBlocks.cpp203 CGM.getLangOpts().getGC() == LangOptions::NonGC) { in buildBlockDescriptor()
249 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) in buildBlockDescriptor()
541 CGM.getLangOpts().getGC() == LangOptions::NonGC) in computeBlockInfo()
H A DCGExprAgg.cpp94 if (CGF.getLangOpts().getGC() && TypeRequiresGCollection(T)) in needsGC()
2137 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) { in EmitAggregateCopy()
H A DCGDecl.cpp2045 if (getLangOpts().getGC() != LangOptions::NonGC && in EmitAutoVarCleanups()
2065 CGM.getLangOpts().getGC() != LangOptions::GCOnly) { in EmitAutoVarCleanups()
H A DCGClass.cpp1096 CGF.getLangOpts().getGC() == LangOptions::NonGC), in ConstructorMemcpyizer()
1236 AssignmentsMemcpyable(CGF.getLangOpts().getGC() == LangOptions::NonGC) { in AssignmentMemcpyizer()
H A DCGExpr.cpp2337 if (Ctx.getLangOpts().getGC() == LangOptions::NonGC) in setObjCGCLValueClass()
2894 getLangOpts().getGC() != LangOptions::NonGC && in EmitUnaryOpLValue()
3859 getLangOpts().getGC() != LangOptions::NonGC) { in EmitArraySubscriptExpr()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DInitPreprocessor.cpp717 if (LangOpts.getGC() != LangOptions::NonGC) in InitializePredefinedMacros()
1096 LangOpts.getGC() != LangOptions::NonGC) { in InitializePredefinedMacros()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1260 unsigned &Entry = GCMap[F.getGC()]; in writeModuleInfo()
1262 writeStringRecord(Stream, bitc::MODULE_CODE_GCNAME, F.getGC(), in writeModuleInfo()
1390 Vals.push_back(F.hasGC() ? GCMap[F.getGC()] : 0); in writeModuleInfo()

12