Home
last modified time | relevance | path

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

12

/external/mesa3d/src/util/
Dbitset.h46 #define BITSET_WORDS(bits) (((bits) + BITSET_WORDBITS - 1) / BITSET_WORDBITS) macro
47 #define BITSET_DECLARE(name, bits) BITSET_WORD name[BITSET_WORDS(bits)]
131 if (word >= BITSET_WORDS(size)) in __bitset_next_set()
170 if (word >= BITSET_WORDS(size)) { in __bitset_next_range()
187 if (word >= BITSET_WORDS(size)) { in __bitset_next_range()
229 for (unsigned i = 0; i < BITSET_WORDS(N); i++) \
271 for (unsigned i = 0; i < BITSET_WORDS(N); i++) \
279 for (unsigned i = 0; i < BITSET_WORDS(N); i++) \
295 for (unsigned i = 0; i < BITSET_WORDS(N); i++) \
328 BITSET_WORD words[BITSET_WORDS(N)]; \
Dregister_allocate.c224 BITSET_WORDS(count)); in ra_alloc_reg_set()
333 for (i = 0; i < BITSET_WORDS(regs->count); i++) in ra_make_reg_conflicts_transitive()
349 class->regs = rzalloc_array(class, BITSET_WORD, BITSET_WORDS(regs->count)); in ra_alloc_reg_class()
433 blob_write_bytes(blob, reg->conflicts, BITSET_WORDS(regs->count) * in ra_set_serialize()
440 blob_write_bytes(blob, class->regs, BITSET_WORDS(regs->count) * in ra_set_serialize()
460 blob_copy_bytes(blob, reg->conflicts, BITSET_WORDS(reg_count) * in ra_set_deserialize()
472 class->regs = ralloc_array(class, BITSET_WORD, BITSET_WORDS(reg_count)); in ra_set_deserialize()
473 blob_copy_bytes(blob, class->regs, BITSET_WORDS(reg_count) * in ra_set_deserialize()
530 unsigned g_bitset_count = BITSET_WORDS(g->alloc); in ra_realloc_interference_graph()
531 unsigned bitset_count = BITSET_WORDS(alloc); in ra_realloc_interference_graph()
[all …]
/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.cpp46 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()
Dbrw_vec4_live_variables.cpp234 bitset_words = BITSET_WORDS(num_vars); in vec4_live_variables()
Dbrw_schedule_instructions.cpp566 BITSET_WORDS(grf_count)); in instruction_scheduler()
571 BITSET_WORDS(grf_count)); in instruction_scheduler()
576 BITSET_WORDS(hw_reg_count)); in instruction_scheduler()
Dbrw_fs_live_variables.cpp294 bitset_words = BITSET_WORDS(num_vars); in fs_live_variables()
/external/mesa3d/src/compiler/glsl/
Dir_array_refcount.cpp60 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()
/external/mesa3d/src/compiler/nir/
Dnir_lower_int_to_float.c128 float_types = calloc(BITSET_WORDS(impl->ssa_alloc), in nir_lower_int_to_float_impl()
130 int_types = calloc(BITSET_WORDS(impl->ssa_alloc), in nir_lower_int_to_float_impl()
Dnir_worklist.c39 BITSET_WORDS(num_blocks)); in nir_block_worklist_init()
Dnir_repair_ssa.c40 const unsigned num_words = BITSET_WORDS(state->impl->num_blocks); in prep_build_phi()
Dnir_validate.c1506 BITSET_WORD, BITSET_WORDS(impl->reg_alloc)); in validate_function_impl()
1507 memset(state->regs_found, 0, BITSET_WORDS(impl->reg_alloc) * in validate_function_impl()
1515 BITSET_WORD, BITSET_WORDS(impl->ssa_alloc)); in validate_function_impl()
1516 memset(state->ssa_defs_found, 0, BITSET_WORDS(impl->ssa_alloc) * in validate_function_impl()
1680 BITSET_WORDS(func->impl->ssa_alloc)); in nir_validate_ssa_dominance()
1681 memset(state.ssa_defs_found, 0, BITSET_WORDS(func->impl->ssa_alloc) * in nir_validate_ssa_dominance()
Dnir_lower_vars_to_ssa.c771 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()
Dnir_liveness.c150 .bitset_words = BITSET_WORDS(impl->ssa_alloc), in nir_live_ssa_defs_impl()
Dnir_lower_regs_to_ssa.c228 const unsigned block_set_words = BITSET_WORDS(impl->num_blocks); in nir_lower_regs_to_ssa_impl()
/external/mesa3d/src/panfrost/midgard/
Dmir_promote_uniforms.c138 BITSET_WORD *bset = calloc(BITSET_WORDS(ctx->temp_count), sizeof(BITSET_WORD)); in mir_special_indices()
Dmidgard_helper_invocations.c192 BITSET_WORD *deps = calloc(sizeof(BITSET_WORD), BITSET_WORDS(temp_count)); in mir_analyze_helper_requirements()
Dmidgard_schedule.c114 calloc(BITSET_WORDS(count), sizeof(BITSET_WORD)); in mir_create_dependency_graph()
1357 size_t sz = BITSET_WORDS(len) * sizeof(BITSET_WORD); in schedule_block()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_nir_liveness.c165 state.bitset_words = BITSET_WORDS(state.num_defs); in etna_live_defs()
/external/mesa3d/src/broadcom/compiler/
Dv3d_compiler.h581 uint32_t flat_shade_flags[BITSET_WORDS(V3D_MAX_FS_INPUTS)];
583 uint32_t noperspective_flags[BITSET_WORDS(V3D_MAX_FS_INPUTS)];
585 uint32_t centroid_flags[BITSET_WORDS(V3D_MAX_FS_INPUTS)];
Dvir_live_variables.c321 int bitset_words = BITSET_WORDS(c->num_temps); in vir_calculate_live_intervals()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_qir_live_variables.c288 int bitset_words = BITSET_WORDS(c->num_temps); in qir_calculate_live_intervals()
Dvc4_qir_schedule.c683 BITSET_WORDS(c->num_temps)); in qir_schedule_instructions_block()
/external/mesa3d/src/freedreno/ir3/
Dir3_ra.c664 unsigned bitset_words = BITSET_WORDS(ctx->alloc_count); in ra_block_compute_live_ranges()
781 unsigned bitset_words = BITSET_WORDS(ctx->alloc_count); in ra_compute_livein_liveout()
890 rzalloc_array(bd, BITSET_WORD, BITSET_WORDS(ctx->alloc_count)); in ra_calc_block_live_values()
/external/mesa3d/src/mesa/main/
Dperformance_monitor.c89 BITSET_WORDS(g->NumCounters)); in new_performance_monitor()

12