Lines Matching refs:ValueEqualityComparisonCase

124 struct ValueEqualityComparisonCase {  struct
128 ValueEqualityComparisonCase(ConstantInt *Value, BasicBlock *Dest) in ValueEqualityComparisonCase() argument
131 bool operator<(ValueEqualityComparisonCase RHS) const { in operator <() argument
147 TerminatorInst *TI, std::vector<ValueEqualityComparisonCase> &Cases);
674 TerminatorInst *TI, std::vector<ValueEqualityComparisonCase> &Cases) { in GetValueEqualityComparisonCases()
680 ValueEqualityComparisonCase(i.getCaseValue(), i.getCaseSuccessor())); in GetValueEqualityComparisonCases()
687 Cases.push_back(ValueEqualityComparisonCase( in GetValueEqualityComparisonCases()
696 std::vector<ValueEqualityComparisonCase> &Cases) { in EliminateBlockCases()
701 static bool ValuesOverlap(std::vector<ValueEqualityComparisonCase> &C1, in ValuesOverlap()
702 std::vector<ValueEqualityComparisonCase> &C2) { in ValuesOverlap()
703 std::vector<ValueEqualityComparisonCase> *V1 = &C1, *V2 = &C2; in ValuesOverlap()
754 std::vector<ValueEqualityComparisonCase> PredCases; in SimplifyEqualityComparisonWithOnlyPredecessor()
760 std::vector<ValueEqualityComparisonCase> ThisCases; in SimplifyEqualityComparisonWithOnlyPredecessor()
959 std::vector<ValueEqualityComparisonCase> BBCases; in FoldValueComparisonIntoPredecessors()
962 std::vector<ValueEqualityComparisonCase> PredCases; in FoldValueComparisonIntoPredecessors()
1089 PredCases.push_back(ValueEqualityComparisonCase(I, BBDefault)); in FoldValueComparisonIntoPredecessors()
1111 for (ValueEqualityComparisonCase &V : PredCases) in FoldValueComparisonIntoPredecessors()