Searched refs:BITSET_WORDBITS (Results 1 – 7 of 7) sorted by relevance
42 #define BITSET_WORDBITS (sizeof (BITSET_WORD) * 8) macro46 #define BITSET_WORDS(bits) (((bits) + BITSET_WORDBITS - 1) / BITSET_WORDBITS)56 #define BITSET_BITWORD(b) ((b) / BITSET_WORDBITS)57 #define BITSET_BIT(b) (1u << ((b) % BITSET_WORDBITS))65 #define BITSET_MASK(b) (((b) % BITSET_WORDBITS == 0) ? ~0 : BITSET_BIT(b) - 1)111 assert(amount < BITSET_WORDBITS); in __bitset_rotate_right()117 x[i] = (x[i] >> amount) | (x[i + 1] << (BITSET_WORDBITS - amount)); in __bitset_rotate_right()126 assert(amount < BITSET_WORDBITS); in __bitset_rotate_left()132 x[i] = (x[i] << amount) | (x[i - 1] >> (BITSET_WORDBITS - amount)); in __bitset_rotate_left()141 const unsigned int words = amount / BITSET_WORDBITS; in __bitset_shr()[all …]
514 assert(g->alloc % BITSET_WORDBITS == 0); in ra_realloc_interference_graph()515 alloc = align64(alloc, BITSET_WORDBITS); in ra_realloc_interference_graph()636 int i = n / BITSET_WORDBITS; in update_pq_info()680 g->tmp.min_q_total[n / BITSET_WORDBITS] = UINT_MAX; in add_node_to_stack()702 const unsigned int top_word_high_bit = (g->count - 1) % BITSET_WORDBITS; in ra_simplify()707 i >= 0; i--, high_bit = BITSET_WORDBITS - 1) { in ra_simplify()714 unsigned int n = i * BITSET_WORDBITS + j; in ra_simplify()730 i >= 0; i--, high_bit = BITSET_WORDBITS - 1) { in ra_simplify()747 unsigned int n = i * BITSET_WORDBITS + j; in ra_simplify()767 unsigned int n = i * BITSET_WORDBITS + j; in ra_simplify()
288 unsigned start_mod = start % BITSET_WORDBITS; in set_bitset_range()289 if (start_mod + size <= BITSET_WORDBITS) { in set_bitset_range()292 unsigned first_size = BITSET_WORDBITS - start_mod; in set_bitset_range()293 set_bitset_range(words, start, BITSET_WORDBITS - start_mod); in set_bitset_range()302 unsigned start_mod = start % BITSET_WORDBITS; in test_bitset_range()303 if (start_mod + size <= BITSET_WORDBITS) { in test_bitset_range()306 unsigned first_size = BITSET_WORDBITS - start_mod; in test_bitset_range()307 return test_bitset_range(words, start, BITSET_WORDBITS - start_mod) || in test_bitset_range()
244 unsigned i = w * BITSET_WORDBITS + b; in compute_start_end()
1310 unsigned end_range = BITSET_WORDBITS - 1; in store()1313 start_range = first_component % BITSET_WORDBITS; in store()1316 end_range = last_component % BITSET_WORDBITS; in store()
414 unsigned index = w * BITSET_WORDBITS + i; in spill_ssa_defs_and_lower_shader_calls()
188 (idx / BITSET_WORDBITS) + 1); in anv_reloc_list_add_bo()1352 uint32_t gem_handle = w * BITSET_WORDBITS + i; in anv_execbuf_add_bo_bitset()