Home
last modified time | relevance | path

Searched refs:IR3_REG_ARRAY (Results 1 – 16 of 16) sorted by relevance

/third_party/mesa3d/src/freedreno/ir3/
Dir3_lower_spill.c125 if (spill->srcs[1]->flags & IR3_REG_ARRAY) { in split_spill()
128 spill->srcs[1]->flags &= ~IR3_REG_ARRAY; in split_spill()
139 if (clone->srcs[1]->flags & IR3_REG_ARRAY) { in split_spill()
141 clone->srcs[1]->flags &= ~IR3_REG_ARRAY; in split_spill()
159 if (reload->dsts[0]->flags & IR3_REG_ARRAY) { in split_reload()
162 reload->dsts[0]->flags &= ~IR3_REG_ARRAY; in split_reload()
173 if (clone->dsts[0]->flags & IR3_REG_ARRAY) { in split_reload()
175 clone->dsts[0]->flags &= ~IR3_REG_ARRAY; in split_reload()
Dir3_array_to_ssa.c105 unsigned flags = IR3_REG_ARRAY | (arr->half ? IR3_REG_HALF : 0); in read_value_beginning()
230 if (dst->flags & IR3_REG_ARRAY) { in ir3_array_to_ssa()
245 if ((reg->flags & IR3_REG_ARRAY) && !reg->tied) { in ir3_array_to_ssa()
253 if ((reg->flags & IR3_REG_ARRAY) && !reg->def) { in ir3_array_to_ssa()
275 if (!(instr->flags & IR3_REG_ARRAY)) in ir3_array_to_ssa()
286 if ((reg->flags & IR3_REG_ARRAY)) { in ir3_array_to_ssa()
297 if ((reg->flags & IR3_REG_ARRAY)) { in ir3_array_to_ssa()
Dir3_cp.c79 if (src->flags & IR3_REG_ARRAY) in is_eligible_mov()
142 *dstflags |= srcflags & IR3_REG_ARRAY; in combine_flags()
362 if (new_flags & IR3_REG_ARRAY) { in reg_cp()
363 assert(!(reg->flags & IR3_REG_ARRAY)); in reg_cp()
387 if (src_reg->flags & IR3_REG_ARRAY) in reg_cp()
531 if (!(reg->flags & IR3_REG_ARRAY)) { in eliminate_output_mov()
569 if ((reg->flags & IR3_REG_ARRAY) && src->opc != OPC_META_PHI) in instr_cp()
Dir3_cse.c54 if (src->flags & IR3_REG_ARRAY) in hash_instr()
102 if (i1_reg->flags & IR3_REG_ARRAY) { in instrs_equal()
127 if (!is_dest_gpr(instr->dsts[0]) || (instr->dsts[0]->flags & IR3_REG_ARRAY)) in instr_can_cse()
Dir3_cf.c57 if (dst->flags & (IR3_REG_RELATIV | IR3_REG_ARRAY)) in is_safe_conv()
59 if (src->flags & (IR3_REG_RELATIV | IR3_REG_ARRAY)) in is_safe_conv()
Dir3_ra.h78 return (reg->flags & IR3_REG_ARRAY) ? reg->array.base : reg->num; in ra_reg_get_num()
105 ((reg->flags & IR3_REG_ARRAY) || reg->wrmask); in ra_reg_is_dst()
Dir3_context.c342 if (elem->dsts[0]->flags & IR3_REG_ARRAY) { in ir3_create_collect()
588 IR3_REG_ARRAY | COND(address, IR3_REG_RELATIV) | flags); in ir3_create_array_load()
626 dst->flags |= IR3_REG_ARRAY; in ir3_create_array_store()
655 IR3_REG_SSA | IR3_REG_ARRAY | flags | COND(address, IR3_REG_RELATIV)); in ir3_create_array_store()
Dir3.h137 IR3_REG_ARRAY = 0x8000, enumerator
897 if (dst->flags & (IR3_REG_RELATIV | IR3_REG_ARRAY)) in is_same_type_mov()
1139 if (reg->flags & IR3_REG_ARRAY) in reg_elems()
1245 if ((reg->flags & (IR3_REG_SSA | IR3_REG_ARRAY)) && reg->def) in ssa()
1994 if (src->dsts[0]->flags & IR3_REG_ARRAY) { in ir3_MOV()
1995 struct ir3_register *src_reg = __ssa_src(instr, src, IR3_REG_ARRAY); in ir3_MOV()
2020 assert(!(src->dsts[0]->flags & IR3_REG_ARRAY)); in ir3_COV()
Dir3_spill.c337 if (reg->flags & IR3_REG_ARRAY) in can_rematerialize()
357 dst->flags |= reg->flags & (IR3_REG_HALF | IR3_REG_ARRAY); in rematerialize()
749 IR3_REG_ARRAY); in spill()
756 if (reg->flags & IR3_REG_ARRAY) { in spill()
854 assert(!(def->flags & IR3_REG_ARRAY)); in split()
911 dst->flags |= reg->flags & (IR3_REG_HALF | IR3_REG_ARRAY); in reload()
927 if (reg->flags & IR3_REG_ARRAY) { in reload()
1566 dst->flags |= def->flags & (IR3_REG_HALF | IR3_REG_ARRAY); in add_live_in_phi()
Dir3_dce.c39 if (reg->flags & IR3_REG_ARRAY) { in mark_array_use()
Dir3_print.c268 if (reg->num != INVALID_REG && !(reg->flags & IR3_REG_ARRAY)) in print_ssa_name()
311 } else if (reg->flags & IR3_REG_ARRAY) { in print_reg_name()
Dir3_ra.c1456 if (reg->flags & IR3_REG_ARRAY) { in assign_reg()
1602 (IR3_REG_HALF | IR3_REG_ARRAY)); in insert_parallel_copy_instr()
1613 (IR3_REG_HALF | IR3_REG_ARRAY)); in insert_parallel_copy_instr()
2059 unsigned flags = reg->flags & (IR3_REG_HALF | IR3_REG_ARRAY); in insert_liveout_copy()
2647 instr->dsts[i]->flags &= ~IR3_REG_ARRAY; in ir3_ra()
2654 instr->srcs[i]->flags &= ~IR3_REG_ARRAY; in ir3_ra()
Dir3_sched.c1320 if (dst->flags & IR3_REG_ARRAY) in get_array_id()
1323 if (src->flags & IR3_REG_ARRAY) in get_array_id()
Dir3_validate.c137 if (reg->flags & IR3_REG_ARRAY) { in validate_dst()
Dir3_merge_regs.c445 reg->flags |= src[j]->flags & (IR3_REG_HALF | IR3_REG_ARRAY); in create_parallel_copy()
Dir3.c621 assert(reg->flags & IR3_REG_ARRAY); in ir3_reg_set_last_array()