| 146 | } |
| 147 | |
| 148 | bool ExpressionClasses::knownToBeDifferent(ExpressionClasses::Id _a, ExpressionClasses::Id _b) |
| 149 | { |
| 150 | // Try to simplify "_a - _b" and return true iff the value is a non-zero constant. |
| 151 | return knownNonZero(find(Instruction::SUB, {_a, _b})); |
| 152 | } |
| 153 | |
| 154 | bool ExpressionClasses::knownToBeDifferentBy32(ExpressionClasses::Id _a, ExpressionClasses::Id _b) |
| 155 | { |
no outgoing calls