Lines Matching refs:Retain

556                                 Instruction *Retain,
658 Function *NewDecl = EP.get(ARCRuntimeEntryPointKind::Retain); in OptimizeRetainRVCall()
1151 case ARCInstKind::Retain: in OptimizeIndividualCallImpl()
1387 case ARCInstKind::Retain: in VisitInstructionBottomUp()
1509 Instruction *Retain = cast<Instruction>(P.first); in collectReleaseInsertPts() local
1510 Value *Root = GetRCIdentityRoot(Retain->getOperand(0)); in collectReleaseInsertPts()
1564 case ARCInstKind::Retain: in VisitInstructionTopDown()
1814 Function *Decl = EP.get(ARCRuntimeEntryPointKind::Retain); in MoveCalls()
1859 Instruction *Retain, in PairUpRetainsAndReleases() argument
1878 for (SmallVector<Instruction *, 4> NewRetains{Retain};;) { in PairUpRetainsAndReleases()
2070 Instruction *Retain = cast<Instruction>(V); in PerformCodePlacement() local
2072 LLVM_DEBUG(dbgs() << "Visiting: " << *Retain << "\n"); in PerformCodePlacement()
2074 Value *Arg = GetArgRCIdentityRoot(Retain); in PerformCodePlacement()
2095 BBStates, Retains, Releases, M, Retain, DeadInsts, in PerformCodePlacement()
2164 Function *Decl = EP.get(ARCRuntimeEntryPointKind::Retain); in OptimizeWeakCalls()
2193 Function *Decl = EP.get(ARCRuntimeEntryPointKind::Retain); in OptimizeWeakCalls()
2304 Instruction *Retain, in HasSafePathToPredecessorCall() argument
2307 CanChangeRetainCount, Arg, Retain->getParent(), Retain, PA)); in HasSafePathToPredecessorCall()
2327 auto *Retain = dyn_cast_or_null<CallInst>( in FindPredecessorRetainWithSafePath() local
2331 if (!Retain || !IsRetain(GetBasicARCInstKind(Retain)) || in FindPredecessorRetainWithSafePath()
2332 GetArgRCIdentityRoot(Retain) != Arg) { in FindPredecessorRetainWithSafePath()
2336 return Retain; in FindPredecessorRetainWithSafePath()
2393 CallInst *Retain = FindPredecessorRetainWithSafePath( in OptimizeReturns() local
2396 if (!Retain) in OptimizeReturns()
2401 CallInst *Call = HasSafePathToPredecessorCall(Arg, Retain, PA); in OptimizeReturns()
2406 GetBasicARCInstKind(Retain) == ARCInstKind::RetainRV && in OptimizeReturns()
2413 LLVM_DEBUG(dbgs() << "Erasing: " << *Retain << "\nErasing: " << *Autorelease in OptimizeReturns()
2415 BundledInsts->eraseInst(Retain); in OptimizeReturns()
2433 case ARCInstKind::Retain: in GatherStatistics()
2499 if (UsedInThisFunction & ((1 << unsigned(ARCInstKind::Retain)) | in run()