Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARCContract.cpp89 bool optimizeRetainCall(Function &F, Instruction *Retain);
123 bool ObjCARCContract::optimizeRetainCall(Function &F, Instruction *Retain) { in optimizeRetainCall() argument
124 const auto *Call = dyn_cast<CallBase>(GetArgRCIdentityRoot(Retain)); in optimizeRetainCall()
127 if (Call->getParent() != Retain->getParent()) in optimizeRetainCall()
134 if (&*I != Retain) in optimizeRetainCall()
145 << *Retain << "\n"); in optimizeRetainCall()
150 cast<CallInst>(Retain)->setCalledFunction(Decl); in optimizeRetainCall()
152 LLVM_DEBUG(dbgs() << "New: " << *Retain << "\n"); in optimizeRetainCall()
166 auto *Retain = dyn_cast_or_null<CallInst>( in contractAutorelease() local
169 if (!Retain || GetBasicARCInstKind(Retain) != ARCInstKind::Retain || in contractAutorelease()
[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.cpp554 Instruction *Retain,
643 Function *NewDecl = EP.get(ARCRuntimeEntryPointKind::Retain); in OptimizeRetainRVCall()
1107 case ARCInstKind::Retain: in OptimizeIndividualCallImpl()
1348 case ARCInstKind::Retain: in VisitInstructionBottomUp()
1470 Instruction *Retain = cast<Instruction>(P.first); in collectReleaseInsertPts() local
1471 Value *Root = GetRCIdentityRoot(Retain->getOperand(0)); in collectReleaseInsertPts()
1525 case ARCInstKind::Retain: in VisitInstructionTopDown()
1776 Function *Decl = EP.get(ARCRuntimeEntryPointKind::Retain); in MoveCalls()
1828 Instruction *Retain, in PairUpRetainsAndReleases() argument
1847 for (SmallVector<Instruction *, 4> NewRetains{Retain};;) { in PairUpRetainsAndReleases()
[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()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DObjCARCInstKind.cpp31 case ARCInstKind::Retain: in operator <<()
114 return ARCInstKind::Retain; in GetFunctionClass()
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()
[all …]
H A DObjCARCAliasAnalysis.cpp123 case ARCInstKind::Retain: in getModRefInfo()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DIntrusiveRefCntPtr.h55 /// - has Retain() and Release() methods, or
73 /// calls to Release() and Retain(), which increment and decrement the object's
98 void Retain() const { ++RefCount; } in Release()
131 void Retain() const { RefCount.fetch_add(1, std::memory_order_relaxed); } in Release()
145 /// works with any type which defines Retain() and Release() functions -- you
155 /// T::Retain and T::Release.
163 static void retain(T *obj) { obj->Retain(); }
96 void Retain() const { ++RefCount; } Retain() function
127 void Retain() const { RefCount.fetch_add(1, std::memory_order_relaxed); } Retain() function
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DValue.cpp57 void Retain() { ++RefCnt; } in Retain() function in __anon8d9d85ba0111::ValueStorage
173 ValueStorage::getFromPayload(getPtr())->Retain(); in Value()
198 ValueStorage::getFromPayload(getPtr())->Retain(); in operator =()
/freebsd/contrib/file/python/
H A DCHANGELOG.md11 * Retain python 2 compatibility, factoring out the conversion functions.
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DMultiplexExternalSemaSource.cpp24 S1->Retain(); in MultiplexExternalSemaSource()
25 S2->Retain(); in MultiplexExternalSemaSource()
41 Source->Retain(); in AddSource()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DObjCARCInstKind.h29 Retain, ///< objc_retain enumerator
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp694 const bool Retain, const bool ForceUnique) { in calcUniqueIDUpdateFlagsAndSize() argument
709 if (Retain) { in calcUniqueIDUpdateFlagsAndSize()
787 bool Retain, bool ForceUnique) { in selectExplicitSectionGlobal() argument
817 Retain, ForceUnique); in selectExplicitSectionGlobal()
889 const TargetMachine &TM, bool Retain, bool EmitUniqueSection, in selectELFSectionForGlobal() argument
896 if (Retain) { in selectELFSectionForGlobal()
2134 static unsigned getWasmSectionFlags(SectionKind K, bool Retain) { in getWasmSectionFlags() argument
2143 if (Retain) in getWasmSectionFlags()
2193 unsigned *NextUniqueID, bool Retain) { in selectWasmSectionForGlobal() argument
2218 unsigned Flags = getWasmSectionFlags(Kind, Retain); in selectWasmSectionForGlobal()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.cpp710 return Retain<PythonObject>(o); in GetItem()
721 return Retain<PythonObject>(o); in GetItem()
790 return Retain<PythonObject>(item); in Get()
803 return Retain<PythonDictionary>(PyModule_GetDict(m_py_obj)); in GetDictionary()
1443 return Retain<PythonFile>(simple->GetPythonObject()); in FromFile()
1445 return Retain<PythonFile>(pythonio->GetPythonObject()); in FromFile()
H A DPythonDataObjects.h138 template <typename T> T Retain(PyObject *obj) { in Retain() function
/freebsd/contrib/llvm-project/clang/include/clang/Rewrite/Core/
H A DRewriteRope.h37 void Retain() { ++RefCount; } in Retain() function
/freebsd/sys/contrib/device-tree/Bindings/pmem/
H A Dpmem-region.txt7 b) Retain their contents across power failure.
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCheckObjCDealloc.cpp574 PropDecl->getSetterKind() == ObjCPropertyDecl::Retain); in diagnoseMissingReleases()
579 if (PropDecl->getSetterKind() == ObjCPropertyDecl::Retain) in diagnoseMissingReleases()
888 case ObjCPropertyDecl::Retain: in getDeallocReleaseRequirement()
/freebsd/contrib/llvm-project/lldb/bindings/python/
H A Dpython-typemaps.swig156 PythonObject obj = Retain<PythonObject>($input);
164 PythonObject obj = Retain<PythonObject>($input);
679 PythonCallable callable = Retain<PythonCallable>($input);
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclObjC.h734 enum SetterKind { Assign, Retain, Copy, Weak }; enumerator
874 return getType()->isBlockPointerType() ? Copy : Retain; in getSetterKind()
876 return Retain; in getSetterKind()
/freebsd/contrib/libxo/
H A Dconfigure.ac327 AC_DEFINE_UNQUOTED([XO_RETAIN_SIZE], ${XO_RETAIN_SIZE}, [Retain hash bucket size])
/freebsd/contrib/less/
H A Dless.hlp261 Retain marks across invocations of less.
/freebsd/contrib/expat/
H A Dconfigure.ac326 [Retain context around the current parse point;
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallEvent.h178 void Retain() const { ++RefCount; } in Retain() function
/freebsd/contrib/llvm-project/lld/ELF/
H A DOptions.td327 HelpText<"Retain the executable output file whenever it is still usable">;
427 Eq<"retain-symbols-file", "Retain only the symbols listed in the file">,

12