Home
last modified time | relevance | path

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

/third_party/ltp/tools/sparse/sparse-src/
Dbuiltin.c357 if (type->ctype.base_type != &int_type || type == &bool_ctype) in evaluate_overflow_gen()
362 expr->ctype = &bool_ctype; in evaluate_overflow_gen()
639 { "__atomic_always_lock_free", &bool_ctype, 0, { size_t_ctype, vol_ptr }},
642 …{ "__atomic_compare_exchange", &bool_ctype, 0, { vol_ptr, &ptr_ctype, &ptr_ctype, &bool_ctype, &in…
643 …{ "__atomic_compare_exchange_n", &bool_ctype, 0, { vol_ptr, &ptr_ctype, &dyntype, &bool_ctype, &in…
652 { "__atomic_is_lock_free", &bool_ctype, 0, { size_t_ctype, vol_ptr }},
661 { "__atomic_test_and_set", &bool_ctype, 0, { vol_ptr, &int_ctype }},
672 { "__builtin_add_overflow", &bool_ctype, 1, .op = &overflow_op },
673 { "__builtin_add_overflow_p", &bool_ctype, 1, .op = &overflow_p_op },
730 { "__builtin_mul_overflow", &bool_ctype, 1, .op = &overflow_op },
[all …]
Dsymbol.h292 extern struct symbol bool_ctype, void_ctype, type_ctype,
476 return type == &bool_ctype; in is_bool_type()
Dsymbol.c819 struct symbol bool_ctype, void_ctype, type_ctype, variable
889 { &bool_ctype, T_INT(-3, bool, MOD_UNSIGNED) },
950 { &volatile_bool_ctype,T_NODE(MOD_VOLATILE, &bool_ctype, NULL, NULL) },
Dlinearize.c1439 return add_cmp_op(ep, &bool_ctype, op, type, src, zero); in add_convert_to_bool()
1577 dst = add_binary_op(ep, &bool_ctype, op, src1, src2); in linearize_binop_bool()
1578 if (expr->ctype != &bool_ctype) in linearize_binop_bool()
1579 dst = cast_pseudo(ep, dst, &bool_ctype, expr->ctype); in linearize_binop_bool()
1745 src2 = cast_pseudo(ep, src2, &bool_ctype, ctype); in linearize_logical()
Dscheck.c35 { "__assert", &void_ctype, 0, { &bool_ctype }, .op = &generic_int_op },
Devaluate.c1408 if (t == &bool_ctype) { in check_assignment_types()
1477 if (t == &bool_ctype && (sclass & TYPE_PTR)) in check_assignment_types()
3066 if (ttype == &bool_ctype) { in evaluate_cast()
3113 if (ttype == &bool_ctype) in evaluate_cast()
Dshow-parse.c261 { &bool_ctype, "bool", "" },
Dparse.c506 N("_Bool", &spec_op, .type = &bool_ctype),
/third_party/ltp/tools/sparse/sparse-src/Documentation/
DTODO.md23 * bool_ctype should be split into internal 1-bit / external 8-bit