Home
last modified time | relevance | path

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

/third_party/mesa3d/src/freedreno/ir3/
Dir3_merge_regs.c195 if (def->merge_set) in get_merge_set()
196 return def->merge_set; in get_merge_set()
231 new_regs[new_index]->merge_set = a; in merge_merge_sets()
488 struct ir3_merge_set *merge_set = dst->merge_set; in index_merge_sets() local
490 if (merge_set) { in index_merge_sets()
491 if (merge_set->interval_start == ~0) { in index_merge_sets()
492 merge_set->interval_start = offset; in index_merge_sets()
493 offset += merge_set->size; in index_merge_sets()
495 dst_offset = merge_set->interval_start + dst->merge_set_offset; in index_merge_sets()
524 struct ir3_merge_set *merge_set = dst->merge_set; in dump_merge_sets() local
[all …]
Dir3_spill.c184 instr->srcs[i]->def->merge_set != instr->dsts[i]->merge_set) { in instr_cycles()
196 instr->srcs[i]->def->merge_set != instr->dsts[0]->merge_set) { in instr_cycles()
232 if (src->def->merge_set == instr->dsts[i]->merge_set && in compute_block_next_distance()
366 dst->merge_set = reg->merge_set; in rematerialize()
673 if (reg->merge_set) { in get_spill_slot()
674 if (reg->merge_set->spill_slot == ~0) { in get_spill_slot()
675 reg->merge_set->spill_slot = ALIGN_POT(ctx->spill_slot, in get_spill_slot()
676 reg->merge_set->alignment); in get_spill_slot()
677 ctx->spill_slot = reg->merge_set->spill_slot + reg->merge_set->size * 2; in get_spill_slot()
679 return reg->merge_set->spill_slot + reg->merge_set_offset * 2; in get_spill_slot()
[all …]
Dir3_ra.c1303 if (!reg->merge_set || reg->merge_set->preferred_reg != (physreg_t)~0) in update_affinity()
1309 if ((physreg - reg->merge_set_offset + reg->merge_set->size) > file->size) in update_affinity()
1312 reg->merge_set->preferred_reg = physreg - reg->merge_set_offset; in update_affinity()
1374 if (reg->merge_set && reg->merge_set->preferred_reg != (physreg_t)~0) { in get_reg()
1376 reg->merge_set->preferred_reg + reg->merge_set_offset; in get_reg()
1388 if (reg->merge_set && reg->merge_set->preferred_reg == (physreg_t)~0 && in get_reg()
1389 size < reg->merge_set->size) { in get_reg()
1391 reg->merge_set->size, in get_reg()
1392 reg->merge_set->alignment); in get_reg()
1664 if (dst->merge_set == NULL || src->def->merge_set != dst->merge_set) { in handle_split()
[all …]
Dir3.h222 struct ir3_merge_set *merge_set; member
/third_party/mesa3d/src/amd/compiler/
Daco_lower_to_cssa.cpp47 typedef std::vector<Temp> merge_set; typedef
68 std::vector<merge_set> merge_sets; /* each vector is one (ordered) merge set */
95 merge_set set; in collect_parallelcopies()
283 try_merge_merge_set(cssa_ctx& ctx, Temp dst, merge_set& set_b) in try_merge_merge_set()
287 merge_set& set_a = ctx.merge_sets[index]; in try_merge_merge_set()
289 merge_set union_set; /* the new merged merge-set */ in try_merge_merge_set()
329 set_b = merge_set(); /* free the old set_b */ in try_merge_merge_set()
364 merge_set op_set = merge_set{copy.op.getTemp()}; in try_coalesce_copy()
/third_party/mesa3d/src/compiler/nir/
Dnir_from_ssa.c116 struct merge_set;
120 struct merge_set *set;
124 typedef struct merge_set { struct
129 } merge_set; argument
133 merge_set_dump(merge_set *set, FILE *fp)
160 merge_set *set = ralloc(state->dead_ctx, merge_set); in get_merge_node()
194 static merge_set *
195 merge_merge_sets(merge_set *a, merge_set *b) in merge_merge_sets()
229 merge_sets_interfere(merge_set *a, merge_set *b) in merge_sets_interfere()