Home
last modified time | relevance | path

Searched refs:IR3_REG_CONST (Results 1 – 14 of 14) sorted by relevance

/third_party/mesa3d/src/freedreno/isa/
Dencode.c104 if (src->flags & IR3_REG_CONST) { in __instruction_case()
109 } else if (src->flags & IR3_REG_CONST) { in __instruction_case()
264 if (reg->flags & IR3_REG_CONST) { in __multisrc_case()
269 } else if (reg->flags & IR3_REG_CONST) { in __multisrc_case()
287 if (reg->flags & IR3_REG_CONST) { in __cat3_src_case()
292 } else if (reg->flags & (IR3_REG_CONST | IR3_REG_IMMED)) { in __cat3_src_case()
/third_party/mesa3d/src/freedreno/ir3/
Dir3.c97 if (reg->flags & IR3_REG_CONST) { in collect_reg_info()
779 flags &= (IR3_REG_CONST | IR3_REG_IMMED | IR3_REG_FNEG | IR3_REG_FABS | in cp_flags()
827 if (flags & ~(IR3_REG_IMMED | IR3_REG_CONST | IR3_REG_SHARED)) in ir3_valid_flags()
849 IR3_REG_IMMED | IR3_REG_CONST | IR3_REG_RELATIV | IR3_REG_SHARED; in ir3_valid_flags()
855 valid_flags = ir3_cat2_absneg(instr->opc) | IR3_REG_CONST | in ir3_valid_flags()
861 if (flags & (IR3_REG_CONST | IR3_REG_IMMED | IR3_REG_SHARED)) { in ir3_valid_flags()
868 if ((flags & (IR3_REG_CONST | IR3_REG_SHARED)) && in ir3_valid_flags()
869 (reg->flags & (IR3_REG_CONST | IR3_REG_SHARED))) in ir3_valid_flags()
884 valid_flags |= IR3_REG_CONST; in ir3_valid_flags()
886 valid_flags |= IR3_REG_CONST; in ir3_valid_flags()
[all …]
Dir3_cse.c46 if (src->flags & IR3_REG_CONST) in hash_instr()
78 if (i1_reg->flags & IR3_REG_CONST) { in instrs_equal()
Dir3_lower_parallelcopy.c58 } else if (reg->flags & IR3_REG_CONST) { in get_copy_src()
60 .flags = IR3_REG_CONST, in get_copy_src()
265 else if (entry->src.flags & IR3_REG_CONST) in do_copy()
299 assert(!(entry->src.flags & (IR3_REG_IMMED | IR3_REG_CONST))); in split_32bit_copy()
379 !(entry->src.flags & (IR3_REG_IMMED | IR3_REG_CONST))) { in _handle_copies()
Dir3_cp.c139 *dstflags |= srcflags & IR3_REG_CONST; in combine_flags()
167 new_flags |= IR3_REG_CONST; in lower_immed()
289 new_flags |= IR3_REG_CONST; in try_swap_mad_two_srcs()
392 if (src_reg->flags & IR3_REG_CONST) { in reg_cp()
Dir3_print.c277 if (reg->flags & IR3_REG_CONST) in print_reg_name()
284 if (reg->flags & IR3_REG_CONST) in print_reg_name()
Dir3_spill.c628 } else if (val->flags & IR3_REG_CONST) { in set_src_val()
629 src->flags = IR3_REG_CONST | (val->flags & IR3_REG_HALF); in set_src_val()
664 if (val->flags & (IR3_REG_CONST | IR3_REG_IMMED)) { in spill()
678 IR3_REG_CONST | IR3_REG_SSA | in spill()
1177 assert(src->flags & (IR3_REG_CONST | IR3_REG_IMMED)); in handle_pcopy()
1178 if (src->flags & IR3_REG_CONST) { in handle_pcopy()
1452 if ((pred_val->flags & (IR3_REG_IMMED | IR3_REG_CONST)) || in add_live_in_phi()
Dir3_postsched.c454 if (reg->flags & (IR3_REG_CONST | IR3_REG_IMMED)) in calculate_deps()
715 (IR3_REG_CONST | IR3_REG_IMMED | IR3_REG_RELATIV | IR3_REG_FNEG | in is_self_mov()
Dir3.h102 IR3_REG_CONST = 0x001, enumerator
852 if (!(instr->srcs[0]->flags & IR3_REG_CONST)) in is_const_mov()
1180 if (r->flags & (IR3_REG_CONST | IR3_REG_IMMED)) in reg_gpr()
1754 ir3_src_create(mov, n, IR3_REG_CONST | flags); in create_uniform_typed()
1775 ir3_src_create(mov, 0, IR3_REG_CONST | IR3_REG_RELATIV)->array.offset = n; in create_uniform_indirect()
Dir3_delay.c333 if (src->flags & (IR3_REG_IMMED | IR3_REG_CONST)) in delay_calc_postra()
Dir3_parser.y1172 const: T_CONSTANT { $$ = new_src($1, IR3_REG_CONST); }
1226 relative_const: 'c' '<' T_A0 offset '>' { new_src(0, IR3_REG_RELATIV | IR3_REG_CONST)->array.of…
1227 | T_HC '<' T_A0 offset '>' { new_src(0, IR3_REG_RELATIV | IR3_REG_CONST | IR3_REG…
Dir3_ra_validate.c295 if (src->flags & (IR3_REG_IMMED | IR3_REG_CONST)) { in propagate_parallelcopy()
Dir3_sched.c244 if (src->flags & (IR3_REG_IMMED | IR3_REG_CONST)) in cycle_count()
/third_party/mesa3d/src/freedreno/ir3/tests/
Ddelay.c132 if (reg->flags & (IR3_REG_CONST | IR3_REG_IMMED)) in fixup_wrmask()