/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_lower_spill.c | 108 if (offset + components * component_bytes(reload->dsts[0]) < MAX_CAT6_SIZE) in handle_oob_offset_reload() 159 if (reload->dsts[0]->flags & IR3_REG_ARRAY) { in split_reload() 160 reload->dsts[0]->wrmask = MASK(orig_components); in split_reload() 161 reload->dsts[0]->num = reload->dsts[0]->array.base; in split_reload() 162 reload->dsts[0]->flags &= ~IR3_REG_ARRAY; in split_reload() 172 clone->dsts[0]->wrmask = MASK(components); in split_reload() 173 if (clone->dsts[0]->flags & IR3_REG_ARRAY) { in split_reload() 174 clone->dsts[0]->num = clone->dsts[0]->array.base + comp; in split_reload() 175 clone->dsts[0]->flags &= ~IR3_REG_ARRAY; in split_reload() 179 clone->srcs[1]->uim_val += comp * component_bytes(reload->dsts[0]); in split_reload()
|
D | ir3_validate.c | 126 validate_assert(ctx, is_dest_gpr(phi->dsts[0])); in validate_phi() 215 struct ir3_register *reg = instr->dsts[i]; in validate_instr() 230 validate_assert(ctx, instr->dsts[0]->flags & IR3_REG_SHARED); in validate_instr() 231 validate_assert(ctx, !(instr->dsts[0]->flags & IR3_REG_HALF)); in validate_instr() 233 ctx, util_is_power_of_two_or_zero(instr->dsts[0]->wrmask + 1)); in validate_instr() 240 validate_assert(ctx, !(instr->dsts[0]->flags & IR3_REG_SHARED)); in validate_instr() 244 validate_assert(ctx, reg_class_flags(instr->dsts[0]) == in validate_instr() 246 validate_assert(ctx, reg_class_flags(instr->dsts[1]) == in validate_instr() 248 validate_assert(ctx, reg_class_flags(instr->dsts[2]) == IR3_REG_SHARED); in validate_instr() 291 if (instr->dsts[0]->flags & IR3_REG_HALF) { in validate_instr() [all …]
|
D | ir3_lower_subgroups.c | 295 struct ir3_register *exclusive = instr->dsts[0]; in lower_instr() 296 struct ir3_register *inclusive = instr->dsts[1]; in lower_instr() 297 struct ir3_register *reduce = instr->dsts[2]; in lower_instr() 314 mov_immed(instr->dsts[0], then_block, 0); in lower_instr() 356 mov_immed(instr->dsts[0], then_block, 1); in lower_instr() 357 mov_immed(instr->dsts[0], before_block, 0); in lower_instr() 361 unsigned comp_count = util_last_bit(instr->dsts[0]->wrmask); in lower_instr() 364 ir3_dst_create(movmsk, instr->dsts[0]->num, instr->dsts[0]->flags); in lower_instr() 374 ir3_dst_create(mov, instr->dsts[0]->num, instr->dsts[0]->flags); in lower_instr() 386 ir3_dst_create(swz, instr->dsts[0]->num, instr->dsts[0]->flags); in lower_instr() [all …]
|
D | ir3_cse.c | 44 hash = HASH(hash, instr->dsts[0]->flags); in hash_instr() 81 if (i1->dsts[0]->flags != i2->dsts[0]->flags) in instrs_equal() 127 if (!is_dest_gpr(instr->dsts[0]) || (instr->dsts[0]->flags & IR3_REG_ARRAY)) in instr_can_cse() 168 src->def = instr->dsts[0]; in ir3_cse()
|
D | ir3.c | 325 (instr->dsts[0]->flags & IR3_REG_EI)) in ir3_collect_info() 507 unsigned sz = sizeof(*instr) + (ndst * sizeof(instr->dsts[0])) + in instr_create() 513 instr->dsts = (struct ir3_register **)ptr; in instr_create() 514 instr->srcs = instr->dsts + ndst; in instr_create() 539 struct ir3_register **dsts, **srcs; in ir3_instr_clone() local 541 dsts = new_instr->dsts; in ir3_instr_clone() 544 new_instr->dsts = dsts; in ir3_instr_clone() 605 instr->dsts[instr->dsts_count++] = reg; in ir3_dst_create() 638 ir3_src_create(instr, addr->dsts[0]->num, addr->dsts[0]->flags); in ir3_instr_set_address() 639 instr->address->def = addr->dsts[0]; in ir3_instr_set_address() [all …]
|
D | ir3_ra.c | 1051 DECLARE_ARRAY(struct ir3_register *, dsts); in compress_regs_left() 1053 dsts = NULL; in compress_regs_left() 1054 array_insert(ctx, dsts, reg); in compress_regs_left() 1111 array_insert(ctx, dsts, other_dst); in compress_regs_left() 1170 qsort(dsts, dsts_count, sizeof(*dsts), dsts_cmp); in compress_regs_left() 1188 struct ir3_register *dst = dsts[dst_index]; in compress_regs_left() 1219 process_dst ? dsts[dst_index] : in compress_regs_left() 1661 struct ir3_register *dst = instr->dsts[0]; in handle_split() 1682 struct ir3_merge_set *dst_set = instr->dsts[0]->merge_set; in handle_collect() 1683 unsigned dst_offset = instr->dsts[0]->merge_set_offset; in handle_collect() [all …]
|
D | ir3_context.c | 253 if (ctx->last_dst[i]->dsts[0]->flags & IR3_REG_SHARED) { in ir3_put_dst() 299 return instr->dsts[0]->flags & (IR3_REG_HALF | IR3_REG_SHARED); in dest_flags() 342 if (elem->dsts[0]->flags & IR3_REG_ARRAY) { in ir3_create_collect() 351 collect->dsts[0]->wrmask = MASK(arrsz); in ir3_create_collect() 363 if ((n == 1) && (src->dsts[0]->wrmask == 0x1) && in ir3_split_dest() 389 if (src->dsts[0]->wrmask & (1 << (i + base))) in ir3_split_dest() 446 instr->dsts[0]->flags |= IR3_REG_HALF; in create_addr0() 449 instr->dsts[0]->num = regid(REG_A0, 0); in create_addr0() 460 instr->dsts[0]->num = regid(REG_A0, 1); in create_addr1() 524 cond->dsts[0]->num = regid(REG_P0, 0); in ir3_get_predicate() [all …]
|
D | ir3_a6xx.c | 52 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() 396 load->dsts[0]->wrmask = MASK(dest_components); in emit_intrinsic_load_global_ir3()
|
D | ir3_merge_regs.c | 361 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()
|
D | ir3_legalize.c | 187 reg = n->dsts[i]; in legalize_block() 255 regmask_set(&state->needs_ss, n->dsts[0]); in legalize_block() 263 regmask_set(&state->needs_sy, n->dsts[0]); in legalize_block() 267 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() 280 regmask_set(&state->needs_sy, n->dsts[0]); in legalize_block() 282 regmask_set(&state->needs_ss, n->dsts[0]); in legalize_block() 325 last_input->dsts[0]->flags |= IR3_REG_EI; in legalize_block() 757 block->condition->dsts[0]; in block_sched() [all …]
|
D | ir3_array_to_ssa.c | 116 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()
|
D | ir3.h | 328 struct ir3_register **dsts; member 870 if (!is_same_type_reg(instr->dsts[0], instr->srcs[0])) in is_same_type_mov() 880 if (!is_same_type_reg(instr->dsts[0], instr->srcs[0])) in is_same_type_mov() 889 dst = instr->dsts[0]; in is_same_type_mov() 980 return !!(instr->dsts[0]->flags & IR3_REG_HALF); in is_half() 986 return !!(instr->dsts[0]->flags & IR3_REG_SHARED); in is_shared() 1164 return util_last_bit(instr->dsts[0]->wrmask); in dest_regs() 1183 return is_dest_gpr(instr->dsts[0]); in writes_gpr() 1191 struct ir3_register *dst = instr->dsts[0]; in writes_addr0() 1202 struct ir3_register *dst = instr->dsts[0]; in writes_addr1() [all …]
|
D | ir3_dce.c | 83 if (src && is_tex_or_prefetch(src) && (src->dsts[0]->wrmask > 1)) { in remove_unused_by_block() 84 src->dsts[0]->wrmask &= ~(1 << instr->split.off); in remove_unused_by_block() 166 instr->srcs[0]->wrmask = src->dsts[0]->wrmask; in find_and_remove_unused()
|
D | ir3_spill.c | 164 ctx->base_reg = mov->dsts[0]; in add_base_reg() 184 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() 233 src->def->merge_set_offset == instr->dsts[i]->merge_set_offset) { in compute_block_next_distance() 235 tmp_next_use[instr->dsts[i]->name]; in compute_block_next_distance() 283 if (phi->dsts[0]->next_use < UINT_MAX && in compute_block_next_distance() 284 phi->dsts[0]->next_use + block_distance < in compute_block_next_distance() 286 pred_state->next_use_end[src] = phi->dsts[0]->next_use + in compute_block_next_distance() 1107 if (ra_reg_is_dst(instr->dsts[i]) && in handle_instr() [all …]
|
D | ir3_delay.c | 86 bool mismatched_half = (assigner->dsts[0]->flags & IR3_REG_HALF) != in ir3_delayslots() 137 struct ir3_register *dst = assigner->dsts[assigner_n]; in ir3_delayslots_with_repeat() 219 struct ir3_register *dst = assigner->dsts[assigner_n]; in delay_calc_srcn()
|
D | ir3_compiler_nir.c | 632 dst[0]->dsts[0]->flags |= IR3_REG_EI; in emit_alu() 636 dst[0]->dsts[0]->flags |= IR3_REG_EI; in emit_alu() 772 if (ctx->compiler->gen < 5 || (src[0]->dsts[0]->flags & IR3_REG_HALF)) { in emit_alu() 791 hi->dsts[0]->flags |= IR3_REG_HALF; in emit_alu() 792 lo->dsts[0]->flags |= IR3_REG_HALF; in emit_alu() 795 dst[0]->dsts[0]->flags |= IR3_REG_HALF; in emit_alu() 897 ldc->dsts[0]->wrmask = MASK(ncomp); in emit_intrinsic_load_ubo_ldc() 1063 resinfo->dsts[0]->wrmask = MASK(3); in emit_intrinsic_ssbo_size() 1093 ldl->dsts[0]->wrmask = MASK(intr->num_components); in emit_intrinsic_load_shared() 1150 load->dsts[0]->wrmask = MASK(intr->num_components); in emit_intrinsic_load_shared_ir3() [all …]
|
/third_party/mesa3d/src/compiler/glsl/ |
D | opt_copy_propagation_elements.cpp | 68 set *dsts; member in __anon2eb9846d0111::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/ |
D | Matrix_MakeRectToRect.cpp | 8 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/ |
D | Matrix_MakeRectToRect.cpp | 8 const SkRect dsts[] = { {0, 0, 0, 0}, {5, 6, 8, 9} }; in draw() local 10 for (auto dst : dsts) { in draw()
|
D | Matrix_setRectToRect.cpp | 8 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/ |
D | swresample_internal.h | 193 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…
|
D | dither_template.c | 43 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/ |
D | graphviz.py | 81 for src, dsts in edges.items(): 82 for dst in dsts:
|
/third_party/node/tools/gyp/tools/ |
D | graphviz.py | 82 for src, dsts in edges.items(): 83 for dst in dsts:
|
/third_party/python/Tools/peg_generator/pegen/ |
D | sccutils.py | 116 graph = {src: {dst for dst in dsts if dst in scc} for src, dsts in graph.items() if src in scc}
|