Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/lima/ir/gp/
Dregalloc.c49 unsigned bitset_words, num_nodes_and_regs; member
351 if (ctx->stack_size < ctx->num_nodes_and_regs) { in do_regalloc()
359 for (unsigned reg = 0; reg < ctx->num_nodes_and_regs; reg++) { in do_regalloc()
377 for (int i = ctx->num_nodes_and_regs - 1; i >= 0; i--) { in do_regalloc()
489 ctx.num_nodes_and_regs = comp->cur_reg + comp->cur_index; in gpir_regalloc_prog()
490 ctx.bitset_words = BITSET_WORDS(ctx.num_nodes_and_regs); in gpir_regalloc_prog()
492 ctx.worklist = ralloc_array(ctx.mem_ctx, unsigned, ctx.num_nodes_and_regs); in gpir_regalloc_prog()
493 ctx.stack = ralloc_array(ctx.mem_ctx, unsigned, ctx.num_nodes_and_regs); in gpir_regalloc_prog()
496 ctx.registers = rzalloc_array(ctx.mem_ctx, struct reg_info, ctx.num_nodes_and_regs); in gpir_regalloc_prog()
497 for (unsigned i = 0; i < ctx.num_nodes_and_regs; i++) { in gpir_regalloc_prog()