Home
last modified time | relevance | path

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

12345

/aosp_15_r20/external/mesa3d/src/intel/compiler/
H A Dbrw_kernel.c84 nir_var_function_temp, data_type, 0); in implement_atomic_builtin()
112 nir_var_function_temp, glsl_uint_type(), 0); in implement_sub_group_ballot_builtin()
337 NIR_PASS_V(nir, nir_lower_variable_initializers, nir_var_function_temp); in brw_kernel_from_spirv()
359 nir_var_shader_temp | nir_var_function_temp | in brw_kernel_from_spirv()
368 nir_var_shader_temp | nir_var_function_temp | in brw_kernel_from_spirv()
409 nir_var_shader_temp | nir_var_function_temp | in brw_kernel_from_spirv()
439 nir_var_shader_temp | nir_var_function_temp | in brw_kernel_from_spirv()
653 nir_var_function_temp)); in brw_nir_from_spirv()
655 nir_var_mem_constant | nir_var_function_temp | nir_var_image, NULL); in brw_nir_from_spirv()
673 NIR_PASS_V(nir, nir_lower_variable_initializers, nir_var_function_temp); in brw_nir_from_spirv()
[all …]
H A 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()
125 deref->modes = nir_var_function_temp; in lower_rt_io_derefs()
130 nir_var_function_temp, in lower_rt_io_derefs()
141 if (nir_deref_mode_is(deref, nir_var_function_temp) && in lower_rt_io_derefs()
199 nir_var_function_temp | in lower_rt_io_and_scratch()
211 nir_var_function_temp | in lower_rt_io_and_scratch()
H A Dbrw_nir.c753 LOOP_OPT(nir_split_array_vars, nir_var_function_temp); in brw_nir_optimize()
754 LOOP_OPT(nir_shrink_vec_array_vars, nir_var_function_temp); in brw_nir_optimize()
848 OPT(nir_remove_dead_variables, nir_var_function_temp, NULL); in brw_nir_optimize()
1083 OPT(nir_split_struct_vars, nir_var_function_temp); in brw_preprocess_nir()
1141 if (!(indirect_mask & nir_var_function_temp)) in brw_preprocess_nir()
1142 OPT(nir_lower_indirect_derefs, nir_var_function_temp, 16); in brw_preprocess_nir()
1621 nir_var_function_temp | in brw_vectorize_lower_mem_access()
1697 OPT(nir_lower_vars_to_explicit_types, nir_var_function_temp, in brw_postprocess_nir()
1699 OPT(nir_lower_explicit_io, nir_var_function_temp, in brw_postprocess_nir()
/aosp_15_r20/external/mesa3d/src/compiler/nir/tests/
H A 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 …]
/aosp_15_r20/external/mesa3d/src/compiler/nir/
H A 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()
571 if (mode == nir_var_function_temp) { in create_split_array_vars()
918 if (modes & (~nir_var_function_temp)) { in nir_split_array_vars()
930 if (modes & nir_var_function_temp) { in nir_split_array_vars()
933 nir_var_function_temp, in nir_split_array_vars()
953 if (modes & (~nir_var_function_temp)) { in nir_split_array_vars()
963 if (modes & nir_var_function_temp) { in nir_split_array_vars()
[all …]
H A Dnir_lower_io.c903 if (!(modes & ~(nir_var_function_temp | in nir_build_addr_iadd()
954 nir_var_shader_temp | nir_var_function_temp | in build_addr_for_var()
970 case nir_var_function_temp: in build_addr_for_var()
1005 case nir_var_function_temp: in build_addr_for_var()
1038 case nir_var_function_temp: in build_runtime_addr_mode_check()
1349 assert(!(modes & ~(nir_var_function_temp | nir_var_shader_temp | in canonicalize_generic_modes()
1355 modes |= nir_var_function_temp; in canonicalize_generic_modes()
1404 } else if (modes & nir_var_function_temp) { in build_explicit_io_load()
1406 nir_var_function_temp)); in build_explicit_io_load()
1409 nir_var_function_temp, in build_explicit_io_load()
[all …]
H A 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()
H A 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()
564 if (!nir_deref_mode_is(deref, nir_var_function_temp)) in nir_opt_large_constants()
H A 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()
H A Dnir_lower_variable_initializers.c104 nir_var_function_temp | in nir_lower_variable_initializers()
111 if ((modes & ~nir_var_function_temp) && func->is_entrypoint) { in nir_lower_variable_initializers()
117 if (modes & nir_var_function_temp) { in nir_lower_variable_initializers()
120 nir_var_function_temp); in nir_lower_variable_initializers()
H A Dnir_functions.c66 deref->modes & nir_var_function_temp) { in fixup_cast_deref_mode()
68 deref->modes ^= nir_var_function_temp; in fixup_cast_deref_mode()
113 if (deref->var->data.mode == nir_var_function_temp) in nir_inline_function_impl()
336 if (deref->var->data.mode == nir_var_function_temp) in lower_calls_vars_instr()
H A 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()
H A 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()
H A 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()
677 if (!nir_deref_mode_must_be(deref, nir_var_function_temp)) in rename_variables()
802 assert(path->path[0]->var->data.mode == nir_var_function_temp); in nir_lower_vars_to_ssa_impl()
H A Dnir_opt_find_array_copies.c559 if (!nir_deref_mode_may_be(dst_deref, nir_var_function_temp)) in opt_find_array_copies_block()
562 if (!nir_deref_mode_must_be(dst_deref, nir_var_function_temp)) { in opt_find_array_copies_block()
604 !nir_deref_mode_must_be(src_deref, nir_var_function_temp | in opt_find_array_copies_block()
H A 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()
/aosp_15_r20/external/mesa3d/src/gallium/frontends/clover/nir/
H A Dinvocation.cpp325 NIR_PASS_V(nir, nir_lower_variable_initializers, nir_var_function_temp); in spirv_to_nir()
338 NIR_PASS_V(nir, nir_lower_variable_initializers, ~nir_var_function_temp); in spirv_to_nir()
345 NIR_PASS_V(nir, nir_remove_dead_variables, nir_var_function_temp, NULL); in spirv_to_nir()
389 nir_var_function_temp, in spirv_to_nir()
408 NIR_PASS_V(nir, nir_lower_explicit_io, nir_var_function_temp, in spirv_to_nir()
/aosp_15_r20/external/mesa3d/src/asahi/clc/
H A Dasahi_clc.c173 NIR_PASS(progress, nir, nir_split_struct_vars, nir_var_function_temp); in optimize()
197 NIR_PASS(_, nir, nir_lower_variable_initializers, nir_var_function_temp); in compile()
216 nir_var_shader_temp | nir_var_function_temp | nir_var_mem_shared | in compile()
223 nir_var_uniform | nir_var_shader_temp | nir_var_function_temp | in compile()
235 nir_var_shader_temp | nir_var_function_temp | nir_var_mem_shared | in compile()
/aosp_15_r20/external/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_shader_nir.c94 NIR_PASS(progress, nir, nir_split_array_vars, nir_var_function_temp); in si_nir_opts()
95 NIR_PASS(lower_alu_to_scalar, nir, nir_shrink_vec_array_vars, nir_var_function_temp); in si_nir_opts()
369 NIR_PASS_V(nir, nir_remove_dead_variables, nir_var_function_temp, NULL); in si_lower_nir()
477 NIR_PASS_V(nir, nir_remove_dead_variables, nir_var_function_temp, NULL); in si_finalize_nir()
/aosp_15_r20/external/mesa3d/src/intel/compiler/elk/
H A Delk_nir.c611 OPT(nir_shrink_vec_array_vars, nir_var_function_temp); in elk_nir_optimize()
718 OPT(nir_remove_dead_variables, nir_var_function_temp, NULL); in elk_nir_optimize()
931 OPT(nir_split_struct_vars, nir_var_function_temp); in elk_preprocess_nir()
994 if (is_scalar && !(indirect_mask & nir_var_function_temp)) in elk_preprocess_nir()
995 OPT(nir_lower_indirect_derefs, nir_var_function_temp, 16); in elk_preprocess_nir()
1311 nir_var_function_temp | in elk_vectorize_lower_mem_access()
1372 OPT(nir_lower_vars_to_explicit_types, nir_var_function_temp, in elk_postprocess_nir()
1374 OPT(nir_lower_explicit_io, nir_var_function_temp, in elk_postprocess_nir()
/aosp_15_r20/external/mesa3d/src/nouveau/compiler/
H A Dnak_nir.c111 OPT(nir, nir_split_array_vars, nir_var_function_temp); in optimize_nir()
113 OPT(nir, nir_shrink_vec_array_vars, nir_var_function_temp); in optimize_nir()
173 OPT(nir, nir_remove_dead_variables, nir_var_function_temp, NULL); in optimize_nir()
322 OPT(nir, nir_split_struct_vars, nir_var_function_temp); in nak_preprocess_nir()
900 OPT(nir, nir_lower_vars_to_explicit_types, nir_var_function_temp, in nak_postprocess_nir()
902 OPT(nir, nir_lower_explicit_io, nir_var_function_temp, in nak_postprocess_nir()
/aosp_15_r20/external/mesa3d/src/nouveau/vulkan/
H A Dnvk_codegen.c108 NIR_PASS(_, nir, nir_split_struct_vars, nir_var_function_temp); in nvk_cg_preprocess_nir()
115 NIR_PASS(_, nir, nir_remove_dead_variables, nir_var_function_temp, NULL); in nvk_cg_preprocess_nir()
137 NIR_PASS(progress, nir, nir_split_array_vars, nir_var_function_temp); in nvk_cg_optimize_nir()
138 NIR_PASS(progress, nir, nir_shrink_vec_array_vars, nir_var_function_temp); in nvk_cg_optimize_nir()
180 nir_var_function_temp | nir_var_shader_in | nir_var_shader_out, NULL); in nvk_cg_optimize_nir()
264 uint32_t indirect_mask = nir_var_function_temp; in nak_cg_postprocess_nir()
/aosp_15_r20/external/mesa3d/src/asahi/lib/
H A Dagx_nir_lower_tess.c187 NIR_PASS(_, nir, nir_lower_indirect_derefs, nir_var_function_temp, 64); in link_libagx()
189 NIR_PASS(_, nir, nir_lower_vars_to_explicit_types, nir_var_function_temp, in link_libagx()
194 nir_var_shader_temp | nir_var_function_temp | nir_var_mem_shared | in link_libagx()
/aosp_15_r20/external/mesa3d/src/microsoft/clc/
H A Dclc_compiler.c830 NIR_PASS_V(nir, nir_lower_variable_initializers, nir_var_function_temp); in clc_spirv_to_dxil()
869 NIR_PASS_V(nir, nir_lower_variable_initializers, ~(nir_var_function_temp | nir_var_shader_temp)); in clc_spirv_to_dxil()
874 …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()
928 nir_var_mem_constant | nir_var_function_temp | nir_var_image, NULL); in clc_spirv_to_dxil()
932 … nir_var_mem_shared | nir_var_function_temp | nir_var_mem_global | nir_var_mem_constant, in clc_spirv_to_dxil()
977 …NIR_PASS_V(nir, dxil_nir_split_unaligned_loads_stores, nir_var_mem_shared | nir_var_function_temp); in clc_spirv_to_dxil()
1040 nir_var_mem_shared | nir_var_function_temp | nir_var_uniform, in clc_spirv_to_dxil()
/aosp_15_r20/external/mesa3d/src/microsoft/spirv_to_dxil/
H A Ddxil_spirv_nir.c119 NIR_PASS_V(nir, nir_lower_variable_initializers, nir_var_function_temp); in dxil_spirv_nir_prep()
1080 NIR_PASS_V(nir, nir_remove_dead_variables, nir_var_function_temp, NULL); in dxil_spirv_nir_passes()
1081 NIR_PASS_V(nir, nir_split_struct_vars, nir_var_function_temp); in dxil_spirv_nir_passes()
1082 NIR_PASS_V(nir, dxil_nir_flatten_var_arrays, nir_var_function_temp); in dxil_spirv_nir_passes()
1083 NIR_PASS_V(nir, dxil_nir_lower_var_bit_size, nir_var_function_temp, in dxil_spirv_nir_passes()

12345