Searched refs:BBCases (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 701 std::vector<std::pair<ConstantInt*, BasicBlock*> > BBCases; in FoldValueComparisonIntoPredecessors() local 702 BasicBlock *BBDefault = GetValueEqualityComparisonCases(TI, BBCases); in FoldValueComparisonIntoPredecessors() 732 for (unsigned i = 0, e = BBCases.size(); i != e; ++i) in FoldValueComparisonIntoPredecessors() 733 if (!PTIHandled.count(BBCases[i].first) && in FoldValueComparisonIntoPredecessors() 734 BBCases[i].second != BBDefault) { in FoldValueComparisonIntoPredecessors() 735 PredCases.push_back(BBCases[i]); in FoldValueComparisonIntoPredecessors() 736 NewSuccessors.push_back(BBCases[i].second); in FoldValueComparisonIntoPredecessors() 754 for (unsigned i = 0, e = BBCases.size(); i != e; ++i) in FoldValueComparisonIntoPredecessors() 755 if (PTIHandled.count(BBCases[i].first)) { in FoldValueComparisonIntoPredecessors() 757 PredCases.push_back(BBCases[i]); in FoldValueComparisonIntoPredecessors() [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 959 std::vector<ValueEqualityComparisonCase> BBCases; in FoldValueComparisonIntoPredecessors() local 960 BasicBlock *BBDefault = GetValueEqualityComparisonCases(TI, BBCases); in FoldValueComparisonIntoPredecessors() 990 if (SuccWeights.size() != 1 + BBCases.size()) in FoldValueComparisonIntoPredecessors() 993 SuccWeights.assign(1 + BBCases.size(), 1); in FoldValueComparisonIntoPredecessors() 1027 for (unsigned i = 0, e = BBCases.size(); i != e; ++i) in FoldValueComparisonIntoPredecessors() 1028 if (!PTIHandled.count(BBCases[i].Value) && in FoldValueComparisonIntoPredecessors() 1029 BBCases[i].Dest != BBDefault) { in FoldValueComparisonIntoPredecessors() 1030 PredCases.push_back(BBCases[i]); in FoldValueComparisonIntoPredecessors() 1031 NewSuccessors.push_back(BBCases[i].Dest); in FoldValueComparisonIntoPredecessors() 1073 for (unsigned i = 0, e = BBCases.size(); i != e; ++i) in FoldValueComparisonIntoPredecessors() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 1030 std::vector<ValueEqualityComparisonCase> BBCases; in FoldValueComparisonIntoPredecessors() local 1031 BasicBlock *BBDefault = GetValueEqualityComparisonCases(TI, BBCases); in FoldValueComparisonIntoPredecessors() 1061 if (SuccWeights.size() != 1 + BBCases.size()) in FoldValueComparisonIntoPredecessors() 1064 SuccWeights.assign(1 + BBCases.size(), 1); in FoldValueComparisonIntoPredecessors() 1098 for (unsigned i = 0, e = BBCases.size(); i != e; ++i) in FoldValueComparisonIntoPredecessors() 1099 if (!PTIHandled.count(BBCases[i].Value) && in FoldValueComparisonIntoPredecessors() 1100 BBCases[i].Dest != BBDefault) { in FoldValueComparisonIntoPredecessors() 1101 PredCases.push_back(BBCases[i]); in FoldValueComparisonIntoPredecessors() 1102 NewSuccessors.push_back(BBCases[i].Dest); in FoldValueComparisonIntoPredecessors() 1144 for (unsigned i = 0, e = BBCases.size(); i != e; ++i) in FoldValueComparisonIntoPredecessors() [all …]
|