/external/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)] 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)]; \
|
D | register_allocate.c | 224 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/ |
D | brw_fs_dead_code_eliminate.cpp | 81 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()
|
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_vec4_live_variables.cpp | 234 bitset_words = BITSET_WORDS(num_vars); in vec4_live_variables()
|
D | brw_schedule_instructions.cpp | 566 BITSET_WORDS(grf_count)); in instruction_scheduler() 571 BITSET_WORDS(grf_count)); in instruction_scheduler() 576 BITSET_WORDS(hw_reg_count)); in instruction_scheduler()
|
D | brw_fs_live_variables.cpp | 294 bitset_words = BITSET_WORDS(num_vars); in fs_live_variables()
|
/external/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()
|
/external/mesa3d/src/compiler/nir/ |
D | nir_lower_int_to_float.c | 128 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()
|
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_validate.c | 1506 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()
|
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()
|
D | nir_liveness.c | 150 .bitset_words = BITSET_WORDS(impl->ssa_alloc), in nir_live_ssa_defs_impl()
|
D | nir_lower_regs_to_ssa.c | 228 const unsigned block_set_words = BITSET_WORDS(impl->num_blocks); in nir_lower_regs_to_ssa_impl()
|
/external/mesa3d/src/panfrost/midgard/ |
D | mir_promote_uniforms.c | 138 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()
|
D | midgard_schedule.c | 114 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/ |
D | etnaviv_compiler_nir_liveness.c | 165 state.bitset_words = BITSET_WORDS(state.num_defs); in etna_live_defs()
|
/external/mesa3d/src/broadcom/compiler/ |
D | v3d_compiler.h | 581 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)];
|
D | vir_live_variables.c | 321 int bitset_words = BITSET_WORDS(c->num_temps); in vir_calculate_live_intervals()
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_qir_live_variables.c | 288 int bitset_words = BITSET_WORDS(c->num_temps); in qir_calculate_live_intervals()
|
D | vc4_qir_schedule.c | 683 BITSET_WORDS(c->num_temps)); in qir_schedule_instructions_block()
|
/external/mesa3d/src/freedreno/ir3/ |
D | ir3_ra.c | 664 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/ |
D | performance_monitor.c | 89 BITSET_WORDS(g->NumCounters)); in new_performance_monitor()
|