Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/ObjCARC/
H A DObjCARCContract.cpp90 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 in contractAutorelease()
195 << *Retain << "\\n"); contractAutorelease() local
311 Instruction *Retain = &*I; findRetainForStoreStrongContraction() local
398 Instruction *Retain = tryToContractReleaseIntoStoreStrong() local
[all...]
H A DARCRuntimeEntryPoints.h44 Retain, member in llvm::objcarc::ARCRuntimeEntryPointKind
63 Retain = nullptr; in init()
81 case ARCRuntimeEntryPointKind::Retain: in get()
82 return getIntrinsicEntryPoint(Retain, Intrinsic::objc_retain); in get()
114 Function *Retain = nullptr; member in llvm::objcarc::ARCRuntimeEntryPoints
H A DObjCARCOpts.cpp553 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()
1483 // If we succeed, copy S's RRInfo into the Release -> {Retain Set in VisitInstructionTopDown()
1702 Function *Decl = EP.get(ARCRuntimeEntryPointKind::Retain); in MoveCalls()
1707 LLVM_DEBUG(dbgs() << "Inserting new Retain: " << *Call in MoveCalls()
1747 Instruction *Retain, in PairUpRetainsAndReleases()
1766 for (SmallVector<Instruction *, 4> NewRetains{Retain};;) { in PairUpRetainsAndReleases()
1743 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) PairUpRetainsAndReleases() argument
1958 Instruction *Retain = cast<Instruction>(V); PerformCodePlacement() local
2192 HasSafePathToPredecessorCall(const Value *Arg, Instruction *Retain, SmallPtrSetImpl<Instruction *> &DepInsts, SmallPtrSetImpl<const BasicBlock *> &Visited, ProvenanceAnalysis &PA) HasSafePathToPredecessorCall() argument
2299 CallInst *Retain = FindPredecessorRetainWithSafePath( OptimizeReturns() local
[all...]
H A DDependencyAnalysis.cpp184 case ARCInstKind::Retain: in Depends()
196 case ARCInstKind::Retain: in Depends()
H A DObjCARCExpand.cpp103 case ARCInstKind::Retain: in runOnFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A DObjCARCInstKind.cpp32 case ARCInstKind::Retain: in operator <<()
33 return OS << "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()
[all...]
H A DObjCARCAliasAnalysis.cpp117 case ARCInstKind::Retain: in getModRefInfo()
/third_party/gn/src/base/mac/
H A Dscoped_typeref.h15 // of a reference to any type that is maintained by Retain and Release methods.
17 // The Traits structure must provide the Retain and Release methods for type T.
25 // static CGLContextObj Retain(CGLContextObj object) {
42 // ownership of the object (and should not call Retain in initialization) or if
44 // Retain in initialization). This behavior is based on the |policy| parameter,
61 object_ = Traits::Retain(object_); in ScopedTypeRef()
66 object_ = Traits::Retain(object_); in ScopedTypeRef()
74 object_ = Traits::Retain(object_); in ScopedTypeRef()
103 object = Traits::Retain(object); in reset()
H A Dscoped_cftyperef.h33 static CFT Retain(CFT object) { in Retain() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
H A DIntrusiveRefCntPtr.h48 void Retain() const { ++ref_cnt; } in Retain() function in llvm::RefCountedBase
74 void Retain() const { ++ref_cnt; } in Retain() function in llvm::RefCountedBaseVPTR
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 in llvm::ThreadSafeRefCountedBase
127 /// Obj->Retain()/Obj->Release(). Release() is required to destroy
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DIntrusiveRefCntPtr.h50 // - has Retain() and Release() methods, or
67 /// calls to Release() and Retain(), which increment and decrement the object's
77 void Retain() const { ++RefCount; } in Retain() function in llvm::RefCountedBase
94 void Retain() const { RefCount.fetch_add(1, std::memory_order_relaxed); } in Retain() function in llvm::ThreadSafeRefCountedBase
108 /// works with any type which defines Retain() and Release() functions -- you
118 /// T::Retain and T::Release.
125 static void retain(T *obj) { obj->Retain(); } in retain()
/third_party/skia/src/sksl/dsl/
H A DDSLSymbols.cpp56 const String* Retain(String string) { in Retain() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
H A DObjCARCInstKind.h31 Retain, ///< objc_retain member in llvm::objcarc::ARCInstKind
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/ant/
H A DCleanOutputDirectoryTask.java84 public static final class Retain extends Task { class in CleanOutputDirectoryTask
114 public void addConfiguredRetain(Retain retain) { in addConfiguredRetain()
/third_party/node/deps/v8/src/compiler/
H A Dgraph-assembler.cc472 Node* GraphAssembler::Retain(Node* buffer) { in Retain() function in v8::internal::compiler::GraphAssembler
473 return AddNode(graph()->NewNode(common()->Retain(), buffer, effect())); in Retain()
H A Dcommon-operator.h549 const Operator* Retain();
H A Draw-machine-assembler.h204 Node* Retain(Node* value) { return AddNode(common()->Retain(), value); } in Retain() function in v8::internal::compiler::RawMachineAssembler
H A Dgraph-assembler.h323 Node* Retain(Node* buffer);
H A Dopcodes.h74 V(Retain) \
H A Dcommon-operator.cc457 V(Retain, Operator::kKontrol, 1, 1, 0, 0, 1, 0)
H A Deffect-control-linearizer.cc5546 __ Retain(object); in LowerLoadDataViewElement()
5589 __ Retain(object); in LowerStoreDataViewElement()
5649 __ Retain(buffer); in LowerLoadTypedElement()
5678 __ Retain(buffer); in LowerStoreTypedElement()
/third_party/mesa3d/include/CL/
H A Dcl2.hpp921 #define __RETAIN_ERR CL_HPP_ERR_STR_(Retain Object)
1581 * Retain the device.
1592 * Retain the device.
H A Dcl.hpp460 #define __RETAIN_ERR __ERR_STR(Retain Object)
1658 * Retain the device.
1669 * Retain the device.

Completed in 56 milliseconds