Searched refs:iim_val (Results 1 – 9 of 9) sorted by relevance
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_cp.c | 105 (cmp->srcs[1]->iim_val == 0) && in is_foldable_double_cmp() 186 reg->iim_val = abs(reg->iim_val); in lower_immed() 196 reg->iim_val = -reg->iim_val; in lower_immed() 444 int32_t iim_val = src_reg->iim_val; in reg_cp() local 454 iim_val = ir3_flut(src_reg); in reg_cp() 455 if (iim_val < 0) { in reg_cp() 462 iim_val = abs(iim_val); in reg_cp() 465 iim_val = -iim_val; in reg_cp() 468 iim_val = ~iim_val; in reg_cp() 471 ir3_valid_immediate(instr, iim_val)) { in reg_cp() [all …]
|
D | ir3_a6xx.c | 53 ldib->cat6.iim_val = intr->num_components; in emit_intrinsic_load_ssbo() 81 stib->cat6.iim_val = ncomp; in emit_intrinsic_store_ssbo() 182 atomic->cat6.iim_val = 1; in emit_intrinsic_atomic_ssbo() 212 ldib->cat6.iim_val = intr->num_components; in emit_intrinsic_load_image() 241 stib->cat6.iim_val = ncomp; in emit_intrinsic_store_image() 329 atomic->cat6.iim_val = 1; in emit_intrinsic_atomic_image() 354 resinfo->cat6.iim_val = 1; in emit_intrinsic_image_size() 412 stg->cat6.iim_val = 1; in emit_intrinsic_store_global_ir3()
|
D | ir3_a4xx.c | 56 ldgb->cat6.iim_val = intr->num_components; in emit_intrinsic_load_ssbo() 89 stgb->cat6.iim_val = ncomp; in emit_intrinsic_store_ssbo() 177 atomic->cat6.iim_val = 1; in emit_intrinsic_atomic_ssbo() 247 ldib->cat6.iim_val = ncomp; in emit_intrinsic_load_image() 284 stib->cat6.iim_val = ncomp; in emit_intrinsic_store_image() 345 atomic->cat6.iim_val = 1; in emit_intrinsic_atomic_image()
|
D | ir3_parser.y | 1017 cat6_imm_offset: offset { new_src(0, IR3_REG_IMMED)->iim_val = $1; } 1023 cat6_immed: integer { instr->cat6.iim_val = $1; } 1043 new_src(0, IR3_REG_IMMED)->iim_val = $8; 1101 | integer { new_src(0, IR3_REG_IMMED)->iim_val = $1; } 1236 immediate_cat1: integer { new_src(0, IR3_REG_IMMED)->iim_val = type_size(instr->cat1… 1239 | 'h' '(' integer ')' { new_src(0, IR3_REG_IMMED | IR3_REG_HALF)->iim_val = $3 & 0… 1244 immediate: integer { new_src(0, IR3_REG_IMMED)->iim_val = $1; } 1247 | 'h' '(' integer ')' { new_src(0, IR3_REG_IMMED | IR3_REG_HALF)->iim_val = $3; }
|
D | ir3_legalize.c | 150 ctx->max_bary = MAX2(ctx->max_bary, inloc->iim_val); in legalize_block() 320 ir3_src_create(baryf, 0, IR3_REG_IMMED)->iim_val = 0; in legalize_block() 350 ir3_src_create(baryf, 0, IR3_REG_IMMED)->iim_val = 0; in legalize_block()
|
D | ir3_print.c | 261 reg->iim_val, reg->iim_val); in print_reg_name()
|
D | ir3_compiler_nir.c | 91 instr->cat6.iim_val = 1; in create_frag_input() 762 ldc->cat6.iim_val = ncomp; in emit_intrinsic_load_ubo_ldc() 790 base_lo = create_uniform(b, ubo + (src0->srcs[0]->iim_val * ptrsz)); in emit_intrinsic_load_ubo() 791 base_hi = create_uniform(b, ubo + (src0->srcs[0]->iim_val * ptrsz) + 1); in emit_intrinsic_load_ubo() 861 resinfo->cat6.iim_val = 1; in emit_intrinsic_ssbo_size() 1055 atomic->cat6.iim_val = 1; in emit_intrinsic_atomic_shared() 3424 unsigned inloc = instr->srcs[0]->iim_val; in pack_inlocs() 3508 unsigned inloc = instr->srcs[0]->iim_val; in pack_inlocs() 3512 instr->srcs[0]->iim_val = so->inputs[i].inloc + j; in pack_inlocs()
|
D | ir3_validate.c | 76 validate_assert(ctx, ir3_valid_immediate(instr, reg->iim_val)); in validate_src()
|
D | ir3.h | 178 int32_t iim_val; member 341 int iim_val : 3; /* for ldgb/stgb, # of components */ member
|