/external/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCContract.cpp | 83 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 …]
|
D | ARCRuntimeEntryPoints.h | 33 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
|
D | ObjCARCOpts.cpp | 632 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 …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCContract.cpp | 90 bool optimizeRetainCall(Function &F, Instruction *Retain); 121 bool ObjCARCContract::optimizeRetainCall(Function &F, Instruction *Retain) { in optimizeRetainCall() argument 122 ImmutableCallSite CS(GetArgRCIdentityRoot(Retain)); in optimizeRetainCall() 126 if (Call->getParent() != Retain->getParent()) in optimizeRetainCall() 133 if (&*I != Retain) in optimizeRetainCall() 144 << *Retain << "\n"); in optimizeRetainCall() 149 cast<CallInst>(Retain)->setCalledFunction(Decl); in optimizeRetainCall() 151 LLVM_DEBUG(dbgs() << "New: " << *Retain << "\n"); in optimizeRetainCall() 164 CallInst *Retain = nullptr; in contractAutorelease() local 180 Retain = dyn_cast_or_null<CallInst>(*DependingInstructions.begin()); in contractAutorelease() [all …]
|
D | ARCRuntimeEntryPoints.h | 44 Retain, enumerator 63 Retain = nullptr; in init() 81 case ARCRuntimeEntryPointKind::Retain: in get() 82 return getIntrinsicEntryPoint(Retain, Intrinsic::objc_retain); in get() 114 Function *Retain = nullptr; variable
|
D | ObjCARCOpts.cpp | 553 Instruction * Retain, 643 Function *NewDecl = EP.get(ARCRuntimeEntryPointKind::Retain); in OptimizeRetainRVCall() 1098 case ARCInstKind::Retain: in OptimizeIndividualCallImpl() 1339 case ARCInstKind::Retain: in VisitInstructionBottomUp() 1468 case ARCInstKind::Retain: in VisitInstructionTopDown() 1702 Function *Decl = EP.get(ARCRuntimeEntryPointKind::Retain); in MoveCalls() 1747 Instruction *Retain, in PairUpRetainsAndReleases() argument 1766 for (SmallVector<Instruction *, 4> NewRetains{Retain};;) { in PairUpRetainsAndReleases() 1958 Instruction *Retain = cast<Instruction>(V); in PerformCodePlacement() local 1960 LLVM_DEBUG(dbgs() << "Visiting: " << *Retain << "\n"); in PerformCodePlacement() [all …]
|
/external/llvm-project/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCContract.cpp | 89 bool optimizeRetainCall(Function &F, Instruction *Retain); 125 bool ObjCARCContract::optimizeRetainCall(Function &F, Instruction *Retain) { in optimizeRetainCall() argument 126 const auto *Call = dyn_cast<CallBase>(GetArgRCIdentityRoot(Retain)); in optimizeRetainCall() 129 if (Call->getParent() != Retain->getParent()) in optimizeRetainCall() 136 if (&*I != Retain) in optimizeRetainCall() 147 << *Retain << "\n"); in optimizeRetainCall() 152 cast<CallInst>(Retain)->setCalledFunction(Decl); in optimizeRetainCall() 154 LLVM_DEBUG(dbgs() << "New: " << *Retain << "\n"); in optimizeRetainCall() 168 auto *Retain = dyn_cast_or_null<CallInst>( in contractAutorelease() local 171 if (!Retain || GetBasicARCInstKind(Retain) != ARCInstKind::Retain || in contractAutorelease() [all …]
|
D | ARCRuntimeEntryPoints.h | 40 Retain, enumerator 59 Retain = nullptr; in init() 77 case ARCRuntimeEntryPointKind::Retain: in get() 78 return getIntrinsicEntryPoint(Retain, Intrinsic::objc_retain); in get() 110 Function *Retain = nullptr; variable
|
D | ObjCARCOpts.cpp | 552 Instruction *Retain, 652 Function *NewDecl = EP.get(ARCRuntimeEntryPointKind::Retain); in OptimizeRetainRVCall() 1133 case ARCInstKind::Retain: in OptimizeIndividualCallImpl() 1372 case ARCInstKind::Retain: in VisitInstructionBottomUp() 1501 case ARCInstKind::Retain: in VisitInstructionTopDown() 1744 Function *Decl = EP.get(ARCRuntimeEntryPointKind::Retain); in MoveCalls() 1789 Instruction *Retain, in PairUpRetainsAndReleases() argument 1808 for (SmallVector<Instruction *, 4> NewRetains{Retain};;) { in PairUpRetainsAndReleases() 2000 Instruction *Retain = cast<Instruction>(V); in PerformCodePlacement() local 2002 LLVM_DEBUG(dbgs() << "Visiting: " << *Retain << "\n"); in PerformCodePlacement() [all …]
|
/external/llvm-project/llvm/lib/Analysis/ |
D | ObjCARCInstKind.cpp | 32 case ARCInstKind::Retain: in operator <<() 115 return ARCInstKind::Retain; in GetFunctionClass() 317 case ARCInstKind::Retain: in IsUser() 347 case ARCInstKind::Retain: in IsRetain() 386 case ARCInstKind::Retain: in IsAutorelease() 418 case ARCInstKind::Retain: in IsForwarding() 453 case ARCInstKind::Retain: in IsNoopOnNull() 488 case ARCInstKind::Retain: in IsNoopOnGlobal() 524 case ARCInstKind::Retain: in IsAlwaysTail() 565 case ARCInstKind::Retain: in IsNeverTail() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ObjCARCInstKind.cpp | 32 case ARCInstKind::Retain: in operator <<() 115 return ARCInstKind::Retain; in GetFunctionClass() 317 case ARCInstKind::Retain: in IsUser() 347 case ARCInstKind::Retain: in IsRetain() 386 case ARCInstKind::Retain: in IsAutorelease() 418 case ARCInstKind::Retain: in IsForwarding() 453 case ARCInstKind::Retain: in IsNoopOnNull() 488 case ARCInstKind::Retain: in IsNoopOnGlobal() 524 case ARCInstKind::Retain: in IsAlwaysTail() 565 case ARCInstKind::Retain: in IsNeverTail() [all …]
|
/external/webrtc/sdk/objc/helpers/ |
D | scoped_cftyperef.h | 29 static T Retain(T ref) { in Retain() function 42 Traits::Retain(ptr_); in ScopedTypeRef() 47 ptr_ = Traits::Retain(ptr_); in ScopedTypeRef() 83 Traits::Retain(ptr);
|
/external/llvm/lib/Analysis/ |
D | ObjCARCInstKind.cpp | 33 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/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | IntrusiveRefCntPtr.h | 48 void Retain() const { ++ref_cnt; } in Retain() function 74 void Retain() const { ++ref_cnt; } in Retain() function 86 static void retain(T *obj) { obj->Retain(); } in retain() 105 void Retain() const { RefCount.fetch_add(1, std::memory_order_relaxed); } in Retain() function
|
/external/llvm/include/llvm/ADT/ |
D | IntrusiveRefCntPtr.h | 51 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/pdfium/core/fxcrt/ |
D | retain_ptr.h | 29 m_pObj->Retain(); in RetainPtr() 52 obj->Retain(); 124 void Retain() const { ++m_nRefCount; } in Retain() function
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | IntrusiveRefCntPtr.h | 77 void Retain() const { ++RefCount; } in Retain() function 94 void Retain() const { RefCount.fetch_add(1, std::memory_order_relaxed); } in Retain() function 125 static void retain(T *obj) { obj->Retain(); } in retain()
|
/external/llvm-project/llvm/include/llvm/ADT/ |
D | IntrusiveRefCntPtr.h | 91 void Retain() const { ++RefCount; } in Retain() function 122 void Retain() const { RefCount.fetch_add(1, std::memory_order_relaxed); } in Retain() function 153 static void retain(T *obj) { obj->Retain(); } in retain()
|
/external/grpc-grpc/src/core/lib/iomgr/ |
D | cfstream_handle.cc | 36 void* CFStreamHandle::Retain(void* info) { in Retain() function in CFStreamHandle 120 CFStreamHandle::Retain, CFStreamHandle::Release, in CFStreamHandle()
|
/external/pdfium/testing/ |
D | pseudo_retainable.h | 11 void Retain() { ++retain_count_; } in Retain() function
|
/external/webrtc/sdk/android/src/jni/ |
D | scoped_java_ref_counted.cc | 19 ScopedJavaRefCounted ScopedJavaRefCounted::Retain( in Retain() function in webrtc::jni::ScopedJavaRefCounted
|
D | scoped_java_ref_counted.h | 29 static ScopedJavaRefCounted Retain(JNIEnv* jni,
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/ |
D | cfstream_handle.cc | 44 void* CFStreamHandle::Retain(void* info) { in Retain() function in CFStreamHandle 139 CFStreamHandle::Retain, CFStreamHandle::Release, in CFStreamHandle()
|
/external/llvm/test/DebugInfo/Inputs/ |
D | dwarfdump-objc.m | 10 @property (retain) NSObject *Retain; property
|
/external/llvm-project/llvm/test/DebugInfo/Inputs/ |
D | dwarfdump-objc.m | 10 @property (retain) NSObject *Retain; property
|