@@ -441,51 +441,51 @@ cached private module SignAnalysisCached {
441441 }
442442}
443443
444- /** Holds if `e ` can be positive and cannot be negative. */
444+ /** Holds if `i ` can be positive and cannot be negative. */
445445predicate positive ( Instruction i ) {
446446 instructionSign ( i ) = TPos ( ) and
447447 not instructionSign ( i ) = TNeg ( )
448448}
449449
450+ /** Holds if `i` at `pos` can be positive at and cannot be negative. */
450451predicate positive ( Instruction i , Instruction pos ) {
451452 operandSign ( pos , i ) = TPos ( ) and
452453 not operandSign ( pos , i ) = TNeg ( )
453454}
454455
455- /** Holds if `e ` can be negative and cannot be positive. */
456+ /** Holds if `i ` can be negative and cannot be positive. */
456457predicate negative ( Instruction i ) {
457458 instructionSign ( i ) = TNeg ( ) and
458459 not instructionSign ( i ) = TPos ( )
459460}
460461
461- /** Holds if `e ` can be negative and cannot be positive. */
462+ /** Holds if `i` at `pos ` can be negative and cannot be positive. */
462463predicate negative ( Instruction i , Instruction pos ) {
463464 operandSign ( pos , i ) = TNeg ( ) and
464465 not operandSign ( pos , i ) = TPos ( )
465466}
466467
467- /** Holds if `e ` is strictly positive. */
468+ /** Holds if `i ` is strictly positive. */
468469predicate strictlyPositive ( Instruction i ) {
469470 instructionSign ( i ) = TPos ( ) and
470471 not instructionSign ( i ) = TNeg ( ) and
471472 not instructionSign ( i ) = TZero ( )
472473}
473474
474- /** Holds if `e ` is strictly positive. */
475+ /** Holds if `i ` is strictly positive at `pos` . */
475476predicate strictlyPositive ( Instruction i , Instruction pos ) {
476477 operandSign ( pos , i ) = TPos ( ) and
477478 not operandSign ( pos , i ) = TNeg ( ) and
478479 not operandSign ( pos , i ) = TZero ( )
479480}
480- /** Holds if `e ` is strictly negative. */
481+ /** Holds if `i ` is strictly negative. */
481482predicate strictlyNegative ( Instruction i ) {
482483 instructionSign ( i ) = TNeg ( ) and
483484 not instructionSign ( i ) = TPos ( ) and
484485 not instructionSign ( i ) = TZero ( )
485486}
486487
487-
488- /** Holds if `e` can be negative and cannot be positive. */
488+ /** Holds if `i` is strictly negative at `pos`. */
489489predicate strictlyNegative ( Instruction i , Instruction pos ) {
490490 operandSign ( pos , i ) = TNeg ( ) and
491491 not operandSign ( pos , i ) = TPos ( ) and
0 commit comments