Home
last modified time | relevance | path

Searched refs:param_idx (Results 1 – 11 of 11) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
Dnir_inline_functions.c84 unsigned param_idx = nir_intrinsic_param_idx(load); in nir_inline_function_impl() local
85 assert(param_idx < impl->function->num_params); in nir_inline_function_impl()
88 params[param_idx]); in nir_inline_function_impl()
Dnir_builder.h1654 nir_load_param(nir_builder *build, uint32_t param_idx) in nir_load_param() argument
1656 assert(param_idx < build->impl->function->num_params); in nir_load_param()
1657 nir_parameter *param = &build->impl->function->params[param_idx]; in nir_load_param()
1658 return nir_build_load_param(build, param->num_components, param->bit_size, param_idx); in nir_load_param()
Dnir_validate.c603 unsigned param_idx = nir_intrinsic_param_idx(instr); in validate_intrinsic_instr() local
604 validate_assert(state, param_idx < state->impl->function->num_params); in validate_intrinsic_instr()
605 nir_parameter *param = &state->impl->function->params[param_idx]; in validate_intrinsic_instr()
/third_party/mesa3d/src/compiler/spirv/
Dvtn_cfg.c58 unsigned *param_idx) in glsl_type_add_to_function_params() argument
61 func->params[(*param_idx)++] = (nir_parameter) { in glsl_type_add_to_function_params()
69 glsl_type_add_to_function_params(elem_type,func, param_idx); in glsl_type_add_to_function_params()
75 glsl_type_add_to_function_params(elem_type, func, param_idx); in glsl_type_add_to_function_params()
84 unsigned *param_idx) in vtn_ssa_value_add_to_call_params() argument
87 call->params[(*param_idx)++] = nir_src_for_ssa(value->def); in vtn_ssa_value_add_to_call_params()
92 call, param_idx); in vtn_ssa_value_add_to_call_params()
100 unsigned *param_idx) in vtn_ssa_value_load_function_param() argument
103 value->def = nir_load_param(&b->nb, (*param_idx)++); in vtn_ssa_value_load_function_param()
107 vtn_ssa_value_load_function_param(b, value->elems[i], param_idx); in vtn_ssa_value_load_function_param()
[all …]
Dvtn_opencl.c191 uint32_t param_idx = 0; in call_mangled_function() local
197 call->params[param_idx++] = nir_src_for_ssa(&ret_deref->dest.ssa); in call_mangled_function()
201 call->params[param_idx++] = nir_src_for_ssa(srcs[i]); in call_mangled_function()
/third_party/mindspore/mindspore/ccsrc/fl/server/
Dcommon.h242 inline AddressPtr GenerateParameterNodeAddrPtr(const CNodePtr &kernel_node, size_t param_idx) { in GenerateParameterNodeAddrPtr() argument
245 …AnfAlgo::VisitKernelWithReturnType(AnfAlgo::GetInputNode(kernel_node, param_idx), 0).first->cast<P… in GenerateParameterNodeAddrPtr()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/
Dinline_pass.cpp130 int param_idx = 0; in MapParams() local
132 [&call_inst_itr, &param_idx, &callee2caller](const ir::Instruction* cpi) { in MapParams()
135 kSpvFunctionCallArgumentId + param_idx); in MapParams()
136 ++param_idx; in MapParams()
/third_party/spirv-tools/source/opt/
Dinline_pass.cpp144 int param_idx = 0; in MapParams() local
146 [&call_inst_itr, &param_idx, &callee2caller](const Instruction* cpi) { in MapParams()
149 kSpvFunctionCallArgumentId + param_idx); in MapParams()
150 ++param_idx; in MapParams()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dinline_pass.cpp144 int param_idx = 0; in MapParams() local
146 [&call_inst_itr, &param_idx, &callee2caller](const Instruction* cpi) { in MapParams()
149 kSpvFunctionCallArgumentId + param_idx); in MapParams()
150 ++param_idx; in MapParams()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dinline_pass.cpp144 int param_idx = 0; in MapParams() local
146 [&call_inst_itr, &param_idx, &callee2caller](const Instruction* cpi) { in MapParams()
149 kSpvFunctionCallArgumentId + param_idx); in MapParams()
150 ++param_idx; in MapParams()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm.c702 for (unsigned param_idx = 0; param_idx < num_params; ++param_idx) { in si_build_wrapper_function() local
709 param = LLVMGetParam(parts[part], param_idx); in si_build_wrapper_function()
715 ac_add_function_attr(ctx->ac.context, parts[part], param_idx + 1, AC_FUNC_ATTR_INREG); in si_build_wrapper_function()
743 in[param_idx] = arg; in si_build_wrapper_function()