Lines Matching refs:Threshold
167 unsigned Threshold) { in selectCallee() argument
188 if (Summary->instCount() > Threshold) in selectCallee()
205 unsigned Threshold, in selectCallee() argument
210 return selectCallee(Index, CalleeSummaryList->second, Threshold); in selectCallee()
267 unsigned Threshold, const GVSummaryMapTy &DefinedGVSummaries, in computeImportForFunction() argument
273 DEBUG(dbgs() << " edge -> " << GUID << " Threshold:" << Threshold << "\n"); in computeImportForFunction()
280 auto *CalleeSummary = selectCallee(GUID, Threshold, Index); in computeImportForFunction()
296 assert(ResolvedCalleeSummary->instCount() <= Threshold && in computeImportForFunction()
304 if (ProcessedThreshold && ProcessedThreshold >= Threshold) { in computeImportForFunction()
310 ProcessedThreshold = Threshold; in computeImportForFunction()
329 Worklist.push_back(std::make_pair(ResolvedCalleeSummary, Threshold)); in computeImportForFunction()
363 auto Threshold = FuncInfo.second; in ComputeImportForModule() local
367 Threshold = Threshold * ImportInstrFactor; in ComputeImportForModule()
369 computeImportForFunction(*Summary, Index, Threshold, DefinedGVSummaries, in ComputeImportForModule()