Home
last modified time | relevance | path

Searched refs:nir_var_function_temp (Results 1 – 25 of 106) sorted by relevance

12345

/external/mesa3d/src/intel/compiler/
Dbrw_kernel.c83 nir_var_function_temp, data_type, 0); in implement_atomic_builtin()
111 nir_var_function_temp, glsl_uint_type(), 0); in implement_sub_group_ballot_builtin()
325 NIR_PASS_V(nir, nir_lower_variable_initializers, nir_var_function_temp); in brw_kernel_from_spirv()
347 nir_var_shader_temp | nir_var_function_temp | in brw_kernel_from_spirv()
356 nir_var_shader_temp | nir_var_function_temp | in brw_kernel_from_spirv()
397 nir_var_shader_temp | nir_var_function_temp | in brw_kernel_from_spirv()
427 nir_var_shader_temp | nir_var_function_temp | in brw_kernel_from_spirv()
661 nir_var_function_temp)); in brw_nir_from_spirv()
663 nir_var_mem_constant | nir_var_function_temp | nir_var_image, NULL); in brw_nir_from_spirv()
681 NIR_PASS_V(nir, nir_lower_variable_initializers, nir_var_function_temp); in brw_nir_from_spirv()
[all …]
Dbrw_nir_rt.c114 deref->modes = nir_var_function_temp; in lower_rt_io_derefs()
119 nir_var_function_temp, in lower_rt_io_derefs()
127 deref->modes = nir_var_function_temp; in lower_rt_io_derefs()
132 nir_var_function_temp, in lower_rt_io_derefs()
145 if (nir_deref_mode_is(deref, nir_var_function_temp) && in lower_rt_io_derefs()
204 nir_var_function_temp | in lower_rt_io_and_scratch()
216 nir_var_function_temp | in lower_rt_io_and_scratch()
Dbrw_nir.c711 OPT(nir_split_array_vars, nir_var_function_temp); in brw_nir_optimize()
712 OPT(nir_shrink_vec_array_vars, nir_var_function_temp); in brw_nir_optimize()
805 OPT(nir_remove_dead_variables, nir_var_function_temp, NULL); in brw_nir_optimize()
1034 OPT(nir_split_struct_vars, nir_var_function_temp); in brw_preprocess_nir()
1094 if (!(indirect_mask & nir_var_function_temp)) in brw_preprocess_nir()
1095 OPT(nir_lower_indirect_derefs, nir_var_function_temp, 16); in brw_preprocess_nir()
1577 nir_var_function_temp | in brw_vectorize_lower_mem_access()
1649 OPT(nir_lower_vars_to_explicit_types, nir_var_function_temp, in brw_postprocess_nir()
1651 OPT(nir_lower_explicit_io, nir_var_function_temp, in brw_postprocess_nir()
/external/mesa3d/src/compiler/nir/
Dnir_remove_dead_variables.c73 if ((deref->var->data.mode & (nir_var_function_temp | in add_var_use_deref()
191 if (modes & ~nir_var_function_temp) { in nir_remove_dead_variables()
197 if (modes & nir_var_function_temp) { in nir_remove_dead_variables()
200 nir_var_function_temp, in nir_remove_dead_variables()
Dnir_split_vars.c186 if (mode == nir_var_function_temp) { in init_field_for_type()
357 nir_variable_mode global_modes = modes & ~nir_var_function_temp; in nir_split_struct_vars()
370 if (modes & nir_var_function_temp) { in nir_split_struct_vars()
373 nir_var_function_temp, in nir_split_struct_vars()
572 if (mode == nir_var_function_temp) { in create_split_array_vars()
919 if (modes & (~nir_var_function_temp)) { in nir_split_array_vars()
931 if (modes & nir_var_function_temp) { in nir_split_array_vars()
934 nir_var_function_temp, in nir_split_array_vars()
954 if (modes & (~nir_var_function_temp)) { in nir_split_array_vars()
964 if (modes & nir_var_function_temp) { in nir_split_array_vars()
[all …]
Dnir_lower_const_arrays_to_uniforms.c274 deref->var->data.mode == nir_var_function_temp && in nir_lower_const_arrays_to_uniforms()
305 if (dst_deref && nir_deref_mode_must_be(dst_deref, nir_var_function_temp)) { in nir_lower_const_arrays_to_uniforms()
310 assert(var->data.mode == nir_var_function_temp); in nir_lower_const_arrays_to_uniforms()
329 if (src_deref && nir_deref_mode_must_be(src_deref, nir_var_function_temp)) { in nir_lower_const_arrays_to_uniforms()
334 assert(var->data.mode == nir_var_function_temp); in nir_lower_const_arrays_to_uniforms()
Dnir_opt_large_constants.c387 deref->var->data.mode == nir_var_function_temp && in nir_opt_large_constants()
420 if (dst_deref && nir_deref_mode_must_be(dst_deref, nir_var_function_temp)) { in nir_opt_large_constants()
425 assert(var->data.mode == nir_var_function_temp); in nir_opt_large_constants()
448 if (src_deref && nir_deref_mode_must_be(src_deref, nir_var_function_temp)) { in nir_opt_large_constants()
453 assert(var->data.mode == nir_var_function_temp); in nir_opt_large_constants()
540 if (!nir_deref_mode_is(deref, nir_var_function_temp)) in nir_opt_large_constants()
567 if (!nir_deref_mode_is(deref, nir_var_function_temp)) in nir_opt_large_constants()
Dnir_lower_variable_initializers.c101 nir_var_function_temp | in nir_lower_variable_initializers()
108 if ((modes & ~nir_var_function_temp) && func->is_entrypoint) { in nir_lower_variable_initializers()
114 if (modes & nir_var_function_temp) { in nir_lower_variable_initializers()
117 nir_var_function_temp); in nir_lower_variable_initializers()
Dnir_lower_io.c871 if (!(modes & ~(nir_var_function_temp | in nir_build_addr_iadd()
922 nir_var_shader_temp | nir_var_function_temp | in build_addr_for_var()
938 case nir_var_function_temp: in build_addr_for_var()
973 case nir_var_function_temp: in build_addr_for_var()
1006 case nir_var_function_temp: in build_runtime_addr_mode_check()
1317 assert(!(modes & ~(nir_var_function_temp | nir_var_shader_temp | in canonicalize_generic_modes()
1323 modes |= nir_var_function_temp; in canonicalize_generic_modes()
1372 } else if (modes & nir_var_function_temp) { in build_explicit_io_load()
1374 nir_var_function_temp)); in build_explicit_io_load()
1377 nir_var_function_temp, in build_explicit_io_load()
[all …]
Dnir_lower_vec3_to_vec4.c119 if (modes & ~nir_var_function_temp) { in nir_lower_vec3_to_vec4()
133 if (modes & nir_var_function_temp) { in nir_lower_vec3_to_vec4()
Dnir_opt_memcpy.c182 if (dst->modes == nir_var_function_temp && in try_lower_memcpy()
202 dst->modes == nir_var_function_temp && in try_lower_memcpy()
214 if (src->modes == nir_var_function_temp && in try_lower_memcpy()
Dnir_lower_vars_to_ssa.c226 if (!nir_deref_mode_must_be(deref, nir_var_function_temp)) in get_deref_node()
625 if (!nir_deref_mode_must_be(deref, nir_var_function_temp)) in rename_variables()
678 if (!nir_deref_mode_must_be(deref, nir_var_function_temp)) in rename_variables()
803 assert(path->path[0]->var->data.mode == nir_var_function_temp); in nir_lower_vars_to_ssa_impl()
Dnir_lower_global_vars_to_local.c89 var->data.mode = nir_var_function_temp; in nir_lower_global_vars_to_local()
Dnir_lower_locals_to_regs.c213 if (!nir_deref_mode_is(deref, nir_var_function_temp)) in lower_locals_to_regs_block()
245 if (!nir_deref_mode_is(deref, nir_var_function_temp)) in lower_locals_to_regs_block()
/external/mesa3d/src/compiler/nir/tests/
Dvars_tests.cpp36 if (mode == nir_var_function_temp) in create_var()
359 nir_variable *temp = create_int(nir_var_function_temp, "temp"); in TEST_F()
399 nir_variable **v = create_many_ivec2(nir_var_function_temp, "v", 2); in TEST_F()
425 nir_variable **v = create_many_ivec2(nir_var_function_temp, "v", 2); in TEST_F()
454 nir_variable **v = create_many_ivec2(nir_var_function_temp, "v", 2); in TEST_F()
487 nir_variable **v = create_many_ivec2(nir_var_function_temp, "v", 2); in TEST_F()
526 nir_variable **v = create_many_ivec2(nir_var_function_temp, "v", 2); in TEST_F()
1029 nir_variable **v = create_many_ivec2(nir_var_function_temp, "v", 2); in TEST_F()
1994 nir_variable *temp = create_var(nir_var_function_temp, glsl_array_type(glsl_int_type(), 4, 0), in TEST_F()
2004 bool progress = nir_split_array_vars(b->shader, nir_var_function_temp); in TEST_F()
[all …]
/external/mesa3d/src/asahi/clc/
Dasahi_clc.c154 NIR_PASS(progress, nir, nir_split_struct_vars, nir_var_function_temp); in optimize()
178 NIR_PASS(_, nir, nir_lower_variable_initializers, nir_var_function_temp); in compile()
197 nir_var_shader_temp | nir_var_function_temp | nir_var_mem_shared | in compile()
204 nir_var_uniform | nir_var_shader_temp | nir_var_function_temp | in compile()
216 nir_var_shader_temp | nir_var_function_temp | nir_var_mem_shared | in compile()
/external/mesa3d/src/gallium/frontends/clover/nir/
Dinvocation.cpp312 NIR_PASS_V(nir, nir_lower_variable_initializers, nir_var_function_temp); in spirv_to_nir()
325 NIR_PASS_V(nir, nir_lower_variable_initializers, ~nir_var_function_temp); in spirv_to_nir()
332 NIR_PASS_V(nir, nir_remove_dead_variables, nir_var_function_temp, NULL); in spirv_to_nir()
376 nir_var_function_temp, in spirv_to_nir()
395 NIR_PASS_V(nir, nir_lower_explicit_io, nir_var_function_temp, in spirv_to_nir()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_nir.c87 NIR_PASS(progress, nir, nir_split_array_vars, nir_var_function_temp); in si_nir_opts()
88 NIR_PASS(lower_alu_to_scalar, nir, nir_shrink_vec_array_vars, nir_var_function_temp); in si_nir_opts()
372 NIR_PASS_V(nir, nir_remove_dead_variables, nir_var_function_temp, NULL); in si_lower_nir()
480 NIR_PASS_V(nir, nir_remove_dead_variables, nir_var_function_temp, NULL); in si_finalize_nir()
/external/mesa3d/src/intel/compiler/elk/
Delk_nir_options.c50 .force_indirect_unrolling = nir_var_function_temp, \
Delk_nir.c617 OPT(nir_shrink_vec_array_vars, nir_var_function_temp); in elk_nir_optimize()
727 OPT(nir_remove_dead_variables, nir_var_function_temp, NULL); in elk_nir_optimize()
955 OPT(nir_split_struct_vars, nir_var_function_temp); in elk_preprocess_nir()
1018 if (is_scalar && !(indirect_mask & nir_var_function_temp)) in elk_preprocess_nir()
1019 OPT(nir_lower_indirect_derefs, nir_var_function_temp, 16); in elk_preprocess_nir()
1371 nir_var_function_temp | in elk_vectorize_lower_mem_access()
1444 OPT(nir_lower_vars_to_explicit_types, nir_var_function_temp, in elk_postprocess_nir()
1446 OPT(nir_lower_explicit_io, nir_var_function_temp, in elk_postprocess_nir()
/external/mesa3d/src/panfrost/compiler/
Dbifrost_compile.h99 (nir_var_shader_in | nir_var_shader_out | nir_var_function_temp), \
/external/mesa3d/src/panfrost/midgard/
Dmidgard_compile.h105 (nir_var_shader_in | nir_var_shader_out | nir_var_function_temp),
/external/mesa3d/src/nouveau/vulkan/
Dnvk_codegen.c107 NIR_PASS(_, nir, nir_split_struct_vars, nir_var_function_temp); in nvk_cg_preprocess_nir()
114 NIR_PASS(_, nir, nir_remove_dead_variables, nir_var_function_temp, NULL); in nvk_cg_preprocess_nir()
136 NIR_PASS(progress, nir, nir_split_array_vars, nir_var_function_temp); in nvk_cg_optimize_nir()
137 NIR_PASS(progress, nir, nir_shrink_vec_array_vars, nir_var_function_temp); in nvk_cg_optimize_nir()
179 nir_var_function_temp | nir_var_shader_in | nir_var_shader_out, NULL); in nvk_cg_optimize_nir()
263 uint32_t indirect_mask = nir_var_function_temp; in nak_cg_postprocess_nir()
/external/mesa3d/src/asahi/lib/
Dagx_nir_lower_tess.c199 NIR_PASS(_, nir, nir_lower_indirect_derefs, nir_var_function_temp, 64); in link_libagx()
201 NIR_PASS(_, nir, nir_lower_vars_to_explicit_types, nir_var_function_temp, in link_libagx()
206 nir_var_shader_temp | nir_var_function_temp | nir_var_mem_shared | in link_libagx()
/external/mesa3d/src/microsoft/clc/
Dclc_compiler.c728 NIR_PASS_V(nir, nir_lower_variable_initializers, nir_var_function_temp); in clc_spirv_to_dxil()
767 NIR_PASS_V(nir, nir_lower_variable_initializers, ~(nir_var_function_temp | nir_var_shader_temp)); in clc_spirv_to_dxil()
772 …NIR_PASS_V(nir, nir_lower_vars_to_explicit_types, nir_var_function_temp, glsl_get_cl_type_size_ali… in clc_spirv_to_dxil()
852 nir_var_mem_constant | nir_var_function_temp | nir_var_image, NULL); in clc_spirv_to_dxil()
887 … nir_var_mem_shared | nir_var_function_temp | nir_var_mem_global | nir_var_mem_constant, in clc_spirv_to_dxil()
930 …NIR_PASS_V(nir, dxil_nir_split_unaligned_loads_stores, nir_var_mem_shared | nir_var_function_temp); in clc_spirv_to_dxil()
936 nir_var_mem_shared | nir_var_function_temp | nir_var_uniform, in clc_spirv_to_dxil()

12345