Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp2375 SmallVector<uint64_t, 8> NewWeights; in FoldBranchToCommonDest() local
2382 NewWeights.push_back(PredTrueWeight * SuccTrueWeight); in FoldBranchToCommonDest()
2387 NewWeights.push_back(PredFalseWeight * in FoldBranchToCommonDest()
2400 NewWeights.push_back(PredTrueWeight * in FoldBranchToCommonDest()
2404 NewWeights.push_back(PredFalseWeight * SuccFalseWeight); in FoldBranchToCommonDest()
2409 if (NewWeights.size() == 2) { in FoldBranchToCommonDest()
2411 FitWeights(NewWeights); in FoldBranchToCommonDest()
2413 SmallVector<uint32_t, 8> MDWeights(NewWeights.begin(), in FoldBranchToCommonDest()
2414 NewWeights.end()); in FoldBranchToCommonDest()
2941 uint64_t NewWeights[2] = {PredCommon * (SuccCommon + SuccOther) + in SimplifyCondBranchToCondBranch() local
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp2730 SmallVector<uint64_t, 8> NewWeights; in FoldBranchToCommonDest() local
2737 NewWeights.push_back(PredTrueWeight * SuccTrueWeight); in FoldBranchToCommonDest()
2742 NewWeights.push_back(PredFalseWeight * in FoldBranchToCommonDest()
2755 NewWeights.push_back(PredTrueWeight * in FoldBranchToCommonDest()
2759 NewWeights.push_back(PredFalseWeight * SuccFalseWeight); in FoldBranchToCommonDest()
2764 if (NewWeights.size() == 2) { in FoldBranchToCommonDest()
2766 FitWeights(NewWeights); in FoldBranchToCommonDest()
2768 SmallVector<uint32_t, 8> MDWeights(NewWeights.begin(), in FoldBranchToCommonDest()
2769 NewWeights.end()); in FoldBranchToCommonDest()
3345 uint64_t NewWeights[2] = {PredCommon * (SuccCommon + SuccOther) + in SimplifyCondBranchToCondBranch() local
[all …]