Home
last modified time | relevance | path

Searched refs:BITSET_WORDBITS (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/util/
Dbitset.h42 #define BITSET_WORDBITS (sizeof (BITSET_WORD) * 8) macro
46 #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)
92 return ffs(x[i]) + BITSET_WORDBITS * i; in __bitset_ffs()
105 return util_last_bit(x[i]) + BITSET_WORDBITS * i; in __bitset_last_bit()
143 return word * BITSET_WORDBITS + bit; in __bitset_next_set()
177 *start = word * BITSET_WORDBITS + ffs(tmp) - 1; in __bitset_next_range()
198 *end = MIN2(word * BITSET_WORDBITS + ffs(~tmp) - 1, size); in __bitset_next_range()
Dregister_allocate.c525 assert(g->alloc % BITSET_WORDBITS == 0); in ra_realloc_interference_graph()
526 alloc = align64(alloc, BITSET_WORDBITS); in ra_realloc_interference_graph()
647 int i = n / BITSET_WORDBITS; in update_pq_info()
691 g->tmp.min_q_total[n / BITSET_WORDBITS] = UINT_MAX; in add_node_to_stack()
713 const unsigned int top_word_high_bit = (g->count - 1) % BITSET_WORDBITS; in ra_simplify()
718 i >= 0; i--, high_bit = BITSET_WORDBITS - 1) { in ra_simplify()
725 unsigned int n = i * BITSET_WORDBITS + j; in ra_simplify()
741 i >= 0; i--, high_bit = BITSET_WORDBITS - 1) { in ra_simplify()
758 unsigned int n = i * BITSET_WORDBITS + j; in ra_simplify()
778 unsigned int n = i * BITSET_WORDBITS + j; in ra_simplify()
/external/mesa3d/src/amd/compiler/
Daco_insert_NOPs.cpp255 unsigned start_mod = start % BITSET_WORDBITS; in set_bitset_range()
256 if (start_mod + size <= BITSET_WORDBITS) { in set_bitset_range()
259 unsigned first_size = BITSET_WORDBITS - start_mod; in set_bitset_range()
260 set_bitset_range(words, start, BITSET_WORDBITS - start_mod); in set_bitset_range()
267 unsigned start_mod = start % BITSET_WORDBITS; in test_bitset_range()
268 if (start_mod + size <= BITSET_WORDBITS) { in test_bitset_range()
271 unsigned first_size = BITSET_WORDBITS - start_mod; in test_bitset_range()
272 return test_bitset_range(words, start, BITSET_WORDBITS - start_mod) || in test_bitset_range()
/external/mesa3d/src/intel/compiler/
Dbrw_fs_live_variables.cpp244 unsigned i = w * BITSET_WORDBITS + b; in compute_start_end()
/external/mesa3d/src/compiler/glsl/
Dlink_varyings.cpp1284 unsigned end_range = BITSET_WORDBITS - 1; in store()
1287 start_range = first_component % BITSET_WORDBITS; in store()
1290 end_range = last_component % BITSET_WORDBITS; in store()
/external/mesa3d/src/intel/vulkan/
Danv_batch_chain.c197 anv_reloc_list_grow_deps(list, alloc, (idx / BITSET_WORDBITS) + 1); in anv_reloc_list_add()
1269 uint32_t gem_handle = w * BITSET_WORDBITS + i; in anv_execbuf_add_bo_bitset()