| /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...] |
| ObjCARCExpand.cpp | 65 case ARCInstKind::Retain:
|
| 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...] |
| DependencyAnalysis.cpp | 177 case ARCInstKind::Retain: 179 // Check for a retain of the same pointer for merging. 189 case ARCInstKind::Retain: 191 // Check for a retain of the same pointer for merging.
|
| /src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| ObjCARCInstKind.cpp | 31 case ARCInstKind::Retain: 32 return OS << "ARCInstKind::Retain"; 114 return ARCInstKind::Retain; 317 case ARCInstKind::Retain: 347 case ARCInstKind::Retain: 350 // I believe we treat retain block as not a retain since it can copy its 386 case ARCInstKind::Retain: 418 case ARCInstKind::Retain: 453 case ARCInstKind::Retain [all...] |
| ObjCARCAliasAnalysis.cpp | 118 case ARCInstKind::Retain:
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| ObjCARCInstKind.h | 29 Retain, ///< objc_retain
|
| /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/clang/include/clang/Rewrite/Core/ |
| RewriteRope.h | 37 void Retain() { ++RefCount; }
|
| /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| CheckObjCDealloc.cpp | 12 // - When a class has a synthesized instance variable for a 'retain' or 'copy' 14 // - When a class has a synthesized instance variable for a 'retain'/'copy' 566 PropDecl->getSetterKind() == ObjCPropertyDecl::Retain); 571 if (PropDecl->getSetterKind() == ObjCPropertyDecl::Retain) 895 // Retain and copy setters retain/copy their values before storing and so 897 case ObjCPropertyDecl::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/llvm/lib/CodeGen/ |
| TargetLoweringObjectFileImpl.cpp | 659 bool Retain, bool ForceUnique) { 702 if (Associated || Retain) { 706 if (Retain && (Ctx.getAsmInfo()->useIntegratedAssembler() || 833 const TargetMachine &TM, bool Retain, bool EmitUniqueSection, 840 if (Retain && (Ctx.getAsmInfo()->useIntegratedAssembler() ||
|
| /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/ |
| OrcV2CBindings.cpp | 274 // Retain the pointer for the C API client. 275 RT->Retain(); 282 // Retain the pointer for the C API client.
|
| Core.cpp | 43 JD->Retain();
|
| /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;
|
| /src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| CallEvent.h | 166 void Retain() const { ++RefCount; }
|
| /src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| CGObjC.cpp | 581 // If the method is -retain, and the receiver's being loaded from 595 // We don't retain the receiver in delegate init calls, and this is 652 // (i.e. retain+autorelease) of receivers of returns-inner-pointer 935 // Handle retain. 936 if (setterKind == ObjCPropertyDecl::Retain) { 1212 // We need to fix the type here. Ivars with copy & retain are 1753 // Emit the collection pointer. In ARC, we do a retain. 2245 /// Produce the code to do a retain. Based on the type, calls one of: 2255 /// Retain the given object, with normal retain semantics [all...] |
| /src/external/bsd/jemalloc/dist/bin/ |
| jeprof.in | 10 # * Redistributions of source code must retain the above copyright 235 --retain=<regexp> Retain only nodes that match <regexp> 424 "retain=s" => \$main::opt_retain, 2359 * 1. Redistributions of source code must retain the above copyright notice, this list of 3462 push(@params, sprintf("retain=%s", URLEncode($main::opt_retain)));
|
| /src/external/bsd/jemalloc.old/dist/bin/ |
| jeprof.in | 10 # * Redistributions of source code must retain the above copyright 233 --retain=<regexp> Retain only nodes that match <regexp> 418 "retain=s" => \$main::opt_retain, 2344 * 1. Redistributions of source code must retain the above copyright notice, this list of 3401 push(@params, sprintf("retain=%s", URLEncode($main::opt_retain)));
|
| /src/external/apache2/llvm/dist/clang/lib/AST/ |
| ASTContext.cpp | 7134 case ObjCPropertyDecl::Retain: S += ",&"; break;
|