Lines Matching refs:BBCases
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()
1074 if (PTIHandled.count(BBCases[i].Value)) { in FoldValueComparisonIntoPredecessors()
1077 Weights.push_back(WeightsForHandled[BBCases[i].Value]); in FoldValueComparisonIntoPredecessors()
1078 PredCases.push_back(BBCases[i]); in FoldValueComparisonIntoPredecessors()
1079 NewSuccessors.push_back(BBCases[i].Dest); in FoldValueComparisonIntoPredecessors()
1081 BBCases[i].Value); // This constant is taken care of in FoldValueComparisonIntoPredecessors()