Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp643 std::vector<ValueEqualityComparisonCase> ThisCases; in SimplifyEqualityComparisonWithOnlyPredecessor() local
644 BasicBlock *ThisDef = GetValueEqualityComparisonCases(TI, ThisCases); in SimplifyEqualityComparisonWithOnlyPredecessor()
645 EliminateBlockCases(ThisDef, ThisCases); // Remove default from cases. in SimplifyEqualityComparisonWithOnlyPredecessor()
653 if (!ValuesOverlap(PredCases, ThisCases)) in SimplifyEqualityComparisonWithOnlyPredecessor()
659 assert(ThisCases.size() == 1 && "Branch can only have one case!"); in SimplifyEqualityComparisonWithOnlyPredecessor()
665 ThisCases[0].Dest->removePredecessor(TI->getParent()); in SimplifyEqualityComparisonWithOnlyPredecessor()
728 for (unsigned i = 0, e = ThisCases.size(); i != e; ++i) in SimplifyEqualityComparisonWithOnlyPredecessor()
729 if (ThisCases[i].Value == TIV) { in SimplifyEqualityComparisonWithOnlyPredecessor()
730 TheRealDest = ThisCases[i].Dest; in SimplifyEqualityComparisonWithOnlyPredecessor()