/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/libchrome/base/mac/ |
scoped_cftyperef.h | 24 // enum. If the value |RETAIN| is passed (in the constructor or in reset()), 33 static CFT Retain(CFT object) {
|
scoped_dispatch_object.h | 19 static T Retain(T object) {
|
scoped_ioobject.h | 20 static IOT Retain(IOT iot) {
|
scoped_ioplugininterface.h | 20 static T Retain(T t) {
|
scoped_block.h | 26 static B Retain(B block) {
|
scoped_typeref.h | 15 // of a reference to any type that is maintained by Retain and Release methods. 17 // The Traits structure must provide the Retain and Release methods for type T. 25 // static CGLContextObj Retain(CGLContextObj object) { 42 // ownership of the object (and should not call Retain in initialization) or if 44 // Retain in initialization). This behavior is based on the |policy| parameter, 45 // with |ASSUME| for the former and |RETAIN| for the latter. The default policy 60 if (object_ && policy == base::scoped_policy::RETAIN) 61 object_ = Traits::Retain(object_); 67 object_ = Traits::Retain(object_); 75 object_ = Traits::Retain(object_) [all...] |
bind_objc_block.h | 51 base::mac::internal::ScopedBlockTraits<R (^)(Args...)>::Retain(
|
/external/pdfium/core/fxcrt/ |
cfx_retain_ptr.h | 20 m_pObj->Retain(); 40 obj->Retain(); 89 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 | 22 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-3957855/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-3960126/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-3977809/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-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-3957855/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-3960126/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-3977809/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-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...] |
/external/llvm/include/llvm/Analysis/ |
ObjCARCInstKind.h | 31 Retain, ///< objc_retain
|