Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp258 SmallVector<unsigned, 4> ColdEdges; in calcColdCallHeuristics() local
262 ColdEdges.push_back(I.getSuccessorIndex()); in calcColdCallHeuristics()
268 if (ColdEdges.size() == TI->getNumSuccessors()) in calcColdCallHeuristics()
283 if (TI->getNumSuccessors() == 1 || ColdEdges.empty()) in calcColdCallHeuristics()
287 BranchProbability Prob(1, ColdEdges.size()); in calcColdCallHeuristics()
288 for (unsigned SuccIdx : ColdEdges) in calcColdCallHeuristics()
295 ColdEdges.size()); in calcColdCallHeuristics()
300 for (unsigned SuccIdx : ColdEdges) in calcColdCallHeuristics()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp358 SmallVector<unsigned, 4> ColdEdges; in calcColdCallHeuristics() local
362 ColdEdges.push_back(I.getSuccessorIndex()); in calcColdCallHeuristics()
367 if (ColdEdges.empty()) in calcColdCallHeuristics()
371 BranchProbability Prob(1, ColdEdges.size()); in calcColdCallHeuristics()
372 for (unsigned SuccIdx : ColdEdges) in calcColdCallHeuristics()
379 (CC_TAKEN_WEIGHT + CC_NONTAKEN_WEIGHT) * uint64_t(ColdEdges.size())); in calcColdCallHeuristics()
384 for (unsigned SuccIdx : ColdEdges) in calcColdCallHeuristics()