Home
last modified time | relevance | path

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

/external/mesa3d/src/freedreno/ir3/
Dir3_ra.c106 static struct ir3_instruction * name_to_instr(struct ir3_ra_ctx *ctx, unsigned name);
470 struct ir3_instruction *instr = name_to_instr(ctx, n); in ra_select_reg_merged()
591 ctx->name_to_instr = _mesa_hash_table_create(ctx->g, in ra_init()
599 name_to_instr(struct ir3_ra_ctx *ctx, unsigned name) in name_to_instr() function
602 struct hash_entry *entry = _mesa_hash_table_search(ctx->name_to_instr, &name); in name_to_instr()
764 if (ctx->name_to_instr && !((instr->opc == OPC_META_SPLIT) || in ra_block_compute_live_ranges()
769 unsigned *key = ralloc(ctx->name_to_instr, unsigned); in ra_block_compute_live_ranges()
771 ra_assert(ctx, !_mesa_hash_table_search(ctx->name_to_instr, key)); in ra_block_compute_live_ranges()
772 _mesa_hash_table_insert(ctx->name_to_instr, key, instr); in ra_block_compute_live_ranges()
866 struct ir3_instruction *instr = name_to_instr(ctx, name); in name_size()
[all …]
Dir3_ra.h168 struct hash_table *name_to_instr; member