Home
last modified time | relevance | path

Searched refs:Retain (Results 1 – 25 of 42) sorted by relevance

12

/llvm-project-15.0.7/llvm/lib/Transforms/ObjCARC/
H A DObjCARCContract.cpp134 if (&*I != Retain) in optimizeRetainCall()
145 << *Retain << "\n"); in optimizeRetainCall()
169 if (!Retain || GetBasicARCInstKind(Retain) != ARCInstKind::Retain || in contractAutorelease()
300 Instruction *Retain = &*I; in findRetainForStoreStrongContraction() local
301 if (GetBasicARCInstKind(Retain) != ARCInstKind::Retain) in findRetainForStoreStrongContraction()
305 return Retain; in findRetainForStoreStrongContraction()
361 Instruction *Retain = in tryToContractReleaseIntoStoreStrong() local
365 if (!Retain) in tryToContractReleaseIntoStoreStrong()
402 if (&*Iter == Retain) ++Iter; in tryToContractReleaseIntoStoreStrong()
406 EraseInstruction(Retain); in tryToContractReleaseIntoStoreStrong()
[all …]
H A DARCRuntimeEntryPoints.h40 Retain, enumerator
60 Retain = nullptr; in init()
79 case ARCRuntimeEntryPointKind::Retain: in get()
80 return getIntrinsicEntryPoint(Retain, Intrinsic::objc_retain); in get()
115 Function *Retain = nullptr; variable
H A DObjCARCOpts.cpp1151 case ARCInstKind::Retain: in OptimizeIndividualCallImpl()
1387 case ARCInstKind::Retain: in VisitInstructionBottomUp()
1564 case ARCInstKind::Retain: in VisitInstructionTopDown()
1859 Instruction *Retain, in PairUpRetainsAndReleases() argument
2307 CanChangeRetainCount, Arg, Retain->getParent(), Retain, PA)); in HasSafePathToPredecessorCall()
2327 auto *Retain = dyn_cast_or_null<CallInst>( in FindPredecessorRetainWithSafePath() local
2331 if (!Retain || !IsRetain(GetBasicARCInstKind(Retain)) || in FindPredecessorRetainWithSafePath()
2336 return Retain; in FindPredecessorRetainWithSafePath()
2396 if (!Retain) in OptimizeReturns()
2415 BundledInsts->eraseInst(Retain); in OptimizeReturns()
[all …]
H A DDependencyAnalysis.cpp175 case ARCInstKind::Retain: in Depends()
187 case ARCInstKind::Retain: in Depends()
H A DObjCARCExpand.cpp63 case ARCInstKind::Retain: in runImpl()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DObjCARCInstKind.cpp31 case ARCInstKind::Retain: in operator <<()
316 case ARCInstKind::Retain: in IsUser()
346 case ARCInstKind::Retain: in IsRetain()
385 case ARCInstKind::Retain: in IsAutorelease()
417 case ARCInstKind::Retain: in IsForwarding()
452 case ARCInstKind::Retain: in IsNoopOnNull()
487 case ARCInstKind::Retain: in IsNoopOnGlobal()
523 case ARCInstKind::Retain: in IsAlwaysTail()
564 case ARCInstKind::Retain: in IsNeverTail()
599 case ARCInstKind::Retain: in IsNoThrow()
[all …]
H A DObjCARCAliasAnalysis.cpp116 case ARCInstKind::Retain: in getModRefInfo()
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DIntrusiveRefCntPtr.h96 void Retain() const { ++RefCount; } in Retain() function
127 void Retain() const { RefCount.fetch_add(1, std::memory_order_relaxed); } in Retain() function
158 static void retain(T *obj) { obj->Retain(); } in retain()
/llvm-project-15.0.7/llvm/test/DebugInfo/Inputs/
H A Ddwarfdump-objc.m10 @property (retain) NSObject *Retain; property
/llvm-project-15.0.7/llvm/test/Transforms/HotColdSplit/
H A Dretain-section.ll6 ; Retain section after cold code is split off.
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DObjCARCInstKind.h29 Retain, ///< objc_retain enumerator
/llvm-project-15.0.7/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.cpp672 return Retain<PythonObject>(o); in GetItem()
683 return Retain<PythonObject>(o); in GetItem()
752 return Retain<PythonObject>(item); in Get()
765 return Retain<PythonDictionary>(PyModule_GetDict(m_py_obj)); in GetDictionary()
1405 return Retain<PythonFile>(simple->GetPythonObject()); in FromFile()
1407 return Retain<PythonFile>(pythonio->GetPythonObject()); in FromFile()
/llvm-project-15.0.7/lldb/tools/debugserver/source/
H A DDNBBreakpoint.h93 uint32_t Retain() { return ++m_retain_count; } in Retain() function
/llvm-project-15.0.7/llvm/test/DebugInfo/
H A Ddwarfdump-objc.test25 CHECK: DW_AT_APPLE_property_name {{.*}} "Retain"
/llvm-project-15.0.7/clang/include/clang/Rewrite/Core/
H A DRewriteRope.h37 void Retain() { ++RefCount; } in Retain() function
/llvm-project-15.0.7/clang/test/Analysis/inlining/
H A Dretain-count-self-init.m22 // stop tracking the receiver of init with respect to Retain Release checker.
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DIntrusiveRefCntPtrTest.cpp81 I->Retain(); in retain()
/llvm-project-15.0.7/clang/tools/clang-extdef-mapping/
H A DClangExtDefMapGen.cpp140 Diags->Retain(); in GetDiagnosticsEngine()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DCheckObjCDealloc.cpp566 PropDecl->getSetterKind() == ObjCPropertyDecl::Retain); in diagnoseMissingReleases()
571 if (PropDecl->getSetterKind() == ObjCPropertyDecl::Retain) in diagnoseMissingReleases()
897 case ObjCPropertyDecl::Retain: in getDeallocReleaseRequirement()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp674 const bool Retain, const bool ForceUnique) { in calcUniqueIDUpdateFlagsAndSize() argument
689 if (Retain) { in calcUniqueIDUpdateFlagsAndSize()
747 bool Retain, bool ForceUnique) { in selectExplicitSectionGlobal() argument
786 Retain, ForceUnique); in selectExplicitSectionGlobal()
863 const TargetMachine &TM, bool Retain, bool EmitUniqueSection, in selectELFSectionForGlobal() argument
870 if (Retain) { in selectELFSectionForGlobal()
/llvm-project-15.0.7/lldb/bindings/python/
H A Dpython-typemaps.swig70 PythonObject obj = Retain<PythonObject>($input);
78 PythonObject obj = Retain<PythonObject>($input);
/llvm-project-15.0.7/clang/tools/libclang/
H A DCXIndexDataConsumer.h265 void Retain() { ++ref_cnt; } in Retain() function
/llvm-project-15.0.7/llvm/test/DebugInfo/X86/
H A Ddbg-declare-inalloca.ll89 ; FIXME: Retain unused.
/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Darc-literals.m123 // Retain parameter
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclObjC.h736 enum SetterKind { Assign, Retain, Copy, Weak }; enumerator
871 return getType()->isBlockPointerType() ? Copy : Retain; in getSetterKind()
873 return Retain; in getSetterKind()

12