Home
last modified time | relevance | path

Searched refs:EXPR_VALUE (Results 1 – 24 of 24) sorted by relevance

/illumos-gate/usr/src/tools/smatch/src/
H A Dexpand.c64 expr->type = EXPR_VALUE; in expand_symbol_expression()
101 expr->type = EXPR_VALUE; in cast_value()
146 expr->type = EXPR_VALUE; in cast_value()
305 expr->type = EXPR_VALUE; in simplify_int_binop()
324 if (left->type != EXPR_VALUE || right->type != EXPR_VALUE) in simplify_cmp_binop()
345 expr->type = EXPR_VALUE; in simplify_cmp_binop()
417 expr->type = EXPR_VALUE; in simplify_float_cmp()
463 if (left->type == EXPR_VALUE && right->type == EXPR_VALUE) { in expand_logical()
733 expr->type = EXPR_VALUE; in simplify_preop()
1019 case EXPR_VALUE: in expand_expression()
[all …]
H A Dcheck_bit_shift.c39 if (expr->type != EXPR_VALUE) in get_shifter()
124 if (expr->right->type != EXPR_VALUE) in match_binop_info()
H A Dexpression.h37 EXPR_VALUE = 1, enumerator
303 expr->type = EXPR_VALUE; in alloc_const_expression()
H A Dshow-parse.c545 if (expr->type == EXPR_VALUE) { in show_switch_statement()
548 if (to->type == EXPR_VALUE) { in show_switch_statement()
622 if (cond->type == EXPR_VALUE) { in show_statement()
664 if (pre_condition->type == EXPR_VALUE) { in show_statement()
675 if (!post_condition || post_condition->type != EXPR_VALUE || post_condition->value) { in show_statement()
685 } else if (post_condition->type == EXPR_VALUE) { in show_statement()
1156 case EXPR_VALUE: in show_expression()
H A Dcheck_memset.c26 if (expr->type != EXPR_VALUE) in check_size_not_zero()
H A Dbuiltin.c148 if (arg->type != EXPR_VALUE) in expand_warning()
154 expr->type = EXPR_VALUE; in expand_warning()
163 expr->type = EXPR_VALUE; in expand_constant_p()
172 expr->type = EXPR_VALUE; in expand_safe_p()
222 expr->type = EXPR_VALUE; in expand_bswap()
H A Dcompile-i386.c920 assert(expr->type == EXPR_VALUE); in emit_scalar()
968 if (expr->type == EXPR_VALUE) { in emit_initializer()
1015 if ((entry->type == EXPR_POS) || (entry->type == EXPR_VALUE)) { in sort_array()
1043 if ((entry->type == EXPR_POS) || (entry->type == EXPR_VALUE)) in sort_array()
1069 if (entry->type == EXPR_VALUE) { in emit_array()
1739 assert (expr->type == EXPR_VALUE); in emit_switch_statement()
1928 if (!post_condition || post_condition->type != EXPR_VALUE || post_condition->value) { in emit_loop()
1933 if (pre_condition->type == EXPR_VALUE) { in emit_loop()
1964 } else if (post_condition->type == EXPR_VALUE) { in emit_loop()
2360 case EXPR_VALUE: in x86_expression()
H A Dsmatch_expressions.c45 zero = alloc_tmp_expression(get_cur_pos(), EXPR_VALUE); in zero_expr()
58 expr = alloc_tmp_expression(get_cur_pos(), EXPR_VALUE); in value_expr()
H A Dcheck_implicit_dependencies_tester.c10 [EXPR_VALUE] = "EXPR_VALUE", in expression_type_name()
H A Devaluate.c437 if (v->type != EXPR_VALUE) in restricted_value()
621 if (index->type == EXPR_VALUE) { in evaluate_ptr_add()
1094 expr->type = EXPR_VALUE; in evaluate_compare()
2246 base = alloc_expression(expr->pos, EXPR_VALUE); in evaluate_sizeof()
2266 expr->type = EXPR_VALUE; in evaluate_sizeof()
2300 expr->type = EXPR_VALUE; in evaluate_ptrsizeof()
2315 expr->type = EXPR_VALUE; in evaluate_alignof()
3046 expr->type = EXPR_VALUE; in evaluate_cast()
3196 expr->type = EXPR_VALUE; in evaluate_offsetof()
3214 expr->type = EXPR_VALUE; in evaluate_offsetof()
[all …]
H A Dcheck_sizeof.c102 if (expr->type != EXPR_VALUE) in check_sizeof_number()
H A Dexpression.c339 expr->type = EXPR_VALUE; in get_number_value()
379 expr = alloc_expression(token->pos, EXPR_VALUE); in primary_expression()
387 expr = alloc_expression(token->pos, EXPR_VALUE); in primary_expression()
417 expr = alloc_expression(token->pos, EXPR_VALUE); in primary_expression()
H A Dsmatch_recurse.c105 case EXPR_VALUE: in recurse()
H A Dsmatch_conditions.c83 if (zero->type != EXPR_VALUE) in handle_zero_comparisons()
88 if (zero->type != EXPR_VALUE) in handle_zero_comparisons()
H A Dast-inspect.c154 [EXPR_VALUE] = "EXPR_VALUE", in expression_type_name()
H A Dsmatch_stored_conditions.c173 case EXPR_VALUE: in store_all_links()
H A Dlinearize.c135 case EXPR_VALUE: in show_pseudo()
356 case EXPR_VALUE: in show_instruction()
929 if (addr->right->type == EXPR_VALUE) { in linearize_simple_address()
1773 case EXPR_VALUE: in linearize_cond_branch()
1876 case EXPR_VALUE: in linearize_expression()
2227 } else if (case_stmt->case_expression->type != EXPR_VALUE) { in linearize_switch()
2234 if (case_to && case_to->type == EXPR_VALUE) in linearize_switch()
H A Dsmatch_math.c1386 if (expr->type == EXPR_VALUE) { in handle_offsetof_rl()
1420 case EXPR_VALUE: in get_rl_sval()
1464 if (expr->type == EXPR_VALUE) in get_rl_sval()
1560 if (!tmp || tmp->type != EXPR_VALUE) in get_value_literal()
H A Dsmatch_helper.c289 case EXPR_VALUE: { in __get_variable_from_expr()
527 case EXPR_VALUE: in get_complication_score()
H A Dinline.c98 case EXPR_VALUE: in copy_expression()
H A Ddissect.c317 case EXPR_VALUE: in do_expression()
H A Dparse.c899 if (expr->type != EXPR_VALUE) in cast_enum_list()
945 expr = alloc_expression(token->pos, EXPR_VALUE); in parse_enum_declaration()
1156 if (expr->type != EXPR_VALUE) in attribute_address_space()
2187 if (cond && !const_expression_value(cond) && cond->type == EXPR_VALUE) in parse_static_assert()
H A Dsymbol.c240 if (array_size->type != EXPR_VALUE) { in examine_array_type()
H A Dsparse-llvm.c1208 case EXPR_VALUE: in output_data()