Lines Matching refs:ClonedFunc

247     Function *ClonedFunc = nullptr;  member
733 Cloner.ClonedFuncBFI->getBlockFreq(&Cloner.ClonedFunc->getEntryBlock()); in getOutliningCallBBRelativeFreq()
775 assert(Callee == Cloner.ClonedFunc); in shouldPartialInline()
998 ClonedFunc = CloneFunction(F, VMap); in FunctionCloner()
1011 F->replaceAllUsesWith(ClonedFunc); in FunctionCloner()
1024 ClonedFunc = CloneFunction(F, VMap); in FunctionCloner()
1045 F->replaceAllUsesWith(ClonedFunc); in FunctionCloner()
1143 DT.recalculate(*ClonedFunc); in doMultiRegionFunctionOutlining()
1147 BranchProbabilityInfo BPI(*ClonedFunc, LI); in doMultiRegionFunctionOutlining()
1148 ClonedFuncBFI.reset(new BlockFrequencyInfo(*ClonedFunc, BPI, LI)); in doMultiRegionFunctionOutlining()
1151 CodeExtractorAnalysisCache CEAC(*ClonedFunc); in doMultiRegionFunctionOutlining()
1181 assert(OutliningCallBB->getParent() == ClonedFunc); in doMultiRegionFunctionOutlining()
1214 DT.recalculate(*ClonedFunc); in doSingleRegionFunctionOutlining()
1218 BranchProbabilityInfo BPI(*ClonedFunc, LI); in doSingleRegionFunctionOutlining()
1219 ClonedFuncBFI.reset(new BlockFrequencyInfo(*ClonedFunc, BPI, LI)); in doSingleRegionFunctionOutlining()
1223 auto *ClonedFuncTTI = &GetTTI(*ClonedFunc); in doSingleRegionFunctionOutlining()
1227 for (BasicBlock &BB : *ClonedFunc) in doSingleRegionFunctionOutlining()
1238 CodeExtractorAnalysisCache CEAC(*ClonedFunc); in doSingleRegionFunctionOutlining()
1241 ClonedFuncBFI.get(), &BPI, LookupAC(*ClonedFunc), in doSingleRegionFunctionOutlining()
1248 assert(OutliningCallBB->getParent() == ClonedFunc); in doSingleRegionFunctionOutlining()
1264 ClonedFunc->replaceAllUsesWith(OrigFunc); in ~FunctionCloner()
1265 ClonedFunc->eraseFromParent(); in ~FunctionCloner()
1315 Cloner.ClonedFunc->print(dbgs()); in unswitchFunction()
1378 std::tie(DLoc, Block) = getOneDebugLoc(*Cloner.ClonedFunc); in tryPartialInline()
1394 std::vector<User *> Users(Cloner.ClonedFunc->user_begin(), in tryPartialInline()
1395 Cloner.ClonedFunc->user_end()); in tryPartialInline()
1400 computeCallsiteToProfCountMap(Cloner.ClonedFunc, CallSiteToProfCountMap); in tryPartialInline()