Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp864 std::vector<ValueEqualityComparisonCase> BBCases; in FoldValueComparisonIntoPredecessors() local
865 BasicBlock *BBDefault = GetValueEqualityComparisonCases(TI, BBCases); in FoldValueComparisonIntoPredecessors()
895 if (SuccWeights.size() != 1 + BBCases.size()) in FoldValueComparisonIntoPredecessors()
898 SuccWeights.assign(1 + BBCases.size(), 1); in FoldValueComparisonIntoPredecessors()
931 for (unsigned i = 0, e = BBCases.size(); i != e; ++i) in FoldValueComparisonIntoPredecessors()
932 if (!PTIHandled.count(BBCases[i].Value) && in FoldValueComparisonIntoPredecessors()
933 BBCases[i].Dest != BBDefault) { in FoldValueComparisonIntoPredecessors()
934 PredCases.push_back(BBCases[i]); in FoldValueComparisonIntoPredecessors()
935 NewSuccessors.push_back(BBCases[i].Dest); in FoldValueComparisonIntoPredecessors()
976 for (unsigned i = 0, e = BBCases.size(); i != e; ++i) in FoldValueComparisonIntoPredecessors()
[all …]