Lines Matching refs:BBCases
841 std::vector<ValueEqualityComparisonCase> BBCases; in FoldValueComparisonIntoPredecessors() local
842 BasicBlock *BBDefault = GetValueEqualityComparisonCases(TI, BBCases); in FoldValueComparisonIntoPredecessors()
872 if (SuccWeights.size() != 1 + BBCases.size()) in FoldValueComparisonIntoPredecessors()
875 SuccWeights.assign(1 + BBCases.size(), 1); in FoldValueComparisonIntoPredecessors()
908 for (unsigned i = 0, e = BBCases.size(); i != e; ++i) in FoldValueComparisonIntoPredecessors()
909 if (!PTIHandled.count(BBCases[i].Value) && in FoldValueComparisonIntoPredecessors()
910 BBCases[i].Dest != BBDefault) { in FoldValueComparisonIntoPredecessors()
911 PredCases.push_back(BBCases[i]); in FoldValueComparisonIntoPredecessors()
912 NewSuccessors.push_back(BBCases[i].Dest); in FoldValueComparisonIntoPredecessors()
953 for (unsigned i = 0, e = BBCases.size(); i != e; ++i) in FoldValueComparisonIntoPredecessors()
954 if (PTIHandled.count(BBCases[i].Value)) { in FoldValueComparisonIntoPredecessors()
957 Weights.push_back(WeightsForHandled[BBCases[i].Value]); in FoldValueComparisonIntoPredecessors()
958 PredCases.push_back(BBCases[i]); in FoldValueComparisonIntoPredecessors()
959 NewSuccessors.push_back(BBCases[i].Dest); in FoldValueComparisonIntoPredecessors()
960 PTIHandled.erase(BBCases[i].Value);// This constant is taken care of in FoldValueComparisonIntoPredecessors()