/third_party/mesa3d/src/util/ |
D | bitset.h | 46 #define BITSET_WORDS(bits) (((bits) + BITSET_WORDBITS - 1) / BITSET_WORDBITS) macro 47 #define BITSET_DECLARE(name, bits) BITSET_WORD name[BITSET_WORDS(bits)] 309 if (word >= BITSET_WORDS(size)) in __bitset_next_set() 345 if (word >= BITSET_WORDS(size)) { in __bitset_next_range() 352 if (word >= BITSET_WORDS(size)) { in __bitset_next_range() 366 if (word >= BITSET_WORDS(size)) { in __bitset_next_range() 373 if (word >= BITSET_WORDS(size)) { in __bitset_next_range() 415 for (unsigned i = 0; i < BITSET_WORDS(N); i++) \ 457 for (unsigned i = 0; i < BITSET_WORDS(N); i++) \ 465 for (unsigned i = 0; i < BITSET_WORDS(N); i++) \ [all …]
|
D | register_allocate.c | 103 BITSET_WORDS(count)); in ra_alloc_reg_set() 212 for (i = 0; i < BITSET_WORDS(regs->count); i++) in ra_make_reg_conflicts_transitive() 232 class->regs = rzalloc_array(class, BITSET_WORD, BITSET_WORDS(regs->count)); in ra_alloc_reg_class() 323 for (int i = 0; i < BITSET_WORDS(regs->count); i++) { in ra_set_finalize() 409 blob_write_bytes(blob, reg->conflicts, BITSET_WORDS(regs->count) * in ra_set_serialize() 417 blob_write_bytes(blob, class->regs, BITSET_WORDS(regs->count) * in ra_set_serialize() 445 blob_copy_bytes(blob, reg->conflicts, BITSET_WORDS(reg_count) * in ra_set_deserialize() 460 class->regs = ralloc_array(class, BITSET_WORD, BITSET_WORDS(reg_count)); in ra_set_deserialize() 461 blob_copy_bytes(blob, class->regs, BITSET_WORDS(reg_count) * in ra_set_deserialize() 519 unsigned g_bitset_count = BITSET_WORDS(g->alloc); in ra_realloc_interference_graph() [all …]
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_fs_dead_code_eliminate.cpp | 82 BITSET_WORD *live = rzalloc_array(NULL, BITSET_WORD, BITSET_WORDS(num_vars)); in dead_code_eliminate() 87 sizeof(BITSET_WORD) * BITSET_WORDS(num_vars)); in dead_code_eliminate()
|
D | brw_vec4_dead_code_eliminate.cpp | 46 BITSET_WORD *live = rzalloc_array(NULL, BITSET_WORD, BITSET_WORDS(num_vars)); in dead_code_eliminate() 51 sizeof(BITSET_WORD) * BITSET_WORDS(num_vars)); in dead_code_eliminate()
|
D | brw_predicated_break.cpp | 59 BITSET_WORD has_continue[BITSET_WORDS(MAX_NESTING)];
|
/third_party/mesa3d/src/panfrost/midgard/ |
D | mir_promote_uniforms.c | 137 unsigned last = BITSET_LAST_BIT_SIZED(uses, BITSET_WORDS(MAX_UBO_QWORDS)); 162 for (unsigned w = 0; w < BITSET_WORDS(MAX_UBO_QWORDS); ++w) in mir_promoteable_uniform_count() 241 BITSET_WORD *bset = calloc(BITSET_WORDS(ctx->temp_count), sizeof(BITSET_WORD)); in mir_special_indices()
|
D | midgard_helper_invocations.c | 192 BITSET_WORD *deps = calloc(sizeof(BITSET_WORD), BITSET_WORDS(temp_count)); in mir_analyze_helper_requirements()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | ir_array_refcount.cpp | 60 bits = new BITSET_WORD[BITSET_WORDS(num_bits)]; in ir_array_refcount_entry() 61 memset(bits, 0, BITSET_WORDS(num_bits) * sizeof(bits[0])); in ir_array_refcount_entry()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_int_to_float.c | 130 float_types = calloc(BITSET_WORDS(impl->ssa_alloc), in nir_lower_int_to_float_impl() 132 int_types = calloc(BITSET_WORDS(impl->ssa_alloc), in nir_lower_int_to_float_impl()
|
D | nir_liveness.c | 148 .bitset_words = BITSET_WORDS(impl->ssa_alloc), in nir_live_ssa_defs_impl() 247 const unsigned bitset_words = BITSET_WORDS(impl->ssa_alloc); in nir_get_live_ssa_defs()
|
D | nir_worklist.c | 39 BITSET_WORDS(num_blocks)); in nir_block_worklist_init()
|
D | nir_repair_ssa.c | 40 const unsigned num_words = BITSET_WORDS(state->impl->num_blocks); in prep_build_phi()
|
D | nir_opt_dce.c | 223 BITSET_WORDS(impl->ssa_alloc)); in nir_opt_dce_impl()
|
D | nir_lower_shader_calls.c | 94 .set = rzalloc_array(mem_ctx, BITSET_WORD, BITSET_WORDS(size)), in bitset_create() 326 const unsigned live_words = BITSET_WORDS(num_ssa_defs); in spill_ssa_defs_and_lower_shader_calls() 512 const unsigned block_words = BITSET_WORDS(impl->num_blocks); in spill_ssa_defs_and_lower_shader_calls()
|
D | nir_validate.c | 1615 BITSET_WORD, BITSET_WORDS(impl->reg_alloc)); in validate_function_impl() 1616 memset(state->regs_found, 0, BITSET_WORDS(impl->reg_alloc) * in validate_function_impl() 1624 BITSET_WORD, BITSET_WORDS(impl->ssa_alloc)); in validate_function_impl() 1625 memset(state->ssa_defs_found, 0, BITSET_WORDS(impl->ssa_alloc) * in validate_function_impl() 1795 BITSET_WORDS(func->impl->ssa_alloc)); in nir_validate_ssa_dominance() 1796 memset(state.ssa_defs_found, 0, BITSET_WORDS(func->impl->ssa_alloc) * in nir_validate_ssa_dominance()
|
D | nir_lower_vars_to_ssa.c | 771 BITSET_WORDS(state.impl->num_blocks)); in nir_lower_vars_to_ssa_impl() 778 BITSET_WORDS(state.impl->num_blocks) * sizeof(*store_blocks)); in nir_lower_vars_to_ssa_impl()
|
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/ |
D | liveness.c | 34 for (int i = 0; i < BITSET_WORDS(comp->reg_num); i++) in ppir_liveness_propagate() 47 for (int i = 0; i < BITSET_WORDS(comp->reg_num); i++) in ppir_liveness_set_equal()
|
/third_party/mesa3d/src/asahi/compiler/ |
D | agx_dce.c | 31 BITSET_WORD *seen = calloc(BITSET_WORDS(ctx->alloc), sizeof(BITSET_WORD)); in agx_dce()
|
D | agx_register_allocate.c | 85 for (unsigned i = 0; i < BITSET_WORDS(max); ++i) in agx_assign_regs() 99 for (unsigned i = 0; i < BITSET_WORDS(AGX_NUM_REGS); ++i) in agx_ra_assign_local()
|
D | agx_liveness.c | 99 unsigned words = BITSET_WORDS(ctx->alloc); in agx_compute_liveness()
|
D | agx_optimizer.c | 183 BITSET_WORD *multiple = calloc(BITSET_WORDS(ctx->alloc), sizeof(*multiple)); in agx_optimizer_backward()
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_batch.c | 207 rzalloc_array(NULL, BITSET_WORD, BITSET_WORDS(batch->exec_array_size)); in iris_init_batch() 268 BITSET_WORDS(old_size), in ensure_exec_obj_space() 269 BITSET_WORDS(batch->exec_array_size)); in ensure_exec_obj_space() 425 sizeof(BITSET_WORD) * BITSET_WORDS(batch->exec_array_size)); in iris_batch_reset()
|
/third_party/mesa3d/src/panfrost/bifrost/ |
D | bi_helper_invocations.c | 231 BITSET_WORD *deps = calloc(sizeof(BITSET_WORD), BITSET_WORDS(temp_count)); in bi_analyze_helper_requirements()
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_liveness.c | 141 unsigned bitset_words = BITSET_WORDS(live->definitions_count); in ir3_calc_liveness()
|
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_compiler_nir_liveness.c | 165 state.bitset_words = BITSET_WORDS(state.num_defs); in etna_live_defs()
|