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

12345

/xsrc/external/mit/MesaLib/dist/src/amd/common/
H A Dac_nir.c36 NIR_PASS(progress, shader, nir_lower_vars_to_scratch, nir_var_function_temp, 256,
63 indirect_mask |= nir_var_function_temp;
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_lower_variable_initializers.c102 nir_var_function_temp |
114 if ((modes & ~nir_var_function_temp) && function->is_entrypoint) {
120 if (modes & nir_var_function_temp) {
123 nir_var_function_temp);
H A Dnir_remove_dead_variables.c73 if ((deref->var->data.mode & (nir_var_function_temp |
196 if (modes & ~nir_var_function_temp) {
201 if (modes & nir_var_function_temp) {
205 nir_var_function_temp,
H A Dnir_opt_large_constants.c208 deref->var->data.mode == nir_var_function_temp &&
241 if (dst_deref && nir_deref_mode_must_be(dst_deref, nir_var_function_temp)) {
246 assert(var->data.mode == nir_var_function_temp);
269 if (src_deref && nir_deref_mode_must_be(src_deref, nir_var_function_temp)) {
274 assert(var->data.mode == nir_var_function_temp);
354 if (!nir_deref_mode_is(deref, nir_var_function_temp))
375 if (!nir_deref_mode_is(deref, nir_var_function_temp))
H A Dnir_lower_vec3_to_vec4.c31 if (modes & nir_var_function_temp) {
149 if (modes & ~nir_var_function_temp) {
H A Dnir_lower_global_vars_to_local.c95 var->data.mode = nir_var_function_temp;
H A Dnir_lower_io.c822 if (!(modes & ~(nir_var_function_temp |
867 nir_var_shader_temp | nir_var_function_temp |
882 case nir_var_function_temp:
913 case nir_var_function_temp:
942 case nir_var_function_temp:
1182 assert(!(modes & ~(nir_var_function_temp | nir_var_shader_temp |
1188 modes |= nir_var_function_temp;
1210 } else if (modes & nir_var_function_temp) {
1212 nir_var_function_temp));
1215 nir_var_function_temp,
[all...]
H A Dnir_split_vars.c147 if (mode == nir_var_function_temp) {
314 assert((modes & (nir_var_shader_temp | nir_var_function_temp)) == modes);
332 if (modes & nir_var_function_temp) {
335 nir_var_function_temp,
534 if (mode == nir_var_function_temp) {
878 assert((modes & (nir_var_shader_temp | nir_var_function_temp)) == modes);
896 if (modes & nir_var_function_temp) {
899 nir_var_function_temp,
932 if (modes & nir_var_function_temp) {
935 nir_var_function_temp,
[all...]
H A Dnir_lower_locals_to_regs.c196 if (!nir_deref_mode_is(deref, nir_var_function_temp))
222 if (!nir_deref_mode_is(deref, nir_var_function_temp))
/xsrc/external/mit/MesaLib/dist/src/panfrost/bifrost/
H A Dbifrost_compile.h96 .force_indirect_unrolling = (nir_var_shader_in | nir_var_shader_out | nir_var_function_temp),
/xsrc/external/mit/MesaLib/dist/src/panfrost/midgard/
H A Dmidgard_compile.h100 .force_indirect_unrolling = (nir_var_shader_in | nir_var_shader_out | nir_var_function_temp),
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_opt_large_constants.c199 if (dst_deref && dst_deref->mode == nir_var_function_temp) {
201 assert(var->data.mode == nir_var_function_temp);
213 if (src_deref && src_deref->mode == nir_var_function_temp) {
215 assert(var->data.mode == nir_var_function_temp);
261 if (deref->mode != nir_var_function_temp)
279 if (deref->mode != nir_var_function_temp)
295 if (deref->mode != nir_var_function_temp)
H A Dnir_lower_global_vars_to_local.c94 var->data.mode = nir_var_function_temp;
H A Dnir_remove_dead_variables.c74 if (!(deref->mode & (nir_var_function_temp | nir_var_shader_temp | nir_var_mem_shared)) ||
189 if (modes & nir_var_function_temp) {
H A Dnir_lower_constant_initializers.c112 if (modes & nir_var_function_temp)
H A Dnir_lower_locals_to_regs.c195 if (deref->mode != nir_var_function_temp)
221 if (deref->mode != nir_var_function_temp)
H A Dnir_opt_find_array_copies.c222 if (dst_deref->mode != nir_var_function_temp)
270 if (!(src_deref->mode & (nir_var_function_temp | read_only_modes)))
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/lima/
H A Dlima_program.c113 nir_var_function_temp);
118 NIR_PASS_V(s, nir_remove_dead_variables, nir_var_function_temp);
150 nir_var_function_temp);
160 NIR_PASS_V(s, nir_remove_dead_variables, nir_var_function_temp);
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_nir_rt.c117 deref->modes = nir_var_function_temp;
122 nir_var_function_temp,
130 deref->modes = nir_var_function_temp;
135 nir_var_function_temp,
148 if (nir_deref_mode_is(deref, nir_var_function_temp) &&
207 nir_var_function_temp |
219 nir_var_function_temp |
H A Dbrw_shader.h169 indirect_mask |= nir_var_function_temp;
H A Dbrw_nir.c535 OPT(nir_split_array_vars, nir_var_function_temp);
536 OPT(nir_shrink_vec_array_vars, nir_var_function_temp);
632 OPT(nir_remove_dead_variables, nir_var_function_temp, NULL);
803 OPT(nir_split_struct_vars, nir_var_function_temp);
859 if (is_scalar && !(indirect_mask & nir_var_function_temp))
860 OPT(nir_lower_indirect_derefs, nir_var_function_temp, 16);
1080 OPT(nir_lower_vars_to_explicit_types, nir_var_function_temp,
1082 OPT(nir_lower_explicit_io, nir_var_function_temp,
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/tests/
H A Dvars_tests.cpp38 if (mode == nir_var_function_temp)
374 nir_variable *temp = create_int(nir_var_function_temp, "temp");
416 nir_variable **v = create_many_ivec2(nir_var_function_temp, "v", 2);
443 nir_variable **v = create_many_ivec2(nir_var_function_temp, "v", 2);
473 nir_variable **v = create_many_ivec2(nir_var_function_temp, "v", 2);
506 nir_variable **v = create_many_ivec2(nir_var_function_temp, "v", 2);
545 nir_variable **v = create_many_ivec2(nir_var_function_temp, "v", 2);
1049 nir_variable **v = create_many_ivec2(nir_var_function_temp, "v", 2);
1819 nir_variable *temp = create_var(nir_var_function_temp, glsl_array_type(glsl_int_type(), 4, 0),
1829 bool progress = nir_split_array_vars(b->shader, nir_var_function_temp);
[all...]
/xsrc/external/mit/MesaLib/dist/src/asahi/compiler/
H A Dagx_compile.h216 .force_indirect_unrolling = (nir_var_shader_in | nir_var_shader_out | nir_var_function_temp),
/xsrc/external/mit/MesaLib/dist/src/microsoft/spirv_to_dxil/
H A Dspirv_to_dxil.c239 nir_variable_mode nir_var_function_temp = local in function:spirv_to_dxil
242 nir_var_function_temp);
247 ~nir_var_function_temp);
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/nir/
H A Dinvocation.cpp445 NIR_PASS_V(nir, nir_lower_variable_initializers, nir_var_function_temp);
462 NIR_PASS_V(nir, nir_lower_variable_initializers, ~nir_var_function_temp);
470 NIR_PASS_V(nir, nir_remove_dead_variables, nir_var_function_temp, NULL);
509 nir_var_function_temp,
528 NIR_PASS_V(nir, nir_lower_explicit_io, nir_var_function_temp,

Completed in 58 milliseconds

12345