Home
last modified time | relevance | path

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

123

/openbsd/gnu/llvm/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.cpp1104 case ARCInstKind::Retain: in OptimizeIndividualCallImpl()
1344 case ARCInstKind::Retain: in VisitInstructionBottomUp()
1521 case ARCInstKind::Retain: in VisitInstructionTopDown()
1820 Instruction *Retain, in PairUpRetainsAndReleases() argument
2268 CanChangeRetainCount, Arg, Retain->getParent(), Retain, PA)); in HasSafePathToPredecessorCall()
2288 auto *Retain = dyn_cast_or_null<CallInst>( in FindPredecessorRetainWithSafePath() local
2292 if (!Retain || !IsRetain(GetBasicARCInstKind(Retain)) || in FindPredecessorRetainWithSafePath()
2297 return Retain; in FindPredecessorRetainWithSafePath()
2357 if (!Retain) in OptimizeReturns()
2376 BundledInsts->eraseInst(Retain); in OptimizeReturns()
[all …]
H A DDependencyAnalysis.cpp175 case ARCInstKind::Retain: in Depends()
187 case ARCInstKind::Retain: in Depends()
H A DObjCARCExpand.cpp60 case ARCInstKind::Retain: in runImpl()
/openbsd/gnu/llvm/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.cpp118 case ARCInstKind::Retain: in getModRefInfo()
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DMultiplexExternalSemaSource.cpp24 S1->Retain(); in MultiplexExternalSemaSource()
25 S2->Retain(); in MultiplexExternalSemaSource()
41 Source->Retain(); in AddSource()
/openbsd/gnu/llvm/llvm/include/llvm/Analysis/
H A DObjCARCInstKind.h29 Retain, ///< objc_retain enumerator
/openbsd/gnu/llvm/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.cpp671 return Retain<PythonObject>(o); in GetItem()
682 return Retain<PythonObject>(o); in GetItem()
751 return Retain<PythonObject>(item); in Get()
764 return Retain<PythonDictionary>(PyModule_GetDict(m_py_obj)); in GetDictionary()
1404 return Retain<PythonFile>(simple->GetPythonObject()); in FromFile()
1406 return Retain<PythonFile>(pythonio->GetPythonObject()); in FromFile()
H A DPythonDataObjects.h138 template <typename T> T Retain(PyObject *obj) { in Retain() function
/openbsd/gnu/llvm/lldb/tools/debugserver/source/
H A DDNBBreakpoint.h93 uint32_t Retain() { return ++m_retain_count; } in Retain() function
/openbsd/gnu/llvm/clang/include/clang/Rewrite/Core/
H A DRewriteRope.h37 void Retain() { ++RefCount; } in Retain() function
/openbsd/gnu/llvm/clang/tools/clang-extdef-mapping/
H A DClangExtDefMapGen.cpp141 Diags->Retain(); in GetDiagnosticsEngine()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DCheckObjCDealloc.cpp567 PropDecl->getSetterKind() == ObjCPropertyDecl::Retain); in diagnoseMissingReleases()
572 if (PropDecl->getSetterKind() == ObjCPropertyDecl::Retain) in diagnoseMissingReleases()
898 case ObjCPropertyDecl::Retain: in getDeallocReleaseRequirement()
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp708 const bool Retain, const bool ForceUnique) { in calcUniqueIDUpdateFlagsAndSize() argument
723 if (Retain) { in calcUniqueIDUpdateFlagsAndSize()
781 bool Retain, bool ForceUnique) { in selectExplicitSectionGlobal() argument
820 Retain, ForceUnique); in selectExplicitSectionGlobal()
897 const TargetMachine &TM, bool Retain, bool EmitUniqueSection, in selectELFSectionForGlobal() argument
904 if (Retain) { in selectELFSectionForGlobal()
/openbsd/gnu/llvm/lldb/bindings/python/
H A Dpython-typemaps.swig70 PythonObject obj = Retain<PythonObject>($input);
78 PythonObject obj = Retain<PythonObject>($input);
/openbsd/gnu/llvm/clang/tools/libclang/
H A DCXIndexDataConsumer.h265 void Retain() { ++ref_cnt; } in Retain() function
/openbsd/gnu/llvm/clang/include/clang/AST/
H A DDeclObjC.h733 enum SetterKind { Assign, Retain, Copy, Weak }; enumerator
868 return getType()->isBlockPointerType() ? Copy : Retain; in getSetterKind()
870 return Retain; in getSetterKind()
/openbsd/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallEvent.h173 void Retain() const { ++RefCount; } in Retain() function
/openbsd/gnu/llvm/lld/ELF/
H A DOptions.td290 HelpText<"Retain the executable output file whenever it is still usable">;
372 Eq<"retain-symbols-file", "Retain only the symbols listed in the file">,
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
H A DOrcV2CBindings.cpp412 RT->Retain(); in LLVMOrcJITDylibCreateResourceTracker()
H A DCore.cpp43 JD->Retain(); in ResourceTracker()
89 KV.first->Retain(); in FailedToMaterialize()
/openbsd/gnu/llvm/lld/MachO/
H A DOptions.td945 …HelpText<"Retain section-based relocation records in the output, which are ignored at runtime by d…
974 … HelpText<"Retain any temporary mach-o file in <path> that would otherwise be deleted during LTO">,

123