Lines Matching refs:ValueEqualityComparisonCase
96 struct ValueEqualityComparisonCase { struct
100 ValueEqualityComparisonCase(ConstantInt *Value, BasicBlock *Dest) in ValueEqualityComparisonCase() argument
103 bool operator<(ValueEqualityComparisonCase RHS) const { in operator <() argument
118 std::vector<ValueEqualityComparisonCase> &Cases);
554 std::vector<ValueEqualityComparisonCase> in GetValueEqualityComparisonCases()
559 Cases.push_back(ValueEqualityComparisonCase(i.getCaseValue(), in GetValueEqualityComparisonCases()
567 Cases.push_back(ValueEqualityComparisonCase(GetConstantInt(ICI->getOperand(1), in GetValueEqualityComparisonCases()
577 std::vector<ValueEqualityComparisonCase> &Cases) { in EliminateBlockCases()
584 ValuesOverlap(std::vector<ValueEqualityComparisonCase> &C1, in ValuesOverlap()
585 std::vector<ValueEqualityComparisonCase > &C2) { in ValuesOverlap()
586 std::vector<ValueEqualityComparisonCase> *V1 = &C1, *V2 = &C2; in ValuesOverlap()
637 std::vector<ValueEqualityComparisonCase> PredCases; in SimplifyEqualityComparisonWithOnlyPredecessor()
643 std::vector<ValueEqualityComparisonCase> ThisCases; in SimplifyEqualityComparisonWithOnlyPredecessor()
841 std::vector<ValueEqualityComparisonCase> BBCases; in FoldValueComparisonIntoPredecessors()
844 std::vector<ValueEqualityComparisonCase> PredCases; in FoldValueComparisonIntoPredecessors()
970 PredCases.push_back(ValueEqualityComparisonCase(*I, BBDefault)); in FoldValueComparisonIntoPredecessors()