Home
last modified time | relevance | path

Searched refs:ColdEdges (Results 1 – 1 of 1) sorted by relevance

/external/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp250 SmallVector<unsigned, 4> ColdEdges; in calcColdCallHeuristics() local
254 ColdEdges.push_back(I.getSuccessorIndex()); in calcColdCallHeuristics()
260 if (ColdEdges.size() == TI->getNumSuccessors()) in calcColdCallHeuristics()
275 if (TI->getNumSuccessors() == 1 || ColdEdges.empty()) in calcColdCallHeuristics()
279 std::max(CC_TAKEN_WEIGHT / (unsigned) ColdEdges.size(), MIN_WEIGHT); in calcColdCallHeuristics()
280 for (SmallVectorImpl<unsigned>::iterator I = ColdEdges.begin(), in calcColdCallHeuristics()
281 E = ColdEdges.end(); in calcColdCallHeuristics()