/freebsd-10-stable/contrib/llvm/lib/Transforms/ObjCARC/ |
H A D | ObjCARCContract.cpp | 70 bool OptimizeRetainCall(Function &F, Instruction *Retain); 116 ObjCARCContract::OptimizeRetainCall(Function &F, Instruction *Retain) { argument 117 ImmutableCallSite CS(GetObjCArg(Retain)); 121 if (Call->getParent() != Retain->getParent()) 128 if (&*I != Retain) 137 "return value.\nOld: "<< *Retain << "\n"); 142 cast<CallInst>(Retain)->setCalledFunction(Decl); 144 DEBUG(dbgs() << "New: " << *Retain << "\n"); 160 CallInst *Retain = 0; local 176 Retain 190 << *Retain << "\\n"); local 260 Instruction *Retain = I; local [all...] |
H A D | ARCRuntimeEntryPoints.h | 49 Retain(0), 63 Retain = 0; 82 return getI8XRetI8XEntryPoint(Retain, "objc_retain", true); 112 Constant *Retain; member in class:llvm::objcarc::ARCRuntimeEntryPoints
|
H A D | ObjCARCOpts.cpp | 2318 DEBUG(dbgs() << "Inserting new Retain: " << *Call << "\n" 2618 Instruction *Retain = cast<Instruction>(V); local 2620 DEBUG(dbgs() << "Visiting: " << *Retain << "\n"); 2622 Value *Arg = GetObjCArg(Retain); 2640 NewRetains.push_back(Retain); 2856 /// between the Retain and the call that can affect the reference count of their 2857 /// shared pointer argument. Note that Retain need not be in BB. 2859 HasSafePathToPredecessorCall(const Value *Arg, Instruction *Retain, argument 2863 FindDependencies(CanChangeRetainCount, Arg, Retain->getParent(), Retain, 2977 CallInst *Retain = local [all...] |
/freebsd-10-stable/contrib/llvm/include/llvm/ADT/ |
H A D | IntrusiveRefCntPtr.h | 51 void Retain() const { ++ref_cnt; } function in class:llvm::RefCountedBase 76 void Retain() const { ++ref_cnt; } function in class:llvm::RefCountedBaseVPTR 88 static void retain(T *obj) { obj->Retain(); } 104 /// Obj->Retain()/Obj->Release(). Release() is required to destroy
|
/freebsd-10-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
H A D | BasicObjCFoundationChecks.cpp | 498 mutable IdentifierInfo *Retain, *Release, *MakeCollectable; member in class:__anon3522::CFRetainReleaseChecker 500 CFRetainReleaseChecker(): Retain(0), Release(0), MakeCollectable(0) {} 519 Retain = &Ctx.Idents.get("CFRetain"); 528 if (!(FuncII == Retain || FuncII == Release || FuncII == MakeCollectable)) 559 if (FuncII == Retain)
|
/freebsd-10-stable/contrib/llvm/lib/IR/ |
H A D | DebugInfo.cpp | 922 DIArray Retain = CU.getRetainedTypes(); local 923 for (unsigned Ti = 0, Te = Retain.getNumElements(); Ti != Te; ++Ti) { 924 if (!Retain.getElement(Ti).isCompositeType()) 926 DICompositeType Ty(Retain.getElement(Ti));
|
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/AST/ |
H A D | DeclObjC.h | 2013 enum SetterKind { Assign, Retain, Copy, Weak }; enumerator in enum:clang::ObjCPropertyDecl::SetterKind 2111 return getType()->isBlockPointerType() ? Copy : Retain; 2113 return Retain;
|
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | CallEvent.h | 139 void Retain() const { ++RefCount; } function in class:clang::ento::CallEvent
|
/freebsd-10-stable/contrib/llvm/tools/clang/lib/CodeGen/ |
H A D | CGObjC.cpp | 636 if (setterKind == ObjCPropertyDecl::Retain) { 1899 /// Retain the given object, with normal retain semantics. 1907 /// Retain the given block, with _Block_copy semantics. 1937 /// Retain the given object which is the result of a function call. 2082 // Retain the new value. 2449 // Retain using the non-block variant: we never need to do a copy 2627 // Retain the object as a block, then cast down.
|
/freebsd-10-stable/contrib/llvm/tools/clang/lib/AST/ |
H A D | ASTContext.cpp | 4995 case ObjCPropertyDecl::Retain: S += ",&"; break;
|