Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DSimplifyCFG.cpp566 std::vector<std::pair<ConstantInt*, BasicBlock*> > ThisCases; in SimplifyEqualityComparisonWithOnlyPredecessor() local
567 BasicBlock *ThisDef = GetValueEqualityComparisonCases(TI, ThisCases); in SimplifyEqualityComparisonWithOnlyPredecessor()
568 EliminateBlockCases(ThisDef, ThisCases); // Remove default from cases. in SimplifyEqualityComparisonWithOnlyPredecessor()
576 if (!ValuesOverlap(PredCases, ThisCases)) in SimplifyEqualityComparisonWithOnlyPredecessor()
582 assert(ThisCases.size() == 1 && "Branch can only have one case!"); in SimplifyEqualityComparisonWithOnlyPredecessor()
588 ThisCases[0].second->removePredecessor(TI->getParent()); in SimplifyEqualityComparisonWithOnlyPredecessor()
631 for (unsigned i = 0, e = ThisCases.size(); i != e; ++i) in SimplifyEqualityComparisonWithOnlyPredecessor()
632 if (ThisCases[i].first == TIV) { in SimplifyEqualityComparisonWithOnlyPredecessor()
633 TheRealDest = ThisCases[i].second; in SimplifyEqualityComparisonWithOnlyPredecessor()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp760 std::vector<ValueEqualityComparisonCase> ThisCases; in SimplifyEqualityComparisonWithOnlyPredecessor() local
761 BasicBlock *ThisDef = GetValueEqualityComparisonCases(TI, ThisCases); in SimplifyEqualityComparisonWithOnlyPredecessor()
762 EliminateBlockCases(ThisDef, ThisCases); // Remove default from cases. in SimplifyEqualityComparisonWithOnlyPredecessor()
770 if (!ValuesOverlap(PredCases, ThisCases)) in SimplifyEqualityComparisonWithOnlyPredecessor()
776 assert(ThisCases.size() == 1 && "Branch can only have one case!"); in SimplifyEqualityComparisonWithOnlyPredecessor()
782 ThisCases[0].Dest->removePredecessor(TI->getParent()); in SimplifyEqualityComparisonWithOnlyPredecessor()
846 for (unsigned i = 0, e = ThisCases.size(); i != e; ++i) in SimplifyEqualityComparisonWithOnlyPredecessor()
847 if (ThisCases[i].Value == TIV) { in SimplifyEqualityComparisonWithOnlyPredecessor()
848 TheRealDest = ThisCases[i].Dest; in SimplifyEqualityComparisonWithOnlyPredecessor()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp823 std::vector<ValueEqualityComparisonCase> ThisCases; in SimplifyEqualityComparisonWithOnlyPredecessor() local
824 BasicBlock *ThisDef = GetValueEqualityComparisonCases(TI, ThisCases); in SimplifyEqualityComparisonWithOnlyPredecessor()
825 EliminateBlockCases(ThisDef, ThisCases); // Remove default from cases. in SimplifyEqualityComparisonWithOnlyPredecessor()
833 if (!ValuesOverlap(PredCases, ThisCases)) in SimplifyEqualityComparisonWithOnlyPredecessor()
839 assert(ThisCases.size() == 1 && "Branch can only have one case!"); in SimplifyEqualityComparisonWithOnlyPredecessor()
845 ThisCases[0].Dest->removePredecessor(TI->getParent()); in SimplifyEqualityComparisonWithOnlyPredecessor()
907 for (unsigned i = 0, e = ThisCases.size(); i != e; ++i) in SimplifyEqualityComparisonWithOnlyPredecessor()
908 if (ThisCases[i].Value == TIV) { in SimplifyEqualityComparisonWithOnlyPredecessor()
909 TheRealDest = ThisCases[i].Dest; in SimplifyEqualityComparisonWithOnlyPredecessor()