Lines Matching refs:getNumSuccessors
117 if (TI->getNumSuccessors() == 0) { in calcUnreachableHeuristics()
140 if (UnreachableEdges.size() == TI->getNumSuccessors()) in calcUnreachableHeuristics()
145 if (TI->getNumSuccessors() == 1 || UnreachableEdges.empty()) in calcUnreachableHeuristics()
184 if (TI->getNumSuccessors() == 1) in calcMetadataWeights()
194 assert(TI->getNumSuccessors() < UINT32_MAX && "Too many successors"); in calcMetadataWeights()
198 if (WeightsNode->getNumOperands() != TI->getNumSuccessors() + 1) in calcMetadataWeights()
206 Weights.reserve(TI->getNumSuccessors()); in calcMetadataWeights()
217 assert(Weights.size() == TI->getNumSuccessors() && "Checked above"); in calcMetadataWeights()
225 for (unsigned i = 0, e = TI->getNumSuccessors(); i != e; ++i) { in calcMetadataWeights()
231 for (unsigned i = 0, e = TI->getNumSuccessors(); i != e; ++i) in calcMetadataWeights()
234 for (unsigned i = 0, e = TI->getNumSuccessors(); i != e; ++i) in calcMetadataWeights()
254 if (TI->getNumSuccessors() == 0) in calcColdCallHeuristics()
268 if (ColdEdges.size() == TI->getNumSuccessors()) in calcColdCallHeuristics()
283 if (TI->getNumSuccessors() == 1 || ColdEdges.empty()) in calcColdCallHeuristics()