Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp841 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()
[all …]