Home
last modified time | relevance | path

Searched refs:BITSET_WORDBITS (Results 1 - 8 of 8) sorted by relevance

/third_party/mesa3d/src/util/
H A Dbitset.h42 #define BITSET_WORDBITS (sizeof (BITSET_WORD) * 8) macro
46 #define BITSET_WORDS(bits) (((bits) + BITSET_WORDBITS - 1) / BITSET_WORDBITS)
57 #define BITSET_BITWORD(b) ((b) / BITSET_WORDBITS)
58 #define BITSET_BIT(b) (1u << ((b) % BITSET_WORDBITS))
66 #define BITSET_MASK(b) (((b) % BITSET_WORDBITS == 0) ? ~0 : BITSET_BIT(b) - 1)
112 assert(amount < BITSET_WORDBITS); in __bitset_rotate_right()
118 x[i] = (x[i] >> amount) | (x[i + 1] << (BITSET_WORDBITS - amount)); in __bitset_rotate_right()
127 assert(amount < BITSET_WORDBITS);
133 x[i] = (x[i] << amount) | (x[i - 1] >> (BITSET_WORDBITS
[all...]
H A Dregister_allocate.c546 assert(g->alloc % BITSET_WORDBITS == 0); in ra_realloc_interference_graph()
547 alloc = align64(alloc, BITSET_WORDBITS); in ra_realloc_interference_graph()
659 int i = n / BITSET_WORDBITS; in update_pq_info()
703 g->tmp.min_q_total[n / BITSET_WORDBITS] = UINT_MAX; in add_node_to_stack()
725 const unsigned int top_word_high_bit = (g->count - 1) % BITSET_WORDBITS; in ra_simplify()
730 i >= 0; i--, high_bit = BITSET_WORDBITS - 1) { in ra_simplify()
737 unsigned int n = i * BITSET_WORDBITS + j; in ra_simplify()
753 i >= 0; i--, high_bit = BITSET_WORDBITS - 1) { in ra_simplify()
770 unsigned int n = i * BITSET_WORDBITS + j; in ra_simplify()
790 unsigned int n = i * BITSET_WORDBITS in ra_simplify()
[all...]
/third_party/mesa3d/src/amd/compiler/
H A Daco_insert_NOPs.cpp294 unsigned start_mod = start % BITSET_WORDBITS; in set_bitset_range()
295 if (start_mod + size <= BITSET_WORDBITS) { in set_bitset_range()
298 unsigned first_size = BITSET_WORDBITS - start_mod; in set_bitset_range()
299 set_bitset_range(words, start, BITSET_WORDBITS - start_mod); in set_bitset_range()
308 unsigned start_mod = start % BITSET_WORDBITS; in test_bitset_range()
309 if (start_mod + size <= BITSET_WORDBITS) { in test_bitset_range()
312 unsigned first_size = BITSET_WORDBITS - start_mod; in test_bitset_range()
313 return test_bitset_range(words, start, BITSET_WORDBITS - start_mod) || in test_bitset_range()
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_fs_live_variables.cpp244 unsigned i = w * BITSET_WORDBITS + b; in compute_start_end()
/third_party/mesa3d/src/microsoft/vulkan/
H A Ddzn_cmd_buffer.c599 if (bit < util_dynarray_num_elements(array, BITSET_WORD) * BITSET_WORDBITS) in dzn_cmd_buffer_dynbitset_reserve()
603 void *ptr = util_dynarray_grow(array, BITSET_WORD, (bit + BITSET_WORDBITS) / BITSET_WORDBITS); in dzn_cmd_buffer_dynbitset_reserve()
616 uint32_t nbits = util_dynarray_num_elements(array, BITSET_WORD) * BITSET_WORDBITS; in dzn_cmd_buffer_dynbitset_test()
638 if (bit >= util_dynarray_num_elements(array, BITSET_WORD) * BITSET_WORDBITS) in dzn_cmd_buffer_dynbitset_clear()
662 uint32_t nbits = util_dynarray_num_elements(array, BITSET_WORD) * BITSET_WORDBITS; in dzn_cmd_buffer_dynbitset_clear_range()
741 uint32_t nbits = util_dynarray_num_elements(&state->collect, BITSET_WORD) * BITSET_WORDBITS; in dzn_cmd_buffer_collect_queries()
824 uint32_t nbits = util_dynarray_num_elements(bitset_array, BITSET_WORD) * BITSET_WORDBITS; in dzn_cmd_buffer_collect_query_ops()
/third_party/mesa3d/src/compiler/glsl/
H A Dgl_nir_link_varyings.c536 unsigned end_range = BITSET_WORDBITS - 1; in xfb_decl_store()
539 start_range = first_component % BITSET_WORDBITS; in xfb_decl_store()
542 end_range = last_component % BITSET_WORDBITS; in xfb_decl_store()
/third_party/mesa3d/src/compiler/nir/
H A Dnir_lower_shader_calls.c417 unsigned index = w * BITSET_WORDBITS + i; in spill_ssa_defs_and_lower_shader_calls()
/third_party/mesa3d/src/intel/vulkan/
H A Danv_batch_chain.c191 (idx / BITSET_WORDBITS) + 1); in anv_reloc_list_add_bo()
1374 uint32_t gem_handle = w * BITSET_WORDBITS + i; in anv_execbuf_add_bo_bitset()

Completed in 20 milliseconds