Home
last modified time | relevance | path

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

12

/external/clang/lib/StaticAnalyzer/Checkers/
DCheckObjCDealloc.cpp83 assert (LOpts.getGC() != LangOptions::GCOnly); in checkObjCDealloc()
150 const char* name = LOpts.getGC() == LangOptions::NonGC in checkObjCDealloc()
202 name = LOpts.getGC() == LangOptions::NonGC in checkObjCDealloc()
210 name = LOpts.getGC() == LangOptions::NonGC in checkObjCDealloc()
238 if (mgr.getLangOpts().getGC() == LangOptions::GCOnly) in checkASTDecl()
DNSAutoreleasePoolChecker.cpp78 if (mgr.getLangOpts().getGC() != LangOptions::NonGC) in registerNSAutoreleasePoolChecker()
DRetainCountChecker.cpp1818 switch (LOpts.getGC()) { in addGCModeDescription()
2525 if (LOpts.getGC() == LangOptions::HybridGC) { in getLeakWithinFunctionBug()
2547 if (LOpts.getGC() == LangOptions::HybridGC) { in getLeakAtReturnBug()
/external/clang/lib/Sema/
DSemaObjCProperty.cpp107 if ((S.getLangOpts().getGC() != LangOptions::NonGC && in deduceWeakPropertyFromType()
542 if (getLangOpts().getGC() != LangOptions::NonGC && in CreatePropertyDecl()
953 getLangOpts().getGC() != LangOptions::NonGC) { in ActOnPropertyImplDecl()
1027 getLangOpts().getGC() == LangOptions::NonGC) { in ActOnPropertyImplDecl()
1104 getLangOpts().getGC() != LangOptions::NonGC)) { in ActOnPropertyImplDecl()
1113 getLangOpts().getGC() != LangOptions::NonGC) { in ActOnPropertyImplDecl()
1760 if (getLangOpts().getGC() != LangOptions::NonGC) in AtomicPropertySetterGetterRules()
1843 if (getLangOpts().getGC() == LangOptions::GCOnly) in DiagnoseOwningPropertyGetterSynthesis()
2255 if (isAnyClassTy && getLangOpts().getGC() == LangOptions::NonGC) in CheckObjCPropertyAttributes()
2261 if (getLangOpts().getGC() != LangOptions::GCOnly) in CheckObjCPropertyAttributes()
[all …]
DSemaDeclObjC.cpp411 getLangOpts().getGC() == LangOptions::GCOnly)) in ActOnStartOfObjCMethodDef()
415 if (Context.getLangOpts().getGC() != LangOptions::NonGC) in ActOnStartOfObjCMethodDef()
/external/clang/lib/ARCMigrate/
DARCMT.cpp241 LangOptions::GCMode OrigGCMode = origCI.getLangOpts()->getGC(); in checkForManualIssues()
342 LangOptions::GCMode OrigGCMode = origCI.getLangOpts()->getGC(); in applyTransforms()
572 MigrationPass pass(Ctx, OrigCI.getLangOpts()->getGC(), in applyTransform()
/external/llvm/lib/CodeGen/
DGCMetadata.cpp69 GCStrategy *S = getGCStrategy(F.getGC()); in getFunctionInfo()
DShadowStackGCLowering.cpp260 if (F.hasGC() && F.getGC() == std::string("shadow-stack")) { in doInitialization()
376 F.getGC() != std::string("shadow-stack")) in runOnFunction()
/external/clang/tools/arcmt-test/
Darcmt-test.cpp175 transforms = arcmt::getAllTransformations(origCI.getLangOpts()->getGC(), in performTransformations()
/external/llvm/include/llvm/IR/
DFunction.h210 const char *getGC() const;
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp947 Caller->setGC(CalledFunc->getGC()); in InlineFunction()
948 else if (CalledFunc->getGC() != Caller->getGC()) in InlineFunction()
/external/llvm/lib/IR/
DFunction.cpp370 const char *Function::getGC() const { in getGC() function in Function
409 setGC(SrcF->getGC()); in copyAttributesFrom()
/external/clang/lib/CodeGen/
DCGObjCGNU.cpp768 assert ((CGM.getLangOpts().getGC() == LangOptions::NonGC)); in GetOptimizedPropertySetFunction()
982 if ((Opts.getGC() != LangOptions::NonGC) || Opts.ObjCAutoRefCount) in CGObjCGNU()
986 if (Opts.getGC() != LangOptions::NonGC) { in CGObjCGNU()
1227 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { in GenerateMessageSendSuper()
1333 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { in GenerateMessageSend()
2510 switch (CGM.getLangOpts().getGC()) { in ModuleInitFunction()
DCGObjC.cpp631 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { in PropertyImplStrategy()
681 (CGM.getLangOpts().getGC() && in PropertyImplStrategy()
688 if (CGM.getLangOpts().getGC()) in PropertyImplStrategy()
1078 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) in UseOptimizedSetter()
1390 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) in IvarTypeWithAggrGCObjects()
DCGExprAgg.cpp90 if (CGF.getLangOpts().getGC() && TypeRequiresGCollection(T)) in needsGC()
1475 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) { in EmitAggregateCopy()
DCGBlocks.cpp118 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) in buildBlockDescriptor()
352 CGM.getLangOpts().getGC() == LangOptions::NonGC) in computeBlockInfo()
2261 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) in enterByrefCleanup()
DCGObjCMac.cpp1938 if (CGM.getLangOpts().getGC() == LangOptions::NonGC && in BuildGCBlockLayout()
2452 assert(CGM.getLangOpts().getGC() == LangOptions::NonGC); in BuildRCBlockLayout()
2506 assert(CGM.getLangOpts().getGC() == LangOptions::NonGC); in BuildByrefLayout()
4259 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) { in EmitImageInfo()
4269 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { in EmitImageInfo()
4764 if (CGM.getLangOpts().getGC() == LangOptions::NonGC && in BuildIvarLayout()
5529 if (CGM.getLangOpts().getGC() != LangOptions::GCOnly) { in isVTableDispatchedSelector()
5545 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) { in isVTableDispatchedSelector()
DCGClass.cpp1046 CGF.getLangOpts().getGC() == LangOptions::NonGC), in ConstructorMemcpyizer()
1184 AssignmentsMemcpyable(CGF.getLangOpts().getGC() == LangOptions::NonGC) { in AssignmentMemcpyizer()
DCGExpr.cpp1732 if (Ctx.getLangOpts().getGC() == LangOptions::NonGC) in setObjCGCLValueClass()
2057 getLangOpts().getGC() != LangOptions::NonGC && in EmitUnaryOpLValue()
2556 getLangOpts().getGC() != LangOptions::NonGC) { in EmitArraySubscriptExpr()
DCGDecl.cpp1321 if (getLangOpts().getGC() != LangOptions::NonGC && in EmitAutoVarCleanups()
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp985 if (int Res = cmpNumbers((uint64_t)FnL->getGC(), (uint64_t)FnR->getGC())) in compare()
/external/clang/lib/StaticAnalyzer/Frontend/
DAnalysisConsumer.cpp675 switch (Mgr->getLangOpts().getGC()) { in RunPathSensitiveChecks()
/external/llvm/lib/Transforms/Scalar/
DPlaceSafepoints.cpp506 return StatepointExampleName == F.getGC(); in shouldRewriteFunction()
/external/clang/lib/Frontend/
DInitPreprocessor.cpp522 if (LangOpts.getGC() != LangOptions::NonGC) in InitializePredefinedMacros()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp617 unsigned &Entry = GCMap[F.getGC()]; in WriteModuleInfo()
619 WriteStringRecord(bitc::MODULE_CODE_GCNAME, F.getGC(), in WriteModuleInfo()
701 Vals.push_back(F.hasGC() ? GCMap[F.getGC()] : 0); in WriteModuleInfo()

12