HomeSort by relevance Sort by last modified time
    Searched refs:Retain (Results 1 - 25 of 113) sorted by null

1 2 3 4 5

  /external/llvm/lib/Transforms/ObjCARC/
ObjCARCContract.cpp 83 bool optimizeRetainCall(Function &F, Instruction *Retain);
113 bool ObjCARCContract::optimizeRetainCall(Function &F, Instruction *Retain) {
114 ImmutableCallSite CS(GetArgRCIdentityRoot(Retain));
118 if (Call->getParent() != Retain->getParent())
121 // Check that the call is next to the retain.
125 if (&*I != Retain)
134 "return value.\nOld: "<< *Retain << "\n");
137 // retain/retainRV have the same properties.
139 cast<CallInst>(Retain)->setCalledFunction(Decl);
141 DEBUG(dbgs() << "New: " << *Retain << "\n")
    [all...]
ARCRuntimeEntryPoints.h 33 Retain,
49 Retain(nullptr),
61 Retain = nullptr;
79 case ARCRuntimeEntryPointKind::Retain:
80 return getI8XRetI8XEntryPoint(Retain, "objc_retain", true);
110 Constant *Retain;
ObjCARCExpand.cpp 102 case ARCInstKind::Retain:
  /external/pdfium/core/fxcrt/
retain_ptr.h 28 m_pObj->Retain();
49 obj->Retain();
101 void Retain() { ++m_nRefCount; }
  /external/swiftshader/third_party/LLVM/include/llvm/ADT/
IntrusiveRefCntPtr.h 50 void Retain() const { ++ref_cnt; }
72 void Retain() const { ++ref_cnt; }
94 /// Obj->Retain()/Obj->Release(). Release() is required to destroy
109 retain();
113 retain();
119 retain();
162 void retain() { if (Obj) Obj->Retain(); } function in class:llvm::IntrusiveRefCntPtr
  /external/llvm/include/llvm/ADT/
IntrusiveRefCntPtr.h 51 void Retain() const { ++ref_cnt; }
76 void Retain() const { ++ref_cnt; }
88 static void retain(T *obj) { obj->Retain(); } function in struct:llvm::IntrusiveRefCntPtrInfo
107 void Retain() const { ++RefCount; }
129 /// Obj->Retain()/Obj->Release(). Release() is required to destroy
144 retain();
148 retain();
163 retain();
197 void retain() { if (Obj) IntrusiveRefCntPtrInfo<T>::retain(Obj); function in class:llvm::IntrusiveRefCntPtr
    [all...]
  /external/pdfium/core/fxge/android/
cfpf_skiafont.h 23 CFPF_SkiaFont* Retain();
  /external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
IntrusiveRefCntPtr.h 48 void Retain() const { ++ref_cnt; }
74 void Retain() const { ++ref_cnt; }
86 static void retain(T *obj) { obj->Retain(); } function in struct:llvm::IntrusiveRefCntPtrInfo
105 void Retain() const { RefCount.fetch_add(1, std::memory_order_relaxed); }
127 /// Obj->Retain()/Obj->Release(). Release() is required to destroy
142 retain();
146 retain();
161 retain();
195 void retain() { if (Obj) IntrusiveRefCntPtrInfo<T>::retain(Obj); function in class:llvm::IntrusiveRefCntPtr
    [all...]
  /external/llvm/lib/Analysis/
ObjCARCInstKind.cpp 33 case ARCInstKind::Retain:
34 return OS << "ARCInstKind::Retain";
106 .Case("objc_retain", ARCInstKind::Retain)
336 case ARCInstKind::Retain:
366 case ARCInstKind::Retain:
369 // I believe we treat retain block as not a retain since it can copy its
405 case ARCInstKind::Retain:
437 case ARCInstKind::Retain:
472 case ARCInstKind::Retain
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/ADT/
IntrusiveRefCntPtr.h 51 // - has Retain() and Release() methods, or
68 /// calls to Release() and Retain(), which increment and decrement the object's
78 void Retain() const { ++RefCount; }
94 void Retain() const { RefCount.fetch_add(1, std::memory_order_relaxed); }
104 /// Class you can specialize to provide custom retain/release functionality for
108 /// works with any type which defines Retain() and Release() functions -- you
118 /// T::Retain and T::Release.
125 static void retain(T *obj) { obj->Retain(); } function in struct:llvm::IntrusiveRefCntPtrInfo
142 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); }
182 void retain() { function in class:llvm::IntrusiveRefCntPtr
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/ADT/
IntrusiveRefCntPtr.h 51 // - has Retain() and Release() methods, or
68 /// calls to Release() and Retain(), which increment and decrement the object's
78 void Retain() const { ++RefCount; }
95 void Retain() const { RefCount.fetch_add(1, std::memory_order_relaxed); }
105 /// Class you can specialize to provide custom retain/release functionality for
109 /// works with any type which defines Retain() and Release() functions -- you
119 /// T::Retain and T::Release.
126 static void retain(T *obj) { obj->Retain(); } function in struct:llvm::IntrusiveRefCntPtrInfo
143 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); }
183 void retain() { function in class:llvm::IntrusiveRefCntPtr
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/ADT/
IntrusiveRefCntPtr.h 51 // - has Retain() and Release() methods, or
68 /// calls to Release() and Retain(), which increment and decrement the object's
78 void Retain() const { ++RefCount; }
95 void Retain() const { RefCount.fetch_add(1, std::memory_order_relaxed); }
105 /// Class you can specialize to provide custom retain/release functionality for
109 /// works with any type which defines Retain() and Release() functions -- you
119 /// T::Retain and T::Release.
126 static void retain(T *obj) { obj->Retain(); } function in struct:llvm::IntrusiveRefCntPtrInfo
143 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); }
183 void retain() { function in class:llvm::IntrusiveRefCntPtr
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/ADT/
IntrusiveRefCntPtr.h 51 // - has Retain() and Release() methods, or
68 /// calls to Release() and Retain(), which increment and decrement the object's
78 void Retain() const { ++RefCount; }
95 void Retain() const { RefCount.fetch_add(1, std::memory_order_relaxed); }
105 /// Class you can specialize to provide custom retain/release functionality for
109 /// works with any type which defines Retain() and Release() functions -- you
119 /// T::Retain and T::Release.
126 static void retain(T *obj) { obj->Retain(); } function in struct:llvm::IntrusiveRefCntPtrInfo
143 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); }
183 void retain() { function in class:llvm::IntrusiveRefCntPtr
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/ADT/
IntrusiveRefCntPtr.h 51 // - has Retain() and Release() methods, or
68 /// calls to Release() and Retain(), which increment and decrement the object's
78 void Retain() const { ++RefCount; }
95 void Retain() const { RefCount.fetch_add(1, std::memory_order_relaxed); }
105 /// Class you can specialize to provide custom retain/release functionality for
109 /// works with any type which defines Retain() and Release() functions -- you
119 /// T::Retain and T::Release.
126 static void retain(T *obj) { obj->Retain(); } function in struct:llvm::IntrusiveRefCntPtrInfo
143 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); }
183 void retain() { function in class:llvm::IntrusiveRefCntPtr
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/ADT/
IntrusiveRefCntPtr.h 51 // - has Retain() and Release() methods, or
68 /// calls to Release() and Retain(), which increment and decrement the object's
78 void Retain() const { ++RefCount; }
95 void Retain() const { RefCount.fetch_add(1, std::memory_order_relaxed); }
105 /// Class you can specialize to provide custom retain/release functionality for
109 /// works with any type which defines Retain() and Release() functions -- you
119 /// T::Retain and T::Release.
126 static void retain(T *obj) { obj->Retain(); } function in struct:llvm::IntrusiveRefCntPtrInfo
143 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); }
183 void retain() { function in class:llvm::IntrusiveRefCntPtr
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/ADT/
IntrusiveRefCntPtr.h 51 // - has Retain() and Release() methods, or
68 /// calls to Release() and Retain(), which increment and decrement the object's
78 void Retain() const { ++RefCount; }
95 void Retain() const { RefCount.fetch_add(1, std::memory_order_relaxed); }
105 /// Class you can specialize to provide custom retain/release functionality for
109 /// works with any type which defines Retain() and Release() functions -- you
119 /// T::Retain and T::Release.
126 static void retain(T *obj) { obj->Retain(); } function in struct:llvm::IntrusiveRefCntPtrInfo
143 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); }
183 void retain() { function in class:llvm::IntrusiveRefCntPtr
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/ADT/
IntrusiveRefCntPtr.h 51 // - has Retain() and Release() methods, or
68 /// calls to Release() and Retain(), which increment and decrement the object's
78 void Retain() const { ++RefCount; }
94 void Retain() const { RefCount.fetch_add(1, std::memory_order_relaxed); }
104 /// Class you can specialize to provide custom retain/release functionality for
108 /// works with any type which defines Retain() and Release() functions -- you
118 /// T::Retain and T::Release.
125 static void retain(T *obj) { obj->Retain(); } function in struct:llvm::IntrusiveRefCntPtrInfo
142 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); }
182 void retain() { function in class:llvm::IntrusiveRefCntPtr
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/ADT/
IntrusiveRefCntPtr.h 51 // - has Retain() and Release() methods, or
68 /// calls to Release() and Retain(), which increment and decrement the object's
78 void Retain() const { ++RefCount; }
95 void Retain() const { RefCount.fetch_add(1, std::memory_order_relaxed); }
105 /// Class you can specialize to provide custom retain/release functionality for
109 /// works with any type which defines Retain() and Release() functions -- you
119 /// T::Retain and T::Release.
126 static void retain(T *obj) { obj->Retain(); } function in struct:llvm::IntrusiveRefCntPtrInfo
143 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); }
183 void retain() { function in class:llvm::IntrusiveRefCntPtr
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/ADT/
IntrusiveRefCntPtr.h 51 // - has Retain() and Release() methods, or
68 /// calls to Release() and Retain(), which increment and decrement the object's
78 void Retain() const { ++RefCount; }
95 void Retain() const { RefCount.fetch_add(1, std::memory_order_relaxed); }
105 /// Class you can specialize to provide custom retain/release functionality for
109 /// works with any type which defines Retain() and Release() functions -- you
119 /// T::Retain and T::Release.
126 static void retain(T *obj) { obj->Retain(); } function in struct:llvm::IntrusiveRefCntPtrInfo
143 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); }
183 void retain() { function in class:llvm::IntrusiveRefCntPtr
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/ADT/
IntrusiveRefCntPtr.h 51 // - has Retain() and Release() methods, or
68 /// calls to Release() and Retain(), which increment and decrement the object's
78 void Retain() const { ++RefCount; }
95 void Retain() const { RefCount.fetch_add(1, std::memory_order_relaxed); }
105 /// Class you can specialize to provide custom retain/release functionality for
109 /// works with any type which defines Retain() and Release() functions -- you
119 /// T::Retain and T::Release.
126 static void retain(T *obj) { obj->Retain(); } function in struct:llvm::IntrusiveRefCntPtrInfo
143 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); }
183 void retain() { function in class:llvm::IntrusiveRefCntPtr
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/ADT/
IntrusiveRefCntPtr.h 51 // - has Retain() and Release() methods, or
68 /// calls to Release() and Retain(), which increment and decrement the object's
78 void Retain() const { ++RefCount; }
95 void Retain() const { RefCount.fetch_add(1, std::memory_order_relaxed); }
105 /// Class you can specialize to provide custom retain/release functionality for
109 /// works with any type which defines Retain() and Release() functions -- you
119 /// T::Retain and T::Release.
126 static void retain(T *obj) { obj->Retain(); } function in struct:llvm::IntrusiveRefCntPtrInfo
143 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); }
183 void retain() { function in class:llvm::IntrusiveRefCntPtr
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/ADT/
IntrusiveRefCntPtr.h 51 // - has Retain() and Release() methods, or
68 /// calls to Release() and Retain(), which increment and decrement the object's
78 void Retain() const { ++RefCount; }
95 void Retain() const { RefCount.fetch_add(1, std::memory_order_relaxed); }
105 /// Class you can specialize to provide custom retain/release functionality for
109 /// works with any type which defines Retain() and Release() functions -- you
119 /// T::Retain and T::Release.
126 static void retain(T *obj) { obj->Retain(); } function in struct:llvm::IntrusiveRefCntPtrInfo
143 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); }
183 void retain() { function in class:llvm::IntrusiveRefCntPtr
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/ADT/
IntrusiveRefCntPtr.h 51 // - has Retain() and Release() methods, or
68 /// calls to Release() and Retain(), which increment and decrement the object's
78 void Retain() const { ++RefCount; }
95 void Retain() const { RefCount.fetch_add(1, std::memory_order_relaxed); }
105 /// Class you can specialize to provide custom retain/release functionality for
109 /// works with any type which defines Retain() and Release() functions -- you
119 /// T::Retain and T::Release.
126 static void retain(T *obj) { obj->Retain(); } function in struct:llvm::IntrusiveRefCntPtrInfo
143 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); }
183 void retain() { function in class:llvm::IntrusiveRefCntPtr
    [all...]
  /external/llvm/include/llvm/Analysis/
ObjCARCInstKind.h 31 Retain, ///< objc_retain
  /external/llvm/unittests/ADT/
IntrusiveRefCntPtrTest.cpp 46 static void retain(InterceptRefCounted *I) { function in struct:llvm::IntrusiveRefCntPtrInfo
48 I->Retain();

Completed in 848 milliseconds

1 2 3 4 5