Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp1646 SmallVector<BranchProbability, 4> BBSuccProbs; in UpdateBlockFreqAndEdgeWeight() local
1648 BBSuccProbs.assign(BBSuccFreq.size(), in UpdateBlockFreqAndEdgeWeight()
1652 BBSuccProbs.push_back( in UpdateBlockFreqAndEdgeWeight()
1655 BranchProbability::normalizeProbabilities(BBSuccProbs.begin(), in UpdateBlockFreqAndEdgeWeight()
1656 BBSuccProbs.end()); in UpdateBlockFreqAndEdgeWeight()
1660 for (int I = 0, E = BBSuccProbs.size(); I < E; I++) in UpdateBlockFreqAndEdgeWeight()
1661 BPI->setEdgeProbability(BB, I, BBSuccProbs[I]); in UpdateBlockFreqAndEdgeWeight()
1663 if (BBSuccProbs.size() >= 2) { in UpdateBlockFreqAndEdgeWeight()
1665 for (auto Prob : BBSuccProbs) in UpdateBlockFreqAndEdgeWeight()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp2162 SmallVector<BranchProbability, 4> BBSuccProbs; in UpdateBlockFreqAndEdgeWeight() local
2164 BBSuccProbs.assign(BBSuccFreq.size(), in UpdateBlockFreqAndEdgeWeight()
2168 BBSuccProbs.push_back( in UpdateBlockFreqAndEdgeWeight()
2171 BranchProbability::normalizeProbabilities(BBSuccProbs.begin(), in UpdateBlockFreqAndEdgeWeight()
2172 BBSuccProbs.end()); in UpdateBlockFreqAndEdgeWeight()
2176 for (int I = 0, E = BBSuccProbs.size(); I < E; I++) in UpdateBlockFreqAndEdgeWeight()
2177 BPI->setEdgeProbability(BB, I, BBSuccProbs[I]); in UpdateBlockFreqAndEdgeWeight()
2213 if (BBSuccProbs.size() >= 2 && doesBlockHaveProfileData(BB)) { in UpdateBlockFreqAndEdgeWeight()
2215 for (auto Prob : BBSuccProbs) in UpdateBlockFreqAndEdgeWeight()