Searched refs:UnreachableEdges (Results 1 – 2 of 2) sorted by relevance
128 SmallVector<unsigned, 4> UnreachableEdges; in calcUnreachableHeuristics() local133 UnreachableEdges.push_back(I.getSuccessorIndex()); in calcUnreachableHeuristics()140 if (UnreachableEdges.size() == TI->getNumSuccessors()) in calcUnreachableHeuristics()145 if (TI->getNumSuccessors() == 1 || UnreachableEdges.empty()) in calcUnreachableHeuristics()159 BranchProbability Prob(1, UnreachableEdges.size()); in calcUnreachableHeuristics()160 for (unsigned SuccIdx : UnreachableEdges) in calcUnreachableHeuristics()167 UnreachableEdges.size()); in calcUnreachableHeuristics()172 for (unsigned SuccIdx : UnreachableEdges) in calcUnreachableHeuristics()
211 SmallVector<unsigned, 4> UnreachableEdges; in calcUnreachableHeuristics() local216 UnreachableEdges.push_back(I.getSuccessorIndex()); in calcUnreachableHeuristics()221 if (UnreachableEdges.empty()) in calcUnreachableHeuristics()225 BranchProbability Prob(1, UnreachableEdges.size()); in calcUnreachableHeuristics()226 for (unsigned SuccIdx : UnreachableEdges) in calcUnreachableHeuristics()233 (BranchProbability::getOne() - UR_TAKEN_PROB * UnreachableEdges.size()) / in calcUnreachableHeuristics()236 for (unsigned SuccIdx : UnreachableEdges) in calcUnreachableHeuristics()