Home | History | Annotate | Download | only in Utils

Lines Matching full:comparison

368       // If we have "x ult 3" comparison, for example, then we can add 0,1,2 to
475 /// GetValueEqualityComparisonCases - Given a value comparison instruction,
547 /// comparison with the same value, and if that comparison determines the
548 /// outcome of this comparison. If so, simplify TI. This does a very limited
555 if (!PredVal) return false; // Not a value comparison in predecessor.
558 assert(ThisVal && "This isn't a value comparison!!");
572 // If TI's block is the default block from Pred's comparison, potentially
685 /// equality comparison instruction (either a switch or a branch on "X == c").
692 assert(CV && "Not a comparison?");
699 // See if the predecessor is a comparison with the same value.
2515 /// integer range comparison into a sub, an icmp and a branch.
2750 // If the only instruction in the block is a seteq/setne comparison
2801 // branches to us and one of our successors, fold the comparison into the