Lines Matching refs:Retain

554                                 Instruction *Retain,
643 Function *NewDecl = EP.get(ARCRuntimeEntryPointKind::Retain); in OptimizeRetainRVCall()
1107 case ARCInstKind::Retain: in OptimizeIndividualCallImpl()
1348 case ARCInstKind::Retain: in VisitInstructionBottomUp()
1470 Instruction *Retain = cast<Instruction>(P.first); in collectReleaseInsertPts() local
1471 Value *Root = GetRCIdentityRoot(Retain->getOperand(0)); in collectReleaseInsertPts()
1525 case ARCInstKind::Retain: in VisitInstructionTopDown()
1776 Function *Decl = EP.get(ARCRuntimeEntryPointKind::Retain); in MoveCalls()
1828 Instruction *Retain, in PairUpRetainsAndReleases() argument
1847 for (SmallVector<Instruction *, 4> NewRetains{Retain};;) { in PairUpRetainsAndReleases()
2039 Instruction *Retain = cast<Instruction>(V); in PerformCodePlacement() local
2041 LLVM_DEBUG(dbgs() << "Visiting: " << *Retain << "\n"); in PerformCodePlacement()
2043 Value *Arg = GetArgRCIdentityRoot(Retain); in PerformCodePlacement()
2064 BBStates, Retains, Releases, M, Retain, DeadInsts, in PerformCodePlacement()
2133 Function *Decl = EP.get(ARCRuntimeEntryPointKind::Retain); in OptimizeWeakCalls()
2163 Function *Decl = EP.get(ARCRuntimeEntryPointKind::Retain); in OptimizeWeakCalls()
2275 Instruction *Retain, in HasSafePathToPredecessorCall() argument
2278 CanChangeRetainCount, Arg, Retain->getParent(), Retain, PA)); in HasSafePathToPredecessorCall()
2298 auto *Retain = dyn_cast_or_null<CallInst>( in FindPredecessorRetainWithSafePath() local
2302 if (!Retain || !IsRetain(GetBasicARCInstKind(Retain)) || in FindPredecessorRetainWithSafePath()
2303 GetArgRCIdentityRoot(Retain) != Arg) { in FindPredecessorRetainWithSafePath()
2307 return Retain; in FindPredecessorRetainWithSafePath()
2364 CallInst *Retain = FindPredecessorRetainWithSafePath( in OptimizeReturns() local
2367 if (!Retain) in OptimizeReturns()
2372 CallInst *Call = HasSafePathToPredecessorCall(Arg, Retain, PA); in OptimizeReturns()
2377 GetBasicARCInstKind(Retain) == ARCInstKind::RetainRV && in OptimizeReturns()
2384 LLVM_DEBUG(dbgs() << "Erasing: " << *Retain << "\nErasing: " << *Autorelease in OptimizeReturns()
2386 BundledInsts->eraseInst(Retain); in OptimizeReturns()
2404 case ARCInstKind::Retain: in GatherStatistics()
2475 if (UsedInThisFunction & ((1 << unsigned(ARCInstKind::Retain)) | in run()