Home
last modified time | relevance | path

Searched refs:bit_info (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_bits.c29 static const struct bit_info unknown_bit_info = {
33 ALLOCATOR(bit_info, "bit data");
34 static struct bit_info *alloc_bit_info(unsigned long long set, unsigned long long possible) in alloc_bit_info()
36 struct bit_info *bit_info = __alloc_bit_info(0); in alloc_bit_info() local
38 bit_info->set = set; in alloc_bit_info()
39 bit_info->possible = possible; in alloc_bit_info()
41 return bit_info; in alloc_bit_info()
57 struct bit_info *rl_to_binfo(struct range_list *rl) in rl_to_binfo()
59 struct bit_info *ret = __alloc_bit_info(0); in rl_to_binfo()
76 static int is_unknown_binfo(struct symbol *type, struct bit_info *binfo) in is_unknown_binfo()
[all …]
H A Dsmatch_extra.c2037 struct bit_info *bit_info; in handle_bit_test() local
2054 bit_info = get_bit_info(mask); in handle_bit_test()
2055 if (!bit_info) in handle_bit_test()
2057 if (!bit_info->possible) in handle_bit_test()
2065 low.value = ffsll(bit_info->possible); in handle_bit_test()
2066 high.value = sm_fls64(bit_info->possible); in handle_bit_test()
H A Dsmatch.h113 struct bit_info { struct
1296 struct bit_info *rl_to_binfo(struct range_list *rl);
1297 struct bit_info *get_bit_info(struct expression *expr);
1298 struct bit_info *get_bit_info_var_sym(const char *name, struct symbol *sym);
H A Dcheck_debug.c663 struct bit_info *info; in match_bits()
H A Dsmatch_ranges.c1899 struct bit_info *one, *two; in handle_AND_rl()