Lines Matching refs:Retain

521                              Instruction * Retain,
645 Constant *NewDecl = EP.get(ARCRuntimeEntryPointKind::Retain); in OptimizeRetainRVCall()
942 case ARCInstKind::Retain: in OptimizeIndividualCalls()
1188 case ARCInstKind::Retain: in VisitInstructionBottomUp()
1310 case ARCInstKind::Retain: in VisitInstructionTopDown()
1531 Constant *Decl = EP.get(ARCRuntimeEntryPointKind::Retain); in MoveCalls()
1576 Instruction *Retain, in PairUpRetainsAndReleases() argument
1595 for (SmallVector<Instruction *, 4> NewRetains{Retain};;) { in PairUpRetainsAndReleases()
1787 Instruction *Retain = cast<Instruction>(V); in PerformCodePlacement() local
1789 LLVM_DEBUG(dbgs() << "Visiting: " << *Retain << "\n"); in PerformCodePlacement()
1791 Value *Arg = GetArgRCIdentityRoot(Retain); in PerformCodePlacement()
1812 BBStates, Retains, Releases, M, Retain, DeadInsts, in PerformCodePlacement()
1880 Constant *Decl = EP.get(ARCRuntimeEntryPointKind::Retain); in OptimizeWeakCalls()
1909 Constant *Decl = EP.get(ARCRuntimeEntryPointKind::Retain); in OptimizeWeakCalls()
2018 HasSafePathToPredecessorCall(const Value *Arg, Instruction *Retain, in HasSafePathToPredecessorCall() argument
2022 FindDependencies(CanChangeRetainCount, Arg, Retain->getParent(), Retain, in HasSafePathToPredecessorCall()
2052 auto *Retain = dyn_cast_or_null<CallInst>(*DepInsts.begin()); in FindPredecessorRetainWithSafePath() local
2055 if (!Retain || !IsRetain(GetBasicARCInstKind(Retain)) || in FindPredecessorRetainWithSafePath()
2056 GetArgRCIdentityRoot(Retain) != Arg) { in FindPredecessorRetainWithSafePath()
2060 return Retain; in FindPredecessorRetainWithSafePath()
2125 CallInst *Retain = FindPredecessorRetainWithSafePath( in OptimizeReturns() local
2131 if (!Retain) in OptimizeReturns()
2136 bool HasSafePathToCall = HasSafePathToPredecessorCall(Arg, Retain, in OptimizeReturns()
2148 LLVM_DEBUG(dbgs() << "Erasing: " << *Retain << "\nErasing: " << *Autorelease in OptimizeReturns()
2150 EraseInstruction(Retain); in OptimizeReturns()
2168 case ARCInstKind::Retain: in GatherStatistics()
2239 if (UsedInThisFunction & ((1 << unsigned(ARCInstKind::Retain)) | in runOnFunction()