get_const_value
int get_const_value(struct expression *expr, sval_t *sval);
if (get_const_value(expr, &sval)) {