Home
last modified time | relevance | path

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

123

/external/llvm/lib/Transforms/ObjCARC/
DObjCARCContract.cpp83 bool optimizeRetainCall(Function &F, Instruction *Retain);
113 bool ObjCARCContract::optimizeRetainCall(Function &F, Instruction *Retain) { in optimizeRetainCall() argument
114 ImmutableCallSite CS(GetArgRCIdentityRoot(Retain)); in optimizeRetainCall()
118 if (Call->getParent() != Retain->getParent()) in optimizeRetainCall()
125 if (&*I != Retain) in optimizeRetainCall()
134 "return value.\nOld: "<< *Retain << "\n"); in optimizeRetainCall()
139 cast<CallInst>(Retain)->setCalledFunction(Decl); in optimizeRetainCall()
141 DEBUG(dbgs() << "New: " << *Retain << "\n"); in optimizeRetainCall()
154 CallInst *Retain = nullptr; in contractAutorelease() local
170 Retain = dyn_cast_or_null<CallInst>(*DependingInstructions.begin()); in contractAutorelease()
[all …]
DARCRuntimeEntryPoints.h33 Retain, enumerator
49 Retain(nullptr), in ARCRuntimeEntryPoints()
61 Retain = nullptr; in init()
79 case ARCRuntimeEntryPointKind::Retain: in get()
80 return getI8XRetI8XEntryPoint(Retain, "objc_retain", true); in get()
110 Constant *Retain; variable
DObjCARCOpts.cpp632 Constant *NewDecl = EP.get(ARCRuntimeEntryPointKind::Retain); in OptimizeRetainRVCall()
875 case ARCInstKind::Retain: in OptimizeIndividualCalls()
1123 case ARCInstKind::Retain: in VisitInstructionBottomUp()
1268 case ARCInstKind::Retain: in VisitInstructionTopDown()
1490 Constant *Decl = EP.get(ARCRuntimeEntryPointKind::Retain); in MoveCalls()
1750 Instruction *Retain = cast<Instruction>(V); in PerformCodePlacement() local
1752 DEBUG(dbgs() << "Visiting: " << *Retain << "\n"); in PerformCodePlacement()
1754 Value *Arg = GetArgRCIdentityRoot(Retain); in PerformCodePlacement()
1772 NewRetains.push_back(Retain); in PerformCodePlacement()
1848 Constant *Decl = EP.get(ARCRuntimeEntryPointKind::Retain); in OptimizeWeakCalls()
[all …]
DDependencyAnalysis.cpp188 case ARCInstKind::Retain: in Depends()
200 case ARCInstKind::Retain: in Depends()
DObjCARCExpand.cpp102 case ARCInstKind::Retain: in runOnFunction()
/external/llvm/lib/Analysis/
DObjCARCInstKind.cpp33 case ARCInstKind::Retain: in operator <<()
106 .Case("objc_retain", ARCInstKind::Retain) in GetFunctionClass()
336 case ARCInstKind::Retain: in IsUser()
366 case ARCInstKind::Retain: in IsRetain()
405 case ARCInstKind::Retain: in IsAutorelease()
437 case ARCInstKind::Retain: in IsForwarding()
472 case ARCInstKind::Retain: in IsNoopOnNull()
508 case ARCInstKind::Retain: in IsAlwaysTail()
549 case ARCInstKind::Retain: in IsNeverTail()
584 case ARCInstKind::Retain: in IsNoThrow()
[all …]
/external/libchrome/base/mac/
Dscoped_typeref.h61 object_ = Traits::Retain(object_); in object_()
67 object_ = Traits::Retain(object_); in ScopedTypeRef()
75 object_ = Traits::Retain(object_); in ScopedTypeRef()
104 object = Traits::Retain(object);
Dscoped_cftyperef.h33 static CFT Retain(CFT object) { in Retain() function
Dscoped_dispatch_object.h19 static T Retain(T object) { in Retain() function
Dscoped_ioobject.h20 static IOT Retain(IOT iot) { in Retain() function
Dscoped_ioplugininterface.h20 static T Retain(T t) { in Retain() function
Dscoped_block.h26 static B Retain(B block) { in Retain() function
Dbind_objc_block.h51 base::mac::internal::ScopedBlockTraits<R (^)(Args...)>::Retain(
/external/pdfium/core/fxcrt/
Dcfx_retain_ptr.h20 m_pObj->Retain(); in CFX_RetainPtr()
40 obj->Retain();
89 void Retain() { ++m_nRefCount; } in Retain() function
Dcfx_shared_copy_on_write.h66 void Retain() { m_RefCount++; } in Retain() function
Dcfx_weak_ptr.h66 T* Retain() { in Retain() function
Dcfx_string_data_template.h54 void Retain() { ++m_nRefs; } in Retain() function
/external/llvm/include/llvm/ADT/
DIntrusiveRefCntPtr.h51 void Retain() const { ++ref_cnt; } in Retain() function
76 void Retain() const { ++ref_cnt; } in Retain() function
88 static void retain(T *obj) { obj->Retain(); } in retain()
107 void Retain() const { ++RefCount; } in Retain() function
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DIntrusiveRefCntPtr.h50 void Retain() const { ++ref_cnt; } in Retain() function
72 void Retain() const { ++ref_cnt; } in Retain() function
162 void retain() { if (Obj) Obj->Retain(); } in retain()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DObjCARC.cpp1470 void OptimizeRetainCall(Function &F, Instruction *Retain);
1898 ObjCARCOpt::OptimizeRetainCall(Function &F, Instruction *Retain) { in OptimizeRetainCall() argument
1899 CallSite CS(GetObjCArg(Retain)); in OptimizeRetainCall()
1902 if (Call->getParent() != Retain->getParent()) return; in OptimizeRetainCall()
1908 if (&*I != Retain) in OptimizeRetainCall()
1914 cast<CallInst>(Retain)->setCalledFunction(getRetainRVCallee(F.getParent())); in OptimizeRetainCall()
2765 Instruction *Retain = cast<Instruction>(V); in PerformCodePlacement() local
2766 Value *Arg = GetObjCArg(Retain); in PerformCodePlacement()
2802 NewRetains.push_back(Retain); in PerformCodePlacement()
3180 CallInst *Retain = in OptimizeReturns() local
[all …]
/external/llvm/test/DebugInfo/Inputs/
Ddwarfdump-objc.m10 @property (retain) NSObject *Retain; property
/external/pdfium/core/fxge/android/
Dcfpf_skiafont.h22 CFPF_SkiaFont* Retain();
/external/pdfium/fpdfsdk/fpdfxfa/
Dcpdfxfa_page.h24 void Retain() { m_iRef++; } in Retain() function
/external/llvm/unittests/ADT/
DIntrusiveRefCntPtrTest.cpp48 I->Retain(); in retain()
/external/llvm/include/llvm/Analysis/
DObjCARCInstKind.h31 Retain, ///< objc_retain enumerator

123