Home
last modified time | relevance | path

Searched refs:left_p (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_extra.c1778 static void move_known_values(struct expression **left_p, struct expression **right_p) in move_known_values() argument
1780 struct expression *left = *left_p; in move_known_values()
1796 *left_p = binop_expression(left, invert_op(right->op), right->right); in move_known_values()
1801 *left_p = binop_expression(left, invert_op(right->op), right->left); in move_known_values()
1806 *left_p = binop_expression(left, invert_op(right->op), right->right); in move_known_values()
1825 *left_p = left->left; in move_known_values()
1830 *left_p = left->right; in move_known_values()
1836 *left_p = left->left; in move_known_values()
1850 static int do_simple_algebra(struct expression **left_p, struct expression **right_p) in do_simple_algebra() argument
1852 struct expression *left = *left_p; in do_simple_algebra()
[all …]
H A Dsmatch_comparison.c1230 static void move_plus_to_minus_helper(struct expression **left_p, struct expression **right_p) in move_plus_to_minus_helper() argument
1232 struct expression *left = *left_p; in move_plus_to_minus_helper()
1246 *left_p = left->left; in move_plus_to_minus_helper()
1250 static void move_plus_to_minus(struct expression **left_p, struct expression **right_p) in move_plus_to_minus() argument
1252 if (is_plus_one(*left_p) && is_plus_one(*right_p)) in move_plus_to_minus()
1255 move_plus_to_minus_helper(left_p, right_p); in move_plus_to_minus()
1256 move_plus_to_minus_helper(right_p, left_p); in move_plus_to_minus()