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.cpp79 if (mgr.getLangOpts().getGC() != LangOptions::NonGC) in registerNSAutoreleasePoolChecker()
DRetainCountChecker.cpp1841 switch (LOpts.getGC()) { in addGCModeDescription()
2549 if (LOpts.getGC() == LangOptions::HybridGC) { in getLeakWithinFunctionBug()
2571 if (LOpts.getGC() == LangOptions::HybridGC) { in getLeakAtReturnBug()
/external/clang/lib/Sema/
DSemaObjCProperty.cpp133 if (S.getLangOpts().getGC() != LangOptions::NonGC) { in deducePropertyOwnershipFromType()
586 if (getLangOpts().getGC() != LangOptions::NonGC && in CreatePropertyDecl()
1040 if (getLangOpts().getGC() != LangOptions::NonGC) { in ActOnPropertyImplDecl()
1196 getLangOpts().getGC() != LangOptions::NonGC)) { in ActOnPropertyImplDecl()
1205 getLangOpts().getGC() != LangOptions::NonGC) { in ActOnPropertyImplDecl()
1893 if (getLangOpts().getGC() != LangOptions::NonGC) in AtomicPropertySetterGetterRules()
1978 if (getLangOpts().getGC() == LangOptions::GCOnly) in DiagnoseOwningPropertyGetterSynthesis()
2415 if (isAnyClassTy && getLangOpts().getGC() == LangOptions::NonGC) in CheckObjCPropertyAttributes()
2421 if (getLangOpts().getGC() != LangOptions::GCOnly) in CheckObjCPropertyAttributes()
2425 if (getLangOpts().getGC() == LangOptions::NonGC) in CheckObjCPropertyAttributes()
[all …]
DSemaDeclObjC.cpp412 getLangOpts().getGC() == LangOptions::GCOnly)) in ActOnStartOfObjCMethodDef()
416 if (Context.getLangOpts().getGC() != LangOptions::NonGC) in ActOnStartOfObjCMethodDef()
/external/clang/lib/ARCMigrate/
DARCMT.cpp245 LangOptions::GCMode OrigGCMode = origCI.getLangOpts()->getGC(); in checkForManualIssues()
346 LangOptions::GCMode OrigGCMode = origCI.getLangOpts()->getGC(); in applyTransforms()
580 MigrationPass pass(Ctx, OrigCI.getLangOpts()->getGC(), in applyTransform()
/external/llvm/lib/CodeGen/
DGCMetadata.cpp69 GCStrategy *S = getGCStrategy(F.getGC()); in getFunctionInfo()
DShadowStackGCLowering.cpp264 if (F.hasGC() && F.getGC() == std::string("shadow-stack")) { in doInitialization()
380 F.getGC() != std::string("shadow-stack")) in runOnFunction()
/external/clang/tools/arcmt-test/
Darcmt-test.cpp178 transforms = arcmt::getAllTransformations(origCI.getLangOpts()->getGC(), in performTransformations()
/external/llvm/include/llvm/IR/
DFunction.h224 const char *getGC() const;
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp1064 Caller->setGC(CalledFunc->getGC()); in InlineFunction()
1065 else if (CalledFunc->getGC() != Caller->getGC()) in InlineFunction()
/external/llvm/lib/IR/
DFunction.cpp382 const char *Function::getGC() const { in getGC() function in Function
423 setGC(SrcF->getGC()); in copyAttributesFrom()
/external/clang/lib/Frontend/
DInitPreprocessor.cpp534 if (LangOpts.getGC() != LangOptions::NonGC) in InitializePredefinedMacros()
869 LangOpts.getGC() != LangOptions::NonGC) { in InitializePredefinedMacros()
/external/clang/lib/CodeGen/
DCGObjCMac.cpp1991 if (Ctx.getLangOpts().getGC() != LangOptions::NonGC) { in GetGCAttrTypeForType()
2071 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) in BuildGCBlockLayout()
2581 assert(CGM.getLangOpts().getGC() == LangOptions::NonGC); in BuildRCBlockLayout()
2635 assert(CGM.getLangOpts().getGC() == LangOptions::NonGC); in BuildByrefLayout()
3170 assert(CGM.getLangOpts().getGC() == LangOptions::NonGC); in hasMRCWeakIvars()
4478 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) { in EmitImageInfo()
4488 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { in EmitImageInfo()
4883 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) { in buildBitmap()
4928 if (CGM.getLangOpts().getGC() == LangOptions::NonGC && in BuildIvarLayout()
4947 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) { in BuildIvarLayout()
[all …]
DCGObjCGNU.cpp775 assert ((CGM.getLangOpts().getGC() == LangOptions::NonGC)); in GetOptimizedPropertySetFunction()
989 if ((Opts.getGC() != LangOptions::NonGC) || Opts.ObjCAutoRefCount) in CGObjCGNU()
993 if (Opts.getGC() != LangOptions::NonGC) { in CGObjCGNU()
1239 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { in GenerateMessageSendSuper()
1349 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { in GenerateMessageSend()
2537 switch (CGM.getLangOpts().getGC()) { in ModuleInitFunction()
DCGExprAgg.cpp91 if (CGF.getLangOpts().getGC() && TypeRequiresGCollection(T)) in needsGC()
1511 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) { in EmitAggregateCopy()
DCGBlocks.cpp118 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) in buildBlockDescriptor()
331 CGM.getLangOpts().getGC() == LangOptions::NonGC) in computeBlockInfo()
2278 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) in enterByrefCleanup()
DCGObjC.cpp692 if (CGM.getLangOpts().getGC() == LangOptions::GCOnly) { in PropertyImplStrategy()
742 (CGM.getLangOpts().getGC() && in PropertyImplStrategy()
749 if (CGM.getLangOpts().getGC()) in PropertyImplStrategy()
1141 if (CGM.getLangOpts().getGC() != LangOptions::NonGC) in UseOptimizedSetter()
DCGClass.cpp1172 CGF.getLangOpts().getGC() == LangOptions::NonGC), in ConstructorMemcpyizer()
1313 AssignmentsMemcpyable(CGF.getLangOpts().getGC() == LangOptions::NonGC) { in AssignmentMemcpyizer()
DCGExpr.cpp1824 if (Ctx.getLangOpts().getGC() == LangOptions::NonGC) in setObjCGCLValueClass()
2195 getLangOpts().getGC() != LangOptions::NonGC && in EmitUnaryOpLValue()
2823 getLangOpts().getGC() != LangOptions::NonGC) { in EmitArraySubscriptExpr()
DCGDecl.cpp1397 if (getLangOpts().getGC() != LangOptions::NonGC && in EmitAutoVarCleanups()
/external/llvm/lib/Transforms/Scalar/
DPlaceSafepoints.cpp502 const char *FunctionGCName = F.getGC(); in shouldRewriteFunction()
/external/clang/lib/StaticAnalyzer/Frontend/
DAnalysisConsumer.cpp682 switch (Mgr->getLangOpts().getGC()) { in RunPathSensitiveChecks()
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp1211 if (int Res = cmpMem(FnL->getGC(), FnR->getGC())) in compare()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp665 unsigned &Entry = GCMap[F.getGC()]; in WriteModuleInfo()
667 WriteStringRecord(bitc::MODULE_CODE_GCNAME, F.getGC(), in WriteModuleInfo()
751 Vals.push_back(F.hasGC() ? GCMap[F.getGC()] : 0); in WriteModuleInfo()

12