/third_party/mesa3d/src/freedreno/isa/ |
D | encode.c | 104 if (src->flags & IR3_REG_IMMED) { in __instruction_case() 151 assert(reg->flags & IR3_REG_IMMED); in extract_reg_iim() 158 assert(reg->flags & IR3_REG_IMMED); in extract_reg_uim() 227 if (ssbo->flags & IR3_REG_IMMED) { in extract_cat6_DESC_MODE() 266 if (reg->flags & IR3_REG_IMMED) { in __multisrc_case() 304 } else if (reg->flags & (IR3_REG_CONST | IR3_REG_IMMED)) { in __cat3_src_case()
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_cp.c | 104 (cmp->srcs[1]->flags & IR3_REG_IMMED) && in is_foldable_double_cmp() 140 *dstflags |= srcflags & IR3_REG_IMMED; in combine_flags() 163 if (!(new_flags & IR3_REG_IMMED)) in lower_immed() 166 new_flags &= ~IR3_REG_IMMED; in lower_immed() 290 if (new_flags & IR3_REG_IMMED) { in try_swap_mad_two_srcs() 291 new_flags &= ~IR3_REG_IMMED; in try_swap_mad_two_srcs() 475 if (src_reg->flags & IR3_REG_IMMED) { in reg_cp() 592 if (instr->opc == OPC_MOV && (instr->srcs[0]->flags & IR3_REG_IMMED) && in instr_cp() 656 if ((samp->flags & IR3_REG_IMMED) && (tex->flags & IR3_REG_IMMED) && in instr_cp()
|
D | ir3.c | 93 if (reg->flags & IR3_REG_IMMED) { in collect_reg_info() 854 flags &= (IR3_REG_CONST | IR3_REG_IMMED | IR3_REG_FNEG | IR3_REG_FABS | in cp_flags() 902 if (flags & ~(IR3_REG_IMMED | IR3_REG_CONST | IR3_REG_SHARED)) in ir3_valid_flags() 927 IR3_REG_IMMED | IR3_REG_CONST | IR3_REG_RELATIV | IR3_REG_SHARED; in ir3_valid_flags() 934 IR3_REG_RELATIV | IR3_REG_IMMED | IR3_REG_SHARED; in ir3_valid_flags() 941 n == 1 && flags == IR3_REG_IMMED) in ir3_valid_flags() 944 if (flags & (IR3_REG_CONST | IR3_REG_IMMED | IR3_REG_SHARED)) { in ir3_valid_flags() 954 if ((flags & IR3_REG_IMMED) && reg->flags & (IR3_REG_IMMED)) in ir3_valid_flags() 969 valid_flags |= IR3_REG_IMMED; in ir3_valid_flags() 1002 if (flags & (IR3_REG_CONST | IR3_REG_IMMED)) in ir3_valid_flags() [all …]
|
D | ir3_parser.y | 1101 cat6_imm_offset: offset { new_src(0, IR3_REG_IMMED)->iim_val = $1; } 1112 new_src(0, IR3_REG_IMMED)->uim_val = 0; 1113 new_src(0, IR3_REG_IMMED)->uim_val = $4; 1117 new_src(0, IR3_REG_IMMED)->uim_val = $5 - 2; 1118 new_src(0, IR3_REG_IMMED)->uim_val = $6; 1127 new_src(0, IR3_REG_IMMED)->iim_val = $8; 1211 | integer { new_src(0, IR3_REG_IMMED)->iim_val = $1; } 1247 stc_dst: integer { new_src(0, IR3_REG_IMMED)->iim_val = $1; } 1248 | T_A1 { new_src(0, IR3_REG_IMMED)->iim_val = 0; instr->flags |= IR3_INSTR_A1EN; } 1249 | T_A1 '+' integer { new_src(0, IR3_REG_IMMED)->iim_val = $3; instr->flags |= IR3_I… [all …]
|
D | ir3_lower_parallelcopy.c | 53 if (reg->flags & IR3_REG_IMMED) { in get_copy_src() 55 .flags = IR3_REG_IMMED, in get_copy_src() 245 ir3_src_create(shr, 0, IR3_REG_IMMED)->uim_val = 16; in do_copy() 263 if (entry->src.flags & IR3_REG_IMMED) 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()
|
D | ir3_cse.c | 51 } else if (src->flags & IR3_REG_IMMED) { in hash_instr() 98 } else if (i1_reg->flags & IR3_REG_IMMED) { in instrs_equal()
|
D | ir3_delay.c | 274 if (src->flags & (IR3_REG_IMMED | IR3_REG_CONST)) in delay_calc() 332 if (!(src->flags & (IR3_REG_IMMED | IR3_REG_CONST))) in ir3_delay_calc()
|
D | ir3_lower_spill.c | 59 ir3_src_create(mov, INVALID_REG, IR3_REG_IMMED)->uim_val = val; in set_base_reg() 78 ir3_src_create(mov, INVALID_REG, IR3_REG_IMMED)->uim_val = 0; in reset_base_reg()
|
D | ir3_spill.c | 341 if (!(reg->instr->srcs[0]->flags & (IR3_REG_IMMED | IR3_REG_CONST))) in can_rematerialize() 692 if (val->flags & IR3_REG_IMMED) { in set_src_val() 693 src->flags = IR3_REG_IMMED | (val->flags & IR3_REG_HALF); in set_src_val() 733 if (val->flags & (IR3_REG_CONST | IR3_REG_IMMED)) { in spill() 747 unsigned src_flags = reg->flags & (IR3_REG_HALF | IR3_REG_IMMED | in spill() 751 ir3_src_create(spill, INVALID_REG, IR3_REG_IMMED)->uim_val = elems; in spill() 922 ir3_src_create(reload, INVALID_REG, IR3_REG_IMMED); in reload() 924 ir3_src_create(reload, INVALID_REG, IR3_REG_IMMED)->uim_val = elems; in reload() 1268 assert(src->flags & (IR3_REG_CONST | IR3_REG_IMMED)); in handle_pcopy() 1548 if ((pred_val->flags & (IR3_REG_IMMED | IR3_REG_CONST)) || in add_live_in_phi()
|
D | ir3_legalize.c | 160 assert(inloc->flags & IR3_REG_IMMED); in legalize_block() 319 ir3_src_create(baryf, 0, IR3_REG_IMMED)->iim_val = 0; in legalize_block() 349 ir3_src_create(baryf, 0, IR3_REG_IMMED)->iim_val = 0; in legalize_block()
|
D | ir3_postsched.c | 461 if (reg->flags & (IR3_REG_CONST | IR3_REG_IMMED)) in calculate_deps() 714 (IR3_REG_CONST | IR3_REG_IMMED | IR3_REG_RELATIV | IR3_REG_FNEG | in is_self_mov()
|
D | ir3_lower_subgroups.c | 67 mov, INVALID_REG, (dst->flags & IR3_REG_HALF) | IR3_REG_IMMED); in mov_immed()
|
D | ir3_validate.c | 75 if (reg->flags & IR3_REG_IMMED) in validate_src()
|
D | ir3_ra_validate.c | 295 if (src->flags & (IR3_REG_IMMED | IR3_REG_CONST)) { in propagate_parallelcopy()
|
D | ir3_print.c | 308 if (reg->flags & IR3_REG_IMMED) { in print_reg_name()
|
D | ir3.h | 105 IR3_REG_IMMED = 0x002, enumerator 1259 if (r->flags & (IR3_REG_CONST | IR3_REG_IMMED)) in reg_gpr() 1938 ir3_src_create(mov, 0, IR3_REG_IMMED | flags)->uim_val = val; in create_immed_typed()
|
D | ir3_sched.c | 250 if (src->flags & (IR3_REG_IMMED | IR3_REG_CONST)) in cycle_count()
|
D | ir3_compiler_nir.c | 951 if (is_same_type_mov(src0) && (src0->srcs[0]->flags & IR3_REG_IMMED)) { in emit_intrinsic_load_ubo() 1028 if (is_same_type_mov(src0) && (src0->srcs[0]->flags & IR3_REG_IMMED)) { in emit_intrinsic_load_kernel_input() 4023 compile_assert(ctx, instr->srcs[0]->flags & IR3_REG_IMMED); in pack_inlocs()
|
/third_party/mesa3d/src/freedreno/ir3/tests/ |
D | delay.c | 137 if (reg->flags & (IR3_REG_CONST | IR3_REG_IMMED)) in fixup_wrmask()
|