Searched refs:dsts (Results 1 - 25 of 34) sorted by relevance

12

/xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/
H A Dir3_lower_spill.c85 if (reload->dsts[0]->flags & IR3_REG_ARRAY) {
86 reload->dsts[0]->wrmask = MASK(orig_components);
87 reload->dsts[0]->num = reload->dsts[0]->array.base;
88 reload->dsts[0]->flags &= ~IR3_REG_ARRAY;
98 clone->dsts[0]->wrmask = MASK(components);
99 if (clone->dsts[0]->flags & IR3_REG_ARRAY) {
100 clone->dsts[0]->num = clone->dsts[0]->array.base + comp;
101 clone->dsts[
[all...]
H A Dir3_lower_subgroups.c159 mov_immed(instr->dsts[0], then_block, 0);
200 mov_immed(instr->dsts[0], then_block, 1);
201 mov_immed(instr->dsts[0], before_block, 0);
205 unsigned comp_count = util_last_bit(instr->dsts[0]->wrmask);
208 ir3_dst_create(movmsk, instr->dsts[0]->num, instr->dsts[0]->flags);
218 ir3_dst_create(mov, instr->dsts[0]->num, instr->dsts[0]->flags);
230 ir3_dst_create(swz, instr->dsts[0]->num, instr->dsts[
[all...]
H A Dir3_cse.c44 hash = HASH(hash, instr->dsts[0]->flags);
69 if (i1->dsts[0]->flags != i2->dsts[0]->flags)
137 src->def = instr->dsts[0];
H A Dir3_validate.c126 validate_assert(ctx, is_dest_gpr(phi->dsts[0]));
211 struct ir3_register *reg = instr->dsts[i];
226 validate_assert(ctx, instr->dsts[0]->flags & IR3_REG_SHARED);
227 validate_assert(ctx, !(instr->dsts[0]->flags & IR3_REG_HALF));
229 ctx, util_is_power_of_two_or_zero(instr->dsts[0]->wrmask + 1));
236 validate_assert(ctx, !(instr->dsts[0]->flags & IR3_REG_SHARED));
279 if (instr->dsts[0]->flags & IR3_REG_HALF) {
286 validate_reg_size(ctx, instr->dsts[0], instr->cat5.type);
292 validate_reg_size(ctx, instr->dsts[0], instr->cat6.type);
297 validate_assert(ctx, !(instr->dsts[
[all...]
H A Dir3_dce.c57 mark_array_use(instr, instr->dsts[0]); /* dst */
81 if (src && is_tex_or_prefetch(src) && (src->dsts[0]->wrmask > 1)) {
82 src->dsts[0]->wrmask &= ~(1 << instr->split.off);
157 instr->srcs[0]->wrmask = src->dsts[0]->wrmask;
H A Dir3_a6xx.c52 ldib->dsts[0]->wrmask = MASK(intr->num_components);
192 atomic->dsts[0]->wrmask = src1->dsts[0]->wrmask;
193 ir3_reg_tie(atomic->dsts[0], atomic->srcs[2]);
211 ldib->dsts[0]->wrmask = MASK(intr->num_components);
340 atomic->dsts[0]->wrmask = src1->dsts[0]->wrmask;
341 ir3_reg_tie(atomic->dsts[0], atomic->srcs[2]);
360 resinfo->dsts[0]->wrmask = MASK(3);
385 load->dsts[
[all...]
H A Dir3_context.c250 if (ctx->last_dst[i]->dsts[0]->flags & IR3_REG_SHARED) {
297 return instr->dsts[0]->flags & (IR3_REG_HALF | IR3_REG_SHARED);
340 if (elem->dsts[0]->flags & IR3_REG_ARRAY) {
349 collect->dsts[0]->wrmask = MASK(arrsz);
361 if ((n == 1) && (src->dsts[0]->wrmask == 0x1) &&
387 if (src->dsts[0]->wrmask & (1 << (i + base)))
444 instr->dsts[0]->flags |= IR3_REG_HALF;
447 instr->dsts[0]->num = regid(REG_A0, 0);
458 instr->dsts[0]->num = regid(REG_A0, 1);
520 cond->dsts[
[all...]
H A Dir3_array_to_ssa.c27 * the array defined in instr->dsts[0]->def (possibly a phi node), perform the
28 * operation, and store to instr->dsts[0].
116 state->live_in_definition = phi->dsts[0];
131 return phi->dsts[0];
141 phi->data = phi->dsts[0];
185 return phi->dsts[0];
277 if (instr->data != instr->dsts[0]) {
H A Dir3.c276 if ((instr->opc == OPC_BARY_F) && (instr->dsts[0]->flags & IR3_REG_EI))
435 unsigned sz = sizeof(*instr) + (ndst * sizeof(instr->dsts[0])) +
441 instr->dsts = (struct ir3_register **)ptr;
442 instr->srcs = instr->dsts + ndst;
467 struct ir3_register **dsts, **srcs; local in function:ir3_instr_clone
469 dsts = new_instr->dsts;
472 new_instr->dsts = dsts;
533 instr->dsts[inst
[all...]
H A Dir3_cp_postsched.c67 (instr->dsts[0]->num == regid(REG_A0, 0)))
73 struct ir3_register *dst = instr->dsts[0];
H A Dir3_legalize.c176 reg = n->dsts[i];
256 regmask_set(&state->needs_ss, n->dsts[0]);
259 regmask_set(&state->needs_sy, n->dsts[0]);
263 regmask_set(&state->needs_ss, n->dsts[0]);
272 regmask_set(&state->needs_ss, n->dsts[0]);
274 regmask_set(&state->needs_sy, n->dsts[0]);
281 regmask_set(&state->needs_sy, n->dsts[0]);
284 regmask_set(&state->needs_ss, n->dsts[0]);
326 last_input->dsts[0]->flags |= IR3_REG_EI;
688 block->condition->dsts[
[all...]
H A Dir3_merge_regs.c361 try_merge_defs(live, phi->dsts[0], phi->srcs[i]->def, 0);
372 try_merge_defs(live, pcopy->dsts[i], pcopy->srcs[i]->def, 0);
380 try_merge_defs(live, split->srcs[0]->def, split->dsts[0],
381 split->split.off * reg_elem_size(split->dsts[0]));
392 try_merge_defs(live, collect->dsts[0], collect->srcs[i]->def, offset);
462 phi->srcs[pred_idx]->def = pcopy->dsts[j];
463 phi->srcs[pred_idx]->flags = pcopy->dsts[j]->flags;
485 struct ir3_register *dst = instr->dsts[i];
522 struct ir3_register *dst = instr->dsts[i];
H A Dir3_ra.c1384 struct ir3_register *dst = instr->dsts[0];
1405 struct ir3_merge_set *dst_set = instr->dsts[0]->merge_set;
1406 unsigned dst_offset = instr->dsts[0]->merge_set_offset;
1442 if (reg_size(interval->interval.reg) >= reg_size(instr->dsts[0])) {
1457 allocate_dst_fixed(ctx, instr->dsts[0], dst_fixed);
1459 allocate_dst(ctx, instr->dsts[0]);
1496 insert_dst(ctx, instr->dsts[0]);
1520 if (instr->dsts[0]->num == INVALID_REG)
1523 struct ra_interval *interval = &ctx->intervals[instr->dsts[0]->name];
1524 physreg_t physreg = ra_reg_get_physreg(instr->dsts[
[all...]
H A Dir3.h303 struct ir3_register **dsts; member in struct:ir3_instruction
810 if (!is_same_type_reg(instr->dsts[0], instr->srcs[0]))
820 if (!is_same_type_reg(instr->dsts[0], instr->srcs[0]))
829 dst = instr->dsts[0];
902 return !!(instr->dsts[0]->flags & IR3_REG_HALF);
908 return !!(instr->dsts[0]->flags & IR3_REG_SHARED);
1085 return util_last_bit(instr->dsts[0]->wrmask);
1104 return is_dest_gpr(instr->dsts[0]);
1112 struct ir3_register *dst = instr->dsts[0];
1123 struct ir3_register *dst = instr->dsts[
[all...]
H A Dir3_delay.c92 is_mem(consumer) || (assigner->dsts[0]->flags & IR3_REG_SHARED)) {
99 bool mismatched_half = (assigner->dsts[0]->flags & IR3_REG_HALF) !=
216 struct ir3_register *dst = assigner->dsts[assigner_n];
H A Dir3_compiler_nir.c693 hi->dsts[0]->flags |= IR3_REG_HALF;
694 lo->dsts[0]->flags |= IR3_REG_HALF;
697 dst[0]->dsts[0]->flags |= IR3_REG_HALF;
761 ldc->dsts[0]->wrmask = MASK(ncomp);
866 resinfo->dsts[0]->wrmask = MASK(3);
896 ldl->dsts[0]->wrmask = MASK(intr->num_components);
953 load->dsts[0]->wrmask = MASK(intr->num_components);
1081 ldp->dsts[0]->wrmask = MASK(intr->num_components);
1757 offset->dsts[0]->wrmask = 0x3;
1946 ctx->samp_id->dsts[
[all...]
H A Dir3_cf.c48 struct ir3_register *dst = instr->dsts[0];
H A Dir3_spill.c161 ctx->base_reg = mov->dsts[0];
181 instr->srcs[i]->def->merge_set != instr->dsts[i]->merge_set) {
193 instr->srcs[i]->def->merge_set != instr->dsts[0]->merge_set) {
229 if (src->def->merge_set == instr->dsts[i]->merge_set &&
230 src->def->merge_set_offset == instr->dsts[i]->merge_set_offset) {
232 tmp_next_use[instr->dsts[i]->name];
280 if (phi->dsts[0]->next_use < UINT_MAX &&
281 phi->dsts[0]->next_use + block_distance <
283 pred_state->next_use_end[src] = phi->dsts[0]->next_use +
1016 if (ra_reg_is_dst(instr->dsts[
[all...]
H A Dir3_ra_validate.c236 struct ir3_register *dst = split->dsts[0];
251 struct ir3_register *dst = collect->dsts[0];
290 struct ir3_register *dst = pcopy->dsts[i];
312 struct ir3_register *dst = pcopy->dsts[i];
397 if (instr->dsts[i] == state->def) {
H A Dir3_sched.c406 if (indirect->address->def != instr->dsts[0])
423 if (indirect->address->def != instr->dsts[0])
879 if (indirect->address->def == (*addr)->dsts[0]) {
885 indirect->address->def = new_addr->dsts[0];
1044 if (!(instr->dsts[0]->flags & IR3_REG_SSA))
H A Dir3_cp.c65 struct ir3_register *dst = instr->dsts[0];
103 return (cmp->dsts[0]->num == regid(REG_P0, 0)) && cond &&
582 if (instr->dsts[0]->flags & IR3_REG_HALF)
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_conv.h71 LLVMValueRef *dsts, unsigned num_dsts);
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_conv.h71 LLVMValueRef *dsts, unsigned num_dsts);
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dopt_copy_propagation_elements.cpp68 set *dsts; member in class:__anon3d49c3040110::acp_entry
114 set_foreach(entry->dsts, set_entry) {
123 _mesa_set_remove(entry->dsts, set_entry);
153 _mesa_set_add(rhs_entry->dsts, lhs);
173 _mesa_set_add(rhs_entry->dsts, lhs);
196 _mesa_set_remove_key(element->dsts, lhs);
226 entry->dsts = _mesa_set_clone(fallback_entry->dsts, this);
233 entry->dsts = _mesa_pointer_set_create(this);
244 _mesa_set_remove_key(entry->dsts, to_remov
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dopt_copy_propagation_elements.cpp68 set *dsts; member in class:__anon073c3d110110::acp_entry
114 set_foreach(entry->dsts, set_entry) {
123 _mesa_set_remove(entry->dsts, set_entry);
153 _mesa_set_add(rhs_entry->dsts, lhs);
173 _mesa_set_add(rhs_entry->dsts, lhs);
196 _mesa_set_remove_key(element->dsts, lhs);
226 entry->dsts = _mesa_set_clone(fallback_entry->dsts, this);
233 entry->dsts = _mesa_pointer_set_create(this);
244 _mesa_set_remove_key(entry->dsts, to_remov
[all...]

Completed in 29 milliseconds

12