Home
last modified time | relevance | path

Searched refs:bool_ctype (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/tools/smatch/src/
H A Dbuiltin.c283 if (type->ctype.base_type != &int_type || type == &bool_ctype) in evaluate_overflow_gen()
288 expr->ctype = &bool_ctype; in evaluate_overflow_gen()
473 …declare_builtin("__builtin_sadd_overflow", &bool_ctype, 0, &int_ctype, &int_ctype, &int_ptr_ctype,… in declare_builtins()
474 …declare_builtin("__builtin_saddl_overflow", &bool_ctype, 0, &long_ctype, &long_ctype, &long_ptr_ct… in declare_builtins()
477 …declare_builtin("__builtin_smul_overflow", &bool_ctype, 0, &int_ctype, &int_ctype, &int_ptr_ctype,… in declare_builtins()
478 …declare_builtin("__builtin_smull_overflow", &bool_ctype, 0, &long_ctype, &long_ctype, &long_ptr_ct… in declare_builtins()
482 …declare_builtin("__builtin_ssub_overflow", &bool_ctype, 0, &int_ctype, &int_ctype, &int_ptr_ctype,… in declare_builtins()
483 …declare_builtin("__builtin_ssubl_overflow", &bool_ctype, 0, &long_ctype, &long_ctype, &long_ptr_ct… in declare_builtins()
507 …declare_builtin("__builtin_uadd_overflow", &bool_ctype, 0, &uint_ctype, &uint_ctype, &uint_ptr_cty… in declare_builtins()
510 …declare_builtin("__builtin_umul_overflow", &bool_ctype, 0, &uint_ctype, &uint_ctype, &uint_ptr_cty… in declare_builtins()
[all …]
H A Dsmatch_capped.c84 if (type == &bool_ctype) in is_capped()
206 if (type == &bool_ctype) in match_assign()
H A Dsymbol.h266 extern struct symbol bool_ctype, void_ctype, type_ctype,
427 return type == &bool_ctype; in is_bool_type()
H A Dcheck_signed.c57 if (sym != &bool_ctype && sym != &uchar_ctype && in match_assign()
H A Dsymbol.c689 struct symbol bool_ctype, void_ctype, type_ctype, variable
750 …{ &bool_ctype, SYM_BASETYPE, MOD_UNSIGNED, &bits_in_bool, &max_int_alignment, &int_t…
H A Dcheck_rosenberg.c85 if (base_type == &bool_ctype) in check_struct()
H A Dlinearize.c1435 return add_binary_op(ep, &bool_ctype, op, src, zero); in add_convert_to_bool()
1563 dst = add_binary_op(ep, &bool_ctype, op, src1, src2); in linearize_binop_bool()
1564 if (expr->ctype != &bool_ctype) in linearize_binop_bool()
1565 dst = cast_pseudo(ep, dst, &bool_ctype, expr->ctype); in linearize_binop_bool()
1732 src2 = cast_pseudo(ep, src2, &bool_ctype, ctype); in linearize_logical()
H A Dsmatch_ranges.c1469 sval_t min = { .type = &bool_ctype }; in cast_to_bool()
1470 sval_t max = { .type = &bool_ctype }; in cast_to_bool()
1510 if (type == &bool_ctype) in cast_rl()
H A Dsmatch_type.c787 {&bool_ctype, "bool"},
H A Devaluate.c1418 if (t == &bool_ctype) { in check_assignment_types()
1483 if (t == &bool_ctype && (sclass & TYPE_PTR)) in check_assignment_types()
3007 if (ttype == &bool_ctype) { in evaluate_cast()
3054 if (ttype == &bool_ctype) in evaluate_cast()
H A Dshow-parse.c251 { &bool_ctype, "bool", "" },
H A Dparse.c484 { "_Bool", NS_TYPEDEF, .type = &bool_ctype, .op = &spec_op },
/illumos-gate/usr/src/tools/smatch/src/Documentation/
H A DTODO.md26 * bool_ctype should be split into internal 1-bit / external 8-bit