Home
last modified time | relevance | path

Searched refs:BITSET_WORDS (Results 1 – 22 of 22) sorted by relevance

/external/mesa3d/src/util/
Dbitset.h45 #define BITSET_WORDS(bits) (((bits) + BITSET_WORDBITS - 1) / BITSET_WORDBITS) macro
46 #define BITSET_DECLARE(name, bits) BITSET_WORD name[BITSET_WORDS(bits)]
116 if (word >= BITSET_WORDS(size)) in __bitset_next_set()
Dregister_allocate.c201 BITSET_WORDS(count)); in ra_alloc_reg_set()
300 for (i = 0; i < BITSET_WORDS(regs->count); i++) in ra_make_reg_conflicts_transitive()
316 class->regs = rzalloc_array(class, BITSET_WORD, BITSET_WORDS(regs->count)); in ra_alloc_reg_class()
431 int bitset_count = BITSET_WORDS(count); in ra_alloc_interference_graph()
584 memcpy(regs, c->regs, BITSET_WORDS(g->regs->count) * sizeof(BITSET_WORD)); in ra_compute_available_regs()
594 for (int j = 0; j < BITSET_WORDS(g->regs->count); j++) in ra_compute_available_regs()
599 for (int i = 0; i < BITSET_WORDS(g->regs->count); i++) { in ra_compute_available_regs()
621 select_regs = malloc(BITSET_WORDS(g->regs->count) * sizeof(BITSET_WORD)); in ra_select()
/external/mesa3d/src/intel/compiler/
Dbrw_fs_dead_code_eliminate.cpp81 BITSET_WORD *live = rzalloc_array(NULL, BITSET_WORD, BITSET_WORDS(num_vars)); in dead_code_eliminate()
86 sizeof(BITSET_WORD) * BITSET_WORDS(num_vars)); in dead_code_eliminate()
Dbrw_vec4_dead_code_eliminate.cpp47 BITSET_WORD *live = rzalloc_array(NULL, BITSET_WORD, BITSET_WORDS(num_vars)); in dead_code_eliminate()
52 sizeof(BITSET_WORD) * BITSET_WORDS(num_vars)); in dead_code_eliminate()
Dbrw_vec4_live_variables.cpp192 bitset_words = BITSET_WORDS(num_vars); in vec4_live_variables()
Dbrw_schedule_instructions.cpp449 BITSET_WORDS(grf_count)); in instruction_scheduler()
454 BITSET_WORDS(grf_count)); in instruction_scheduler()
459 BITSET_WORDS(hw_reg_count)); in instruction_scheduler()
Dbrw_fs_live_variables.cpp281 bitset_words = BITSET_WORDS(num_vars); in fs_live_variables()
Dbrw_fs_copy_propagation.cpp131 bitset_words = BITSET_WORDS(num_acp); in fs_copy_prop_dataflow()
/external/mesa3d/src/compiler/glsl/
Dir_array_refcount.cpp61 bits = new BITSET_WORD[BITSET_WORDS(num_bits)]; in ir_array_refcount_entry()
62 memset(bits, 0, BITSET_WORDS(num_bits) * sizeof(bits[0])); in ir_array_refcount_entry()
/external/mesa3d/src/compiler/nir/
Dnir_validate.c1089 BITSET_WORDS(impl->reg_alloc) * in validate_function_impl()
1091 memset(state->regs_found, 0, BITSET_WORDS(impl->reg_alloc) * in validate_function_impl()
1099 BITSET_WORDS(impl->ssa_alloc) * in validate_function_impl()
1101 memset(state->ssa_defs_found, 0, BITSET_WORDS(impl->ssa_alloc) * in validate_function_impl()
1223 BITSET_WORDS(shader->reg_alloc) * in nir_validate_shader()
1225 memset(state.regs_found, 0, BITSET_WORDS(shader->reg_alloc) * in nir_validate_shader()
Dnir_repair_ssa.c40 const unsigned num_words = BITSET_WORDS(state->impl->num_blocks); in prep_build_phi()
Dnir_worklist.c39 BITSET_WORDS(num_blocks)); in nir_block_worklist_init()
Dnir_liveness.c178 state.bitset_words = BITSET_WORDS(state.num_ssa_defs); in nir_live_ssa_defs_impl()
Dnir_lower_vars_to_ssa.c705 NIR_VLA(BITSET_WORD, store_blocks, BITSET_WORDS(state.impl->num_blocks)); in nir_lower_vars_to_ssa_impl()
712 BITSET_WORDS(state.impl->num_blocks) * sizeof(*store_blocks)); in nir_lower_vars_to_ssa_impl()
Dnir_lower_regs_to_ssa.c229 const unsigned block_set_words = BITSET_WORDS(impl->num_blocks); in nir_lower_regs_to_ssa_impl()
/external/mesa3d/src/broadcom/compiler/
Dvir_live_variables.c312 int bitset_words = BITSET_WORDS(c->num_temps); in vir_calculate_live_intervals()
Dv3d_compiler.h433 uint32_t flat_shade_flags[BITSET_WORDS(V3D_MAX_FS_INPUTS)];
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_qir_live_variables.c302 int bitset_words = BITSET_WORDS(c->num_temps); in qir_calculate_live_intervals()
Dvc4_qir_schedule.c710 BITSET_WORDS(c->num_temps)); in qir_schedule_instructions_block()
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_ra.c661 unsigned bitset_words = BITSET_WORDS(ctx->alloc_count); in ra_block_compute_live_ranges()
828 unsigned bitset_words = BITSET_WORDS(ctx->alloc_count); in ra_compute_livein_liveout()
/external/mesa3d/src/mesa/main/
Dperformance_monitor.c89 BITSET_WORDS(g->NumCounters)); in new_performance_monitor()
/external/mesa3d/src/intel/vulkan/
Danv_nir_apply_pipeline_layout.c346 const unsigned words = BITSET_WORDS(count); in anv_nir_apply_pipeline_layout()