Searched refs:PredCases (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 560 std::vector<std::pair<ConstantInt*, BasicBlock*> > PredCases; in SimplifyEqualityComparisonWithOnlyPredecessor() local 562 PredCases); in SimplifyEqualityComparisonWithOnlyPredecessor() 563 EliminateBlockCases(PredDef, PredCases); // Remove default from cases. in SimplifyEqualityComparisonWithOnlyPredecessor() 576 if (!ValuesOverlap(PredCases, ThisCases)) in SimplifyEqualityComparisonWithOnlyPredecessor() 600 for (unsigned i = 0, e = PredCases.size(); i != e; ++i) in SimplifyEqualityComparisonWithOnlyPredecessor() 601 DeadCases.insert(PredCases[i].first); in SimplifyEqualityComparisonWithOnlyPredecessor() 620 for (unsigned i = 0, e = PredCases.size(); i != e; ++i) in SimplifyEqualityComparisonWithOnlyPredecessor() 621 if (PredCases[i].second == TIBB) { in SimplifyEqualityComparisonWithOnlyPredecessor() 624 TIV = PredCases[i].first; in SimplifyEqualityComparisonWithOnlyPredecessor() 704 std::vector<std::pair<ConstantInt*, BasicBlock*> > PredCases; in FoldValueComparisonIntoPredecessors() local [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 754 std::vector<ValueEqualityComparisonCase> PredCases; in SimplifyEqualityComparisonWithOnlyPredecessor() local 756 GetValueEqualityComparisonCases(Pred->getTerminator(), PredCases); in SimplifyEqualityComparisonWithOnlyPredecessor() 757 EliminateBlockCases(PredDef, PredCases); // Remove default from cases. in SimplifyEqualityComparisonWithOnlyPredecessor() 770 if (!ValuesOverlap(PredCases, ThisCases)) in SimplifyEqualityComparisonWithOnlyPredecessor() 795 for (unsigned i = 0, e = PredCases.size(); i != e; ++i) in SimplifyEqualityComparisonWithOnlyPredecessor() 796 DeadCases.insert(PredCases[i].Value); in SimplifyEqualityComparisonWithOnlyPredecessor() 835 for (unsigned i = 0, e = PredCases.size(); i != e; ++i) in SimplifyEqualityComparisonWithOnlyPredecessor() 836 if (PredCases[i].Dest == TIBB) { in SimplifyEqualityComparisonWithOnlyPredecessor() 839 TIV = PredCases[i].Value; in SimplifyEqualityComparisonWithOnlyPredecessor() 962 std::vector<ValueEqualityComparisonCase> PredCases; in FoldValueComparisonIntoPredecessors() local [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 817 std::vector<ValueEqualityComparisonCase> PredCases; in SimplifyEqualityComparisonWithOnlyPredecessor() local 819 GetValueEqualityComparisonCases(Pred->getTerminator(), PredCases); in SimplifyEqualityComparisonWithOnlyPredecessor() 820 EliminateBlockCases(PredDef, PredCases); // Remove default from cases. in SimplifyEqualityComparisonWithOnlyPredecessor() 833 if (!ValuesOverlap(PredCases, ThisCases)) in SimplifyEqualityComparisonWithOnlyPredecessor() 858 for (unsigned i = 0, e = PredCases.size(); i != e; ++i) in SimplifyEqualityComparisonWithOnlyPredecessor() 859 DeadCases.insert(PredCases[i].Value); in SimplifyEqualityComparisonWithOnlyPredecessor() 896 for (unsigned i = 0, e = PredCases.size(); i != e; ++i) in SimplifyEqualityComparisonWithOnlyPredecessor() 897 if (PredCases[i].Dest == TIBB) { in SimplifyEqualityComparisonWithOnlyPredecessor() 900 TIV = PredCases[i].Value; in SimplifyEqualityComparisonWithOnlyPredecessor() 1033 std::vector<ValueEqualityComparisonCase> PredCases; in FoldValueComparisonIntoPredecessors() local [all …]
|