| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | NSAutoreleasePoolChecker.cpp | 85 return LO.getGC() != LangOptions::NonGC; in shouldRegisterNSAutoreleasePoolChecker()
|
| H A D | CheckObjCDealloc.cpp | 192 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 D | ShadowStackGCLowering.cpp | 175 if (F.hasGC() && F.getGC() == std::string("shadow-stack")) { in doInitialization() 295 F.getGC() != std::string("shadow-stack")) in runOnFunction()
|
| H A D | GCMetadata.cpp | 72 GCStrategy *S = getGCStrategy(F.getGC()); in getFunctionInfo()
|
| /llvm-project-15.0.7/clang/lib/ARCMigrate/ |
| H A D | ARCMT.cpp | 243 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 D | LLVMContext.h | 136 const std::string &getGC(const Function &Fn);
|
| H A D | Function.h | 309 const std::string &getGC() const;
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaObjCProperty.cpp | 128 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 D | LLVMContext.cpp | 323 const std::string &LLVMContext::getGC(const Function &Fn) { in getGC() function in LLVMContext
|
| H A D | Function.cpp | 689 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 D | Value.cpp | 819 const auto &GCName = F->getGC(); in canBeFreed()
|
| /llvm-project-15.0.7/clang/tools/arcmt-test/ |
| H A D | arcmt-test.cpp | 177 transforms = arcmt::getAllTransformations(origCI.getLangOpts()->getGC(), in performTransformations()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | PlaceSafepoints.cpp | 451 const auto &FunctionGCName = F.getGC(); in shouldRewriteFunction()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | FunctionComparator.cpp | 839 if (int Res = cmpMem(FnL->getGC(), FnR->getGC())) in compareSignature()
|
| H A D | InlineFunction.cpp | 1842 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 D | CGObjC.cpp | 410 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 D | CGObjCMac.cpp | 2258 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 D | CGObjCGNU.cpp | 888 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 D | CGBlocks.cpp | 187 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 D | CGExprAgg.cpp | 94 if (CGF.getLangOpts().getGC() && TypeRequiresGCollection(T)) in needsGC() 2147 if (CGM.getLangOpts().getGC() == LangOptions::NonGC) { in EmitAggregateCopy()
|
| H A D | CGDecl.cpp | 2060 if (getLangOpts().getGC() != LangOptions::NonGC && in EmitAutoVarCleanups() 2080 CGM.getLangOpts().getGC() != LangOptions::GCOnly) { in EmitAutoVarCleanups()
|
| H A D | CGClass.cpp | 1086 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 D | InitPreprocessor.cpp | 810 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 D | DXILBitcodeWriter.cpp | 1236 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 D | ConvertFromLLVMIR.cpp | 1201 fop.setGarbageCollectorAttr(b.getStringAttr(f->getGC())); in processFunction()
|