Home
last modified time | relevance | path

Searched refs:const_index (Results 1 – 25 of 63) sorted by relevance

123

/third_party/mesa3d/src/gallium/drivers/lima/ir/
Dlima_nir_duplicate_intrinsic.c43 memcpy(dupl->const_index, itr->const_index, sizeof(itr->const_index)); in lima_nir_duplicate_intrinsic()
76 memcpy(dupl->const_index, itr->const_index, sizeof(itr->const_index)); in lima_nir_duplicate_intrinsic()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_resources.c254 unsigned const_index = base_index + constant_index; in si_nir_load_sampler_desc() local
289 if (const_index >= num_slots) in si_nir_load_sampler_desc()
290 const_index = base_index; in si_nir_load_sampler_desc()
293 LLVMValueRef index = LLVMConstInt(ctx->ac.i32, const_index, false); in si_nir_load_sampler_desc()
313 const_index < ctx->shader->selector->cs_num_images_in_user_sgprs && in si_nir_load_sampler_desc()
315 LLVMValueRef rsrc = ac_get_arg(&ctx->ac, ctx->cs_image[const_index]); in si_nir_load_sampler_desc()
/third_party/mesa3d/src/compiler/glsl/
Dast_array_index.cpp170 ir_constant *const const_index = idx->constant_expression_value(mem_ctx); in _mesa_ast_array_index_to_hir() local
171 if (const_index != NULL && idx->type->is_integer_32()) { in _mesa_ast_array_index_to_hir()
172 const int idx = const_index->value.i[0]; in _mesa_ast_array_index_to_hir()
215 } else if (const_index == NULL && array->type->is_array()) { in _mesa_ast_array_index_to_hir()
Dopt_algebraic.cpp67 int const_index,
253 ir_algebraic_visitor::reassociate_constant(ir_expression *ir1, int const_index, in reassociate_constant() argument
277 reassociate_operands(ir1, const_index, ir2, 1); in reassociate_constant()
280 reassociate_operands(ir1, const_index, ir2, 0); in reassociate_constant()
284 if (reassociate_constant(ir1, const_index, constant, in reassociate_constant()
290 if (reassociate_constant(ir1, const_index, constant, in reassociate_constant()
/third_party/mesa3d/src/intel/compiler/
Dbrw_vec4_gs_nir.cpp54 instr->const_index[0] + offset_reg, in nir_emit_intrinsic()
70 int stream_id = instr->const_index[0]; in nir_emit_intrinsic()
Dbrw_vec4_tcs.cpp258 unsigned imm_offset = instr->const_index[0]; in nir_emit_intrinsic()
276 unsigned imm_offset = instr->const_index[0]; in nir_emit_intrinsic()
289 unsigned mask = instr->const_index[1]; in nir_emit_intrinsic()
293 unsigned imm_offset = instr->const_index[0]; in nir_emit_intrinsic()
Dbrw_nir_lower_mem_access_bit_sizes.c61 dup->const_index[i] = intrin->const_index[i]; in dup_mem_intrinsic()
Dbrw_nir_attribute_workarounds.c45 uint8_t wa_flags = attrib_wa_flags[intrin->const_index[0]]; in apply_attr_wa_instr()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_nir.c1443 unsigned const_index; in visit_load_var() local
1466 &const_index, &indir_index); in visit_load_var()
1469 indir_vertex_index, const_index, indir_index, result); in visit_load_var()
1481 int writemask = instr->const_index[0]; in visit_store_var()
1484 unsigned const_index = 0; in visit_store_var() local
1491 &const_index, &indir_index); in visit_store_var()
1494 var, writemask, indir_vertex_index, const_index, in visit_store_var()
1554 int writemask = instr->const_index[0]; in visit_store_ssbo()
1605 unsigned const_index; in visit_load_image() local
1608 &const_index, &indir_index); in visit_load_image()
[all …]
Dlp_bld_nir.h147 unsigned const_index,
157 unsigned const_index,
229 unsigned const_index,
Dlp_bld_nir_soa.c356 unsigned const_index, in emit_load_var() argument
367 location += const_index; in emit_load_var()
369 location += const_index / 4; in emit_load_var()
370 location_frac += const_index % 4; in emit_load_var()
371 const_index = 0; in emit_load_var()
578 unsigned const_index, in emit_store_tcs_chan() argument
604 attrib_index_val = lp_build_const_int32(gallivm, const_index + location); in emit_store_tcs_chan()
608 attrib_index_val = lp_build_const_int32(gallivm, const_index + location); in emit_store_tcs_chan()
648 unsigned const_index, in emit_store_var() argument
666 location += const_index / 4; in emit_store_var()
[all …]
Dlp_bld_nir_aos.c126 unsigned const_index, in emit_load_var() argument
148 unsigned const_index, in emit_store_var() argument
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_program.c194 (instr->vtx.const_index - 20) * 3 + instr->vtx.const_index_sel; in patch_fetches()
314 instr->const_index = 26; in fd2_prog_init()
329 instr->const_index = 26; in fd2_prog_init()
338 instr->const_index = 26; in fd2_prog_init()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_subgroups.c44 intr->const_index[0] = intrin->const_index[0]; in lower_subgroups_64bit_split_intrinsic()
45 intr->const_index[1] = intrin->const_index[1]; in lower_subgroups_64bit_split_intrinsic()
132 chan_intrin->const_index[0] = intrin->const_index[0]; in lower_subgroup_op_to_scalar()
133 chan_intrin->const_index[1] = intrin->const_index[1]; in lower_subgroup_op_to_scalar()
Dnir_instr_set.c252 hash = XXH32(instr->const_index, info->num_indices * sizeof(instr->const_index[0]), hash); in hash_intrinsic()
747 if (intrinsic1->const_index[i] != intrinsic2->const_index[i]) in nir_instrs_equal()
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_optimize.c727 int const_index = -1; in peephole_mul_omod() local
772 if (const_index != -1) { in peephole_mul_omod()
776 const_index = i; in peephole_mul_omod()
780 if (!rc_src_reg_is_immediate(c, inst_mul->U.I.SrcReg[const_index].File, in peephole_mul_omod()
781 inst_mul->U.I.SrcReg[const_index].Index)) { in peephole_mul_omod()
785 inst_mul->U.I.SrcReg[const_index].Index, in peephole_mul_omod()
786 inst_mul->U.I.SrcReg[const_index].Swizzle, in peephole_mul_omod()
787 inst_mul->U.I.SrcReg[const_index].Negate, in peephole_mul_omod()
/third_party/ffmpeg/libavutil/
Deval.c169 int const_index; member
188 case e_const: return e->value * p->const_values[e->const_index]; in eval_expr()
370 d->const_index = i; in parse_primary()
481 d->const_index = i; in parse_primary()
491 d->const_index = i; in parse_primary()
750 if (e->type == type && e->const_index < size) in expr_count()
751 counter[e->const_index]++; in expr_count()
/third_party/spirv-tools/source/opt/
Ddesc_sroa.cpp108 const analysis::Constant* const_index = in ReplaceAccessChain() local
110 if (const_index == nullptr) { in ReplaceAccessChain()
116 uint32_t idx = const_index->GetU32(); in ReplaceAccessChain()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Ddesc_sroa.cpp108 const analysis::Constant* const_index = in ReplaceAccessChain() local
110 if (const_index == nullptr) { in ReplaceAccessChain()
116 uint32_t idx = const_index->GetU32(); in ReplaceAccessChain()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Ddesc_sroa.cpp108 const analysis::Constant* const_index = in ReplaceAccessChain() local
110 if (const_index == nullptr) { in ReplaceAccessChain()
116 uint32_t idx = const_index->GetU32(); in ReplaceAccessChain()
/third_party/python/Lib/
Ddis.py283 def _get_const_info(const_index, const_list): argument
290 argval = const_index
292 argval = const_list[const_index]
/third_party/libjpeg-turbo/simd/mips64/
Djdcolor-mmi.c38 enum const_index { enum
Djcgray-mmi.c37 enum const_index { enum
Djdmerge-mmi.c36 enum const_index { enum
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/simd/loongson/
Djdcolor-mmi.c38 enum const_index { enum

123