Home
last modified time | relevance | path

Searched refs:dsts (Results 1 – 25 of 46) sorted by relevance

12

/third_party/mesa3d/src/freedreno/ir3/
Dir3_lower_spill.c85 if (reload->dsts[0]->flags & IR3_REG_ARRAY) { in split_reload()
86 reload->dsts[0]->wrmask = MASK(orig_components); in split_reload()
87 reload->dsts[0]->num = reload->dsts[0]->array.base; in split_reload()
88 reload->dsts[0]->flags &= ~IR3_REG_ARRAY; in split_reload()
98 clone->dsts[0]->wrmask = MASK(components); in split_reload()
99 if (clone->dsts[0]->flags & IR3_REG_ARRAY) { in split_reload()
100 clone->dsts[0]->num = clone->dsts[0]->array.base + comp; in split_reload()
101 clone->dsts[0]->flags &= ~IR3_REG_ARRAY; in split_reload()
106 comp * ((reload->dsts[0]->flags & IR3_REG_HALF) ? 2 : 4); in split_reload()
Dir3_lower_subgroups.c159 mov_immed(instr->dsts[0], then_block, 0); in lower_block()
200 mov_immed(instr->dsts[0], then_block, 1); in lower_block()
201 mov_immed(instr->dsts[0], before_block, 0); in lower_block()
205 unsigned comp_count = util_last_bit(instr->dsts[0]->wrmask); in lower_block()
208 ir3_dst_create(movmsk, instr->dsts[0]->num, instr->dsts[0]->flags); in lower_block()
218 ir3_dst_create(mov, instr->dsts[0]->num, instr->dsts[0]->flags); in lower_block()
230 ir3_dst_create(swz, instr->dsts[0]->num, instr->dsts[0]->flags); in lower_block()
231 ir3_dst_create(swz, instr->dsts[1]->num, instr->dsts[1]->flags); in lower_block()
Dir3_validate.c126 validate_assert(ctx, is_dest_gpr(phi->dsts[0])); in validate_phi()
211 struct ir3_register *reg = instr->dsts[i]; in validate_instr()
226 validate_assert(ctx, instr->dsts[0]->flags & IR3_REG_SHARED); in validate_instr()
227 validate_assert(ctx, !(instr->dsts[0]->flags & IR3_REG_HALF)); in validate_instr()
229 ctx, util_is_power_of_two_or_zero(instr->dsts[0]->wrmask + 1)); in validate_instr()
236 validate_assert(ctx, !(instr->dsts[0]->flags & IR3_REG_SHARED)); in validate_instr()
279 if (instr->dsts[0]->flags & IR3_REG_HALF) { in validate_instr()
286 validate_reg_size(ctx, instr->dsts[0], instr->cat5.type); in validate_instr()
292 validate_reg_size(ctx, instr->dsts[0], instr->cat6.type); in validate_instr()
297 validate_assert(ctx, !(instr->dsts[0]->flags & IR3_REG_HALF)); in validate_instr()
[all …]
Dir3.c276 if ((instr->opc == OPC_BARY_F) && (instr->dsts[0]->flags & IR3_REG_EI)) in ir3_collect_info()
435 unsigned sz = sizeof(*instr) + (ndst * sizeof(instr->dsts[0])) + in instr_create()
441 instr->dsts = (struct ir3_register **)ptr; in instr_create()
442 instr->srcs = instr->dsts + ndst; in instr_create()
467 struct ir3_register **dsts, **srcs; in ir3_instr_clone() local
469 dsts = new_instr->dsts; in ir3_instr_clone()
472 new_instr->dsts = dsts; in ir3_instr_clone()
533 instr->dsts[instr->dsts_count++] = reg; in ir3_dst_create()
566 ir3_src_create(instr, addr->dsts[0]->num, addr->dsts[0]->flags); in ir3_instr_set_address()
567 instr->address->def = addr->dsts[0]; in ir3_instr_set_address()
[all …]
Dir3_cse.c44 hash = HASH(hash, instr->dsts[0]->flags); in hash_instr()
69 if (i1->dsts[0]->flags != i2->dsts[0]->flags) in instrs_equal()
137 src->def = instr->dsts[0]; in ir3_cse()
Dir3_context.c250 if (ctx->last_dst[i]->dsts[0]->flags & IR3_REG_SHARED) { in ir3_put_dst()
297 return instr->dsts[0]->flags & (IR3_REG_HALF | IR3_REG_SHARED); in dest_flags()
340 if (elem->dsts[0]->flags & IR3_REG_ARRAY) { in ir3_create_collect()
349 collect->dsts[0]->wrmask = MASK(arrsz); in ir3_create_collect()
361 if ((n == 1) && (src->dsts[0]->wrmask == 0x1) && in ir3_split_dest()
387 if (src->dsts[0]->wrmask & (1 << (i + base))) in ir3_split_dest()
444 instr->dsts[0]->flags |= IR3_REG_HALF; in create_addr0()
447 instr->dsts[0]->num = regid(REG_A0, 0); in create_addr0()
458 instr->dsts[0]->num = regid(REG_A0, 1); in create_addr1()
520 cond->dsts[0]->num = regid(REG_P0, 0); in ir3_get_predicate()
[all …]
Dir3_a6xx.c52 ldib->dsts[0]->wrmask = MASK(intr->num_components); in emit_intrinsic_load_ssbo()
192 atomic->dsts[0]->wrmask = src1->dsts[0]->wrmask; in emit_intrinsic_atomic_ssbo()
193 ir3_reg_tie(atomic->dsts[0], atomic->srcs[2]); in emit_intrinsic_atomic_ssbo()
211 ldib->dsts[0]->wrmask = MASK(intr->num_components); in emit_intrinsic_load_image()
340 atomic->dsts[0]->wrmask = src1->dsts[0]->wrmask; in emit_intrinsic_atomic_image()
341 ir3_reg_tie(atomic->dsts[0], atomic->srcs[2]); in emit_intrinsic_atomic_image()
360 resinfo->dsts[0]->wrmask = MASK(3); in emit_intrinsic_image_size()
385 load->dsts[0]->wrmask = MASK(dest_components); in emit_intrinsic_load_global_ir3()
Dir3_ra.c1384 struct ir3_register *dst = instr->dsts[0]; in handle_split()
1405 struct ir3_merge_set *dst_set = instr->dsts[0]->merge_set; in handle_collect()
1406 unsigned dst_offset = instr->dsts[0]->merge_set_offset; in handle_collect()
1442 if (reg_size(interval->interval.reg) >= reg_size(instr->dsts[0])) { in handle_collect()
1457 allocate_dst_fixed(ctx, instr->dsts[0], dst_fixed); in handle_collect()
1459 allocate_dst(ctx, instr->dsts[0]); in handle_collect()
1496 insert_dst(ctx, instr->dsts[0]); in handle_collect()
1520 if (instr->dsts[0]->num == INVALID_REG) in handle_precolored_input()
1523 struct ra_interval *interval = &ctx->intervals[instr->dsts[0]->name]; in handle_precolored_input()
1524 physreg_t physreg = ra_reg_get_physreg(instr->dsts[0]); in handle_precolored_input()
[all …]
Dir3_legalize.c176 reg = n->dsts[i]; in legalize_block()
256 regmask_set(&state->needs_ss, n->dsts[0]); in legalize_block()
259 regmask_set(&state->needs_sy, n->dsts[0]); in legalize_block()
263 regmask_set(&state->needs_ss, n->dsts[0]); in legalize_block()
272 regmask_set(&state->needs_ss, n->dsts[0]); in legalize_block()
274 regmask_set(&state->needs_sy, n->dsts[0]); in legalize_block()
281 regmask_set(&state->needs_sy, n->dsts[0]); in legalize_block()
284 regmask_set(&state->needs_ss, n->dsts[0]); in legalize_block()
326 last_input->dsts[0]->flags |= IR3_REG_EI; in legalize_block()
688 block->condition->dsts[0]; in block_sched()
[all …]
Dir3_merge_regs.c361 try_merge_defs(live, phi->dsts[0], phi->srcs[i]->def, 0); in coalesce_phi()
372 try_merge_defs(live, pcopy->dsts[i], pcopy->srcs[i]->def, 0); in aggressive_coalesce_parallel_copy()
380 try_merge_defs(live, split->srcs[0]->def, split->dsts[0], in aggressive_coalesce_split()
381 split->split.off * reg_elem_size(split->dsts[0])); in aggressive_coalesce_split()
392 try_merge_defs(live, collect->dsts[0], collect->srcs[i]->def, offset); in aggressive_coalesce_collect()
462 phi->srcs[pred_idx]->def = pcopy->dsts[j]; in create_parallel_copy()
463 phi->srcs[pred_idx]->flags = pcopy->dsts[j]->flags; in create_parallel_copy()
485 struct ir3_register *dst = instr->dsts[i]; in index_merge_sets()
522 struct ir3_register *dst = instr->dsts[i]; in dump_merge_sets()
Dir3_dce.c57 mark_array_use(instr, instr->dsts[0]); /* dst */ in instr_dce()
81 if (src && is_tex_or_prefetch(src) && (src->dsts[0]->wrmask > 1)) { in remove_unused_by_block()
82 src->dsts[0]->wrmask &= ~(1 << instr->split.off); in remove_unused_by_block()
157 instr->srcs[0]->wrmask = src->dsts[0]->wrmask; in find_and_remove_unused()
Dir3_array_to_ssa.c116 state->live_in_definition = phi->dsts[0]; in read_value_beginning()
131 return phi->dsts[0]; in read_value_beginning()
141 phi->data = phi->dsts[0]; in remove_trivial_phi()
185 return phi->dsts[0]; in remove_trivial_phi()
277 if (instr->data != instr->dsts[0]) { in ir3_array_to_ssa()
Dir3.h303 struct ir3_register **dsts; member
810 if (!is_same_type_reg(instr->dsts[0], instr->srcs[0])) in is_same_type_mov()
820 if (!is_same_type_reg(instr->dsts[0], instr->srcs[0])) in is_same_type_mov()
829 dst = instr->dsts[0]; in is_same_type_mov()
902 return !!(instr->dsts[0]->flags & IR3_REG_HALF); in is_half()
908 return !!(instr->dsts[0]->flags & IR3_REG_SHARED); in is_shared()
1085 return util_last_bit(instr->dsts[0]->wrmask); in dest_regs()
1104 return is_dest_gpr(instr->dsts[0]); in writes_gpr()
1112 struct ir3_register *dst = instr->dsts[0]; in writes_addr0()
1123 struct ir3_register *dst = instr->dsts[0]; in writes_addr1()
[all …]
Dir3_spill.c161 ctx->base_reg = mov->dsts[0]; in add_base_reg()
181 instr->srcs[i]->def->merge_set != instr->dsts[i]->merge_set) { in instr_cycles()
193 instr->srcs[i]->def->merge_set != instr->dsts[0]->merge_set) { in instr_cycles()
229 if (src->def->merge_set == instr->dsts[i]->merge_set && in compute_block_next_distance()
230 src->def->merge_set_offset == instr->dsts[i]->merge_set_offset) { in compute_block_next_distance()
232 tmp_next_use[instr->dsts[i]->name]; in compute_block_next_distance()
280 if (phi->dsts[0]->next_use < UINT_MAX && in compute_block_next_distance()
281 phi->dsts[0]->next_use + block_distance < in compute_block_next_distance()
283 pred_state->next_use_end[src] = phi->dsts[0]->next_use + in compute_block_next_distance()
1016 if (ra_reg_is_dst(instr->dsts[i]) && in handle_instr()
[all …]
Dir3_compiler_nir.c693 hi->dsts[0]->flags |= IR3_REG_HALF; in emit_alu()
694 lo->dsts[0]->flags |= IR3_REG_HALF; in emit_alu()
697 dst[0]->dsts[0]->flags |= IR3_REG_HALF; in emit_alu()
761 ldc->dsts[0]->wrmask = MASK(ncomp); in emit_intrinsic_load_ubo_ldc()
866 resinfo->dsts[0]->wrmask = MASK(3); in emit_intrinsic_ssbo_size()
896 ldl->dsts[0]->wrmask = MASK(intr->num_components); in emit_intrinsic_load_shared()
953 load->dsts[0]->wrmask = MASK(intr->num_components); in emit_intrinsic_load_shared_ir3()
1081 ldp->dsts[0]->wrmask = MASK(intr->num_components); in emit_intrinsic_load_scratch()
1757 offset->dsts[0]->wrmask = 0x3; in emit_intrinsic()
1946 ctx->samp_id->dsts[0]->flags |= IR3_REG_HALF; in emit_intrinsic()
[all …]
Dir3_cp_postsched.c67 (instr->dsts[0]->num == regid(REG_A0, 0))) in has_conflicting_write()
73 struct ir3_register *dst = instr->dsts[0]; in has_conflicting_write()
/third_party/mesa3d/src/compiler/glsl/
Dopt_copy_propagation_elements.cpp68 set *dsts; member in __anon556f318d0111::acp_entry
114 set_foreach(entry->dsts, set_entry) { in erase()
123 _mesa_set_remove(entry->dsts, set_entry); in erase()
153 _mesa_set_add(rhs_entry->dsts, lhs); in write_elements()
173 _mesa_set_add(rhs_entry->dsts, lhs); in write_full()
196 _mesa_set_remove_key(element->dsts, lhs); in remove_unused_var_from_dsts()
226 entry->dsts = _mesa_set_clone(fallback_entry->dsts, this); in pull_acp()
233 entry->dsts = _mesa_pointer_set_create(this); in pull_acp()
244 _mesa_set_remove_key(entry->dsts, to_remove); in remove_from_dsts()
/third_party/skia/docs/examples/
DMatrix_MakeRectToRect.cpp8 const SkRect dsts[] = { {0, 0, 0, 0}, {5, 6, 8, 9} }; in draw() local
10 for (auto dst : dsts) { in draw()
/third_party/flutter/skia/docs/examples/
DMatrix_MakeRectToRect.cpp8 const SkRect dsts[] = { {0, 0, 0, 0}, {5, 6, 8, 9} }; in draw() local
10 for (auto dst : dsts) { in draw()
DMatrix_setRectToRect.cpp8 const SkRect dsts[] = { {0, 0, 0, 0}, {5, 6, 8, 9} }; in draw() local
10 for (auto dst : dsts) { in draw()
/third_party/ffmpeg/libswresample/
Dswresample_internal.h193 void swri_noise_shaping_int16 (SwrContext *s, AudioData *dsts, const AudioData *srcs, const AudioDa…
194 void swri_noise_shaping_int32 (SwrContext *s, AudioData *dsts, const AudioData *srcs, const AudioDa…
195 void swri_noise_shaping_float (SwrContext *s, AudioData *dsts, const AudioData *srcs, const AudioDa…
196 void swri_noise_shaping_double(SwrContext *s, AudioData *dsts, const AudioData *srcs, const AudioDa…
Ddither_template.c43 void RENAME(swri_noise_shaping)(SwrContext *s, AudioData *dsts, const AudioData *srcs, const AudioD… in RENAME()
56 DELEM *dst = (DELEM*)dsts->ch[ch]; in RENAME()
/third_party/node/deps/npm/node_modules/node-gyp/gyp/tools/
Dgraphviz.py81 for src, dsts in edges.items():
82 for dst in dsts:
/third_party/node/tools/gyp/tools/
Dgraphviz.py82 for src, dsts in edges.items():
83 for dst in dsts:
/third_party/python/Tools/peg_generator/pegen/
Dsccutils.py116 graph = {src: {dst for dst in dsts if dst in scc} for src, dsts in graph.items() if src in scc}

12