Searched refs:pcopy (Results 1 - 9 of 9) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_from_ssa.c324 nir_parallel_copy_instr *pcopy = local in function:add_parallel_copy_to_end_of_block
327 nir_instr_insert(nir_after_block_before_jump(block), &pcopy->instr);
411 nir_parallel_copy_instr *pcopy = local in function:isolate_phi_nodes_block
413 assert(pcopy);
417 nir_ssa_dest_init(&pcopy->instr, &entry->dest,
421 exec_list_push_tail(&pcopy->entries, &entry->node);
424 nir_instr_rewrite_src(&pcopy->instr, &entry->src, src->src);
473 aggressive_coalesce_parallel_copy(nir_parallel_copy_instr *pcopy, argument
476 nir_foreach_parallel_copy_entry(entry, pcopy) {
671 resolve_parallel_copy(nir_parallel_copy_instr *pcopy, argument
848 nir_parallel_copy_instr *pcopy = nir_instr_as_parallel_copy(first_instr); local in function:resolve_parallel_copies_block
[all...]
H A Dnir.h2668 #define nir_foreach_parallel_copy_entry(entry, pcopy) \
2669 foreach_list_typed(nir_parallel_copy_entry, entry, node, &(pcopy)->entries)
/xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/
H A Dir3_merge_regs.c367 struct ir3_instruction *pcopy)
369 for (unsigned i = 0; i < pcopy->dsts_count; i++) {
370 if (!(pcopy->srcs[i]->flags & IR3_REG_SSA))
372 try_merge_defs(live, pcopy->dsts[i], pcopy->srcs[i]->def, 0);
440 struct ir3_instruction *pcopy = local in function:create_parallel_copy
444 struct ir3_register *reg = __ssa_dst(pcopy);
451 pcopy->srcs[pcopy->srcs_count++] =
462 phi->srcs[pred_idx]->def = pcopy
366 aggressive_coalesce_parallel_copy(struct ir3_liveness * live,struct ir3_instruction * pcopy) argument
[all...]
H A Dir3_ra_validate.c279 propagate_parallelcopy(struct ra_val_ctx *ctx, struct ir3_instruction *pcopy) argument
282 for (unsigned i = 0; i < pcopy->dsts_count; i++) {
283 size += reg_size(pcopy->srcs[i]);
289 for (unsigned i = 0; i < pcopy->srcs_count; i++) {
290 struct ir3_register *dst = pcopy->dsts[i];
291 struct ir3_register *src = pcopy->srcs[i];
311 for (unsigned i = 0; i < pcopy->dsts_count; i++) {
312 struct ir3_register *dst = pcopy->dsts[i];
H A Dir3_spill.c661 /* If spilling an immed/const pcopy src, we need to actually materialize it
1029 * only used as part of the pcopy accounting. See below.
1050 is_last_pcopy_src(struct ir3_instruction *pcopy, unsigned src_n) argument
1052 struct ir3_register *src = pcopy->srcs[src_n];
1055 for (unsigned j = src_n + 1; j < pcopy->srcs_count; j++) {
1056 if (pcopy->srcs[j]->def == src->def)
1103 handle_pcopy(struct ra_spill_ctx *ctx, struct ir3_instruction *pcopy) argument
1105 foreach_dst (dst, pcopy) {
1110 foreach_src_n (src, i, pcopy) {
1112 struct ir3_register *dst = pcopy
[all...]
H A Dir3_ra.c1323 struct ir3_instruction *pcopy = local in function:insert_parallel_copy_instr
1330 ir3_dst_create(pcopy, INVALID_REG,
1334 assign_reg(pcopy, reg, ra_interval_get_num(entry->interval));
1340 ir3_src_create(pcopy, INVALID_REG,
1344 assign_reg(pcopy, reg, ra_physreg_to_num(entry->src, reg->flags));
1347 list_del(&pcopy->node);
1348 list_addtail(&pcopy->node, &instr->node);
1481 * space for the destination have the correct pcopy destination that
1484 * TODO: In this case we'll wind up copying the value in the pcopy and
1486 * pcopy destinatio
1769 struct ir3_instruction *pcopy = ir3_instr_create( local in function:insert_liveout_copy
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_from_ssa.c249 nir_parallel_copy_instr *pcopy = local in function:add_parallel_copy_to_end_of_block
252 nir_instr_insert(nir_after_block_before_jump(block), &pcopy->instr);
336 nir_parallel_copy_instr *pcopy = local in function:isolate_phi_nodes_block
338 assert(pcopy);
342 nir_ssa_dest_init(&pcopy->instr, &entry->dest,
345 exec_list_push_tail(&pcopy->entries, &entry->node);
348 nir_instr_rewrite_src(&pcopy->instr, &entry->src, src->src);
396 aggressive_coalesce_parallel_copy(nir_parallel_copy_instr *pcopy, argument
399 nir_foreach_parallel_copy_entry(entry, pcopy) {
585 resolve_parallel_copy(nir_parallel_copy_instr *pcopy, argument
745 nir_parallel_copy_instr *pcopy = nir_instr_as_parallel_copy(first_instr); local in function:resolve_parallel_copies_block
[all...]
H A Dnir.h1898 #define nir_foreach_parallel_copy_entry(entry, pcopy) \
1899 foreach_list_typed(nir_parallel_copy_entry, entry, node, &(pcopy)->entries)
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D21.3.0.rst904 - ir3/merge_regs: Set wrmask for pcopy destinations
912 - ir3: Properly validate pcopy reg sizes

Completed in 37 milliseconds