Searched refs:Retain (Results 1 - 21 of 21) sorted by relevance

/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/ObjCARC/
H A DARCRuntimeEntryPoints.h40 Retain, member in class:llvm::objcarc::ARCRuntimeEntryPointKind
60 Retain = nullptr;
79 case ARCRuntimeEntryPointKind::Retain:
80 return getIntrinsicEntryPoint(Retain, Intrinsic::objc_retain);
115 Function *Retain = nullptr; member in class:llvm::objcarc::ARCRuntimeEntryPoints
H A DObjCARCContract.cpp89 bool optimizeRetainCall(Function &F, Instruction *Retain);
126 bool ObjCARCContract::optimizeRetainCall(Function &F, Instruction *Retain) { argument
127 const auto *Call = dyn_cast<CallBase>(GetArgRCIdentityRoot(Retain));
130 if (Call->getParent() != Retain->getParent())
137 if (&*I != Retain)
148 << *Retain << "\n");
153 cast<CallInst>(Retain)->setCalledFunction(Decl);
155 LLVM_DEBUG(dbgs() << "New: " << *Retain << "\n");
169 auto *Retain = dyn_cast_or_null<CallInst>( local
172 if (!Retain || GetBasicARCInstKin
184 << *Retain << "\\n"); local
300 Instruction *Retain = &*I; local
361 Instruction *Retain = local
[all...]
H A DObjCARCExpand.cpp65 case ARCInstKind::Retain:
H A DObjCARCOpts.cpp553 Instruction *Retain,
655 Function *NewDecl = EP.get(ARCRuntimeEntryPointKind::Retain);
1150 case ARCInstKind::Retain:
1386 case ARCInstKind::Retain:
1515 case ARCInstKind::Retain:
1530 // If we succeed, copy S's RRInfo into the Release -> {Retain Set
1758 Function *Decl = EP.get(ARCRuntimeEntryPointKind::Retain);
1763 LLVM_DEBUG(dbgs() << "Inserting new Retain: " << *Call
1803 Instruction *Retain,
1822 for (SmallVector<Instruction *, 4> NewRetains{Retain};;) {
1799 PairUpRetainsAndReleases( DenseMap<const BasicBlock *, BBState> &BBStates, BlotMapVector<Value *, RRInfo> &Retains, DenseMap<Value *, RRInfo> &Releases, Module *M, Instruction *Retain, SmallVectorImpl<Instruction *> &DeadInsts, RRInfo &RetainsToMove, RRInfo &ReleasesToMove, Value *Arg, bool KnownSafe, bool &AnyPairsCompletelyEliminated) argument
2014 Instruction *Retain = cast<Instruction>(V); local
2248 HasSafePathToPredecessorCall(const Value *Arg, Instruction *Retain, ProvenanceAnalysis &PA) argument
2272 auto *Retain = dyn_cast_or_null<CallInst>( local
2338 CallInst *Retain = FindPredecessorRetainWithSafePath( local
[all...]
H A DDependencyAnalysis.cpp177 case ARCInstKind::Retain:
189 case ARCInstKind::Retain:
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DObjCARCInstKind.cpp31 case ARCInstKind::Retain:
32 return OS << "ARCInstKind::Retain";
114 return ARCInstKind::Retain;
317 case ARCInstKind::Retain:
347 case ARCInstKind::Retain:
386 case ARCInstKind::Retain:
418 case ARCInstKind::Retain:
453 case ARCInstKind::Retain:
488 case ARCInstKind::Retain:
524 case ARCInstKind::Retain
[all...]
H A DObjCARCAliasAnalysis.cpp118 case ARCInstKind::Retain:
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DObjCARCInstKind.h29 Retain, ///< objc_retain member in class:llvm::objcarc::ARCInstKind
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DIntrusiveRefCntPtr.h50 // - has Retain() and Release() methods, or
68 /// calls to Release() and Retain(), which increment and decrement the object's
91 void Retain() const { ++RefCount; } function in class:llvm::RefCountedBase
122 void Retain() const { RefCount.fetch_add(1, std::memory_order_relaxed); } function in class:llvm::ThreadSafeRefCountedBase
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(); }
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Rewrite/Core/
H A DRewriteRope.h37 void Retain() { ++RefCount; } function in struct:clang::RopeRefCountString
/netbsd-current/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DCheckObjCDealloc.cpp566 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:
/netbsd-current/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXIndexDataConsumer.h262 /// Retain/Release only useful when we allocate a AttrListInfo from the
265 void Retain() { ++ref_cnt; } function in class:clang::cxindex::AttrListInfo
/netbsd-current/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp659 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() ||
656 selectExplicitSectionGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM, MCContext &Ctx, Mangler &Mang, unsigned &NextUniqueID, bool Retain, bool ForceUnique) argument
831 selectELFSectionForGlobal( MCContext &Ctx, const GlobalObject *GO, SectionKind Kind, Mangler &Mang, const TargetMachine &TM, bool Retain, bool EmitUniqueSection, unsigned Flags, unsigned *NextUniqueID) argument
/netbsd-current/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/
H A DOrcV2CBindings.cpp274 // Retain the pointer for the C API client.
275 RT->Retain();
282 // Retain the pointer for the C API client.
H A DCore.cpp43 JD->Retain();
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/AST/
H A DDeclObjC.h733 enum SetterKind { Assign, Retain, Copy, Weak }; enumerator in enum:clang::ObjCPropertyDecl::SetterKind
872 return getType()->isBlockPointerType() ? Copy : Retain;
874 return Retain;
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallEvent.h166 void Retain() const { ++RefCount; } function in class:clang::ento::CallEvent
/netbsd-current/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGObjC.cpp936 if (setterKind == ObjCPropertyDecl::Retain) {
2255 /// Retain the given object, with normal retain semantics.
2263 /// Retain the given block, with _Block_copy semantics.
2373 /// Retain the given object which is the result of a function call.
2483 // Retain the new value.
2786 /// Retain the given object, with normal retain semantics.
2977 // Retain using the non-block variant: we never need to do a copy
3370 // Retain the object as a block.
/netbsd-current/external/bsd/jemalloc/dist/bin/
H A Djeprof.in233 --retain=<regexp> Retain only nodes that match <regexp>
/netbsd-current/external/apache2/llvm/dist/clang/lib/AST/
H A DASTContext.cpp7134 case ObjCPropertyDecl::Retain: S += ",&"; break;
/netbsd-current/external/mit/expat/dist/
H A Dconfigure1510 Retain context around the current parse point;

Completed in 511 milliseconds