/illumos-gate/usr/src/tools/smatch/src/ |
H A D | expand.c | 64 expr->type = EXPR_VALUE; in expand_symbol_expression() 101 expr->type = EXPR_VALUE; in cast_value() 146 expr->type = EXPR_VALUE; in cast_value() 209 if (right->type != EXPR_VALUE) in simplify_int_binop() 216 if (left->type != EXPR_VALUE) in simplify_int_binop() 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() 443 if (left->type == EXPR_VALUE) { in expand_logical() [all …]
|
H A D | check_bit_shift.c | 39 if (expr->type != EXPR_VALUE) in get_shifter() 124 if (expr->right->type != EXPR_VALUE) in match_binop_info()
|
H A D | expression.h | 37 EXPR_VALUE = 1, enumerator 303 expr->type = EXPR_VALUE; in alloc_const_expression()
|
H A D | show-parse.c | 545 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 D | check_memset.c | 26 if (expr->type != EXPR_VALUE) in check_size_not_zero()
|
H A D | builtin.c | 148 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 D | compile-i386.c | 920 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 D | smatch_expressions.c | 45 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 D | check_implicit_dependencies_tester.c | 10 [EXPR_VALUE] = "EXPR_VALUE", in expression_type_name()
|
H A D | evaluate.c | 437 if (v->type != EXPR_VALUE) in restricted_value() 621 if (index->type == EXPR_VALUE) { in evaluate_ptr_add() 622 struct expression *val = alloc_expression(expr->pos, EXPR_VALUE); in evaluate_ptr_add() 642 struct expression *val = alloc_expression(expr->pos, EXPR_VALUE); in evaluate_ptr_add() 863 struct expression *val = alloc_expression(expr->pos, EXPR_VALUE); in evaluate_ptr_sub() 1094 expr->type = EXPR_VALUE; in evaluate_compare() 2041 add->right = alloc_expression(expr->pos, EXPR_VALUE); in evaluate_offset() 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() [all …]
|
H A D | expression.c | 339 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 D | check_sizeof.c | 102 if (expr->type != EXPR_VALUE) in check_sizeof_number()
|
H A D | smatch_recurse.c | 105 case EXPR_VALUE: in recurse()
|
H A D | smatch_conditions.c | 83 if (zero->type != EXPR_VALUE) in handle_zero_comparisons() 88 if (zero->type != EXPR_VALUE) in handle_zero_comparisons()
|
H A D | ast-inspect.c | 154 [EXPR_VALUE] = "EXPR_VALUE", in expression_type_name()
|
H A D | smatch_stored_conditions.c | 173 case EXPR_VALUE: in store_all_links()
|
H A D | linearize.c | 135 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 D | smatch_math.c | 1386 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 D | smatch_helper.c | 289 case EXPR_VALUE: { in __get_variable_from_expr() 527 case EXPR_VALUE: in get_complication_score()
|
H A D | dissect.c | 317 case EXPR_VALUE: in do_expression()
|
H A D | inline.c | 98 case EXPR_VALUE: in copy_expression()
|
H A D | parse.c | 899 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 D | symbol.c | 240 if (array_size->type != EXPR_VALUE) { in examine_array_type()
|
H A D | sparse-llvm.c | 1208 case EXPR_VALUE: in output_data()
|