Lines Matching refs:ValueEqualityComparisonCase
112 struct ValueEqualityComparisonCase { struct
116 ValueEqualityComparisonCase(ConstantInt *Value, BasicBlock *Dest) in ValueEqualityComparisonCase() function
119 bool operator<(ValueEqualityComparisonCase RHS) const { in operator <() argument
134 std::vector<ValueEqualityComparisonCase> &Cases);
579 std::vector<ValueEqualityComparisonCase> in GetValueEqualityComparisonCases()
584 Cases.push_back(ValueEqualityComparisonCase(i.getCaseValue(), in GetValueEqualityComparisonCases()
592 Cases.push_back(ValueEqualityComparisonCase(GetConstantInt(ICI->getOperand(1), in GetValueEqualityComparisonCases()
602 std::vector<ValueEqualityComparisonCase> &Cases) { in EliminateBlockCases()
608 ValuesOverlap(std::vector<ValueEqualityComparisonCase> &C1, in ValuesOverlap()
609 std::vector<ValueEqualityComparisonCase > &C2) { in ValuesOverlap()
610 std::vector<ValueEqualityComparisonCase> *V1 = &C1, *V2 = &C2; in ValuesOverlap()
660 std::vector<ValueEqualityComparisonCase> PredCases; in SimplifyEqualityComparisonWithOnlyPredecessor()
666 std::vector<ValueEqualityComparisonCase> ThisCases; in SimplifyEqualityComparisonWithOnlyPredecessor()
864 std::vector<ValueEqualityComparisonCase> BBCases; in FoldValueComparisonIntoPredecessors()
867 std::vector<ValueEqualityComparisonCase> PredCases; in FoldValueComparisonIntoPredecessors()
993 PredCases.push_back(ValueEqualityComparisonCase(*I, BBDefault)); in FoldValueComparisonIntoPredecessors()
1015 for (ValueEqualityComparisonCase &V : PredCases) in FoldValueComparisonIntoPredecessors()