HomeSort by: relevance | last modified time | path
    Searched defs:Retain (Results 1 - 9 of 9) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/Transforms/ObjCARC/
ARCRuntimeEntryPoints.h 40 Retain,
60 Retain = nullptr;
79 case ARCRuntimeEntryPointKind::Retain:
80 return getIntrinsicEntryPoint(Retain, Intrinsic::objc_retain);
115 Function *Retain = nullptr;
ObjCARCContract.cpp 89 bool optimizeRetainCall(Function &F, Instruction *Retain);
126 bool ObjCARCContract::optimizeRetainCall(Function &F, Instruction *Retain) {
127 const auto *Call = dyn_cast<CallBase>(GetArgRCIdentityRoot(Retain));
130 if (Call->getParent() != Retain->getParent())
133 // Check that the call is next to the retain.
137 if (&*I != Retain)
148 << *Retain << "\n");
151 // retain/retainRV have the same properties.
153 cast<CallInst>(Retain)->setCalledFunction(Decl);
155 LLVM_DEBUG(dbgs() << "New: " << *Retain << "\n")
    [all...]
ObjCARCOpts.cpp 137 // The second retain and autorelease can be deleted.
163 // TODO: Delete release+retain pairs (rare).
169 "retain+autoreleases eliminated");
170 STATISTIC(NumRRs, "Number of retain+release paths eliminated");
500 /// retain/release pairs should be performed.
553 Instruction *Retain,
655 Function *NewDecl = EP.get(ARCRuntimeEntryPointKind::Retain);
1100 // Keep track of which of retain, release, autorelease, and retain_block
1150 case ARCInstKind::Retain:
1155 // These can't be moved across things that care about the retain
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/Rewrite/Core/
RewriteRope.h 37 void Retain() { ++RefCount; }
  /src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
IntrusiveRefCntPtr.h 50 // - has Retain() and Release() methods, or
68 /// calls to Release() and Retain(), which increment and decrement the object's
91 void Retain() const { ++RefCount; }
122 void Retain() const { RefCount.fetch_add(1, std::memory_order_relaxed); }
132 /// Class you can specialize to provide custom retain/release functionality for
136 /// works with any type which defines Retain() and Release() functions -- you
146 /// T::Retain and T::Release.
153 static void retain(T *obj) { obj->Retain(); } function in struct:llvm::IntrusiveRefCntPtrInfo
170 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); }
212 void retain() { function in class:llvm::IntrusiveRefCntPtr
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
ObjCARCInstKind.h 29 Retain, ///< objc_retain
  /src/external/apache2/llvm/dist/clang/tools/libclang/
CXIndexDataConsumer.h 262 /// Retain/Release only useful when we allocate a AttrListInfo from the
265 void Retain() { ++ref_cnt; }
  /src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
CallEvent.h 166 void Retain() const { ++RefCount; }
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
DeclObjC.h 733 enum SetterKind { Assign, Retain, Copy, Weak };
872 return getType()->isBlockPointerType() ? Copy : Retain;
874 return Retain;

Completed in 34 milliseconds