Searched refs:deref_type (Results 1 - 25 of 143) sorted by relevance

123456

/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_deref.c108 while (instr->deref_type != nir_deref_type_var) {
110 if (instr->deref_type == nir_deref_type_cast)
113 if ((instr->deref_type == nir_deref_type_array ||
114 instr->deref_type == nir_deref_type_ptr_as_array) &&
127 switch (deref->deref_type) {
172 assert(path.path[0]->deref_type == nir_deref_type_var);
176 if ((*p)->deref_type == nir_deref_type_array) {
179 } else if ((*p)->deref_type == nir_deref_type_struct) {
201 assert(path.path[0]->deref_type == nir_deref_type_var);
205 if ((*p)->deref_type
[all...]
H A Dnir_lower_locals_to_regs.c52 switch (deref->deref_type) {
76 if (a->deref_type != b->deref_type)
79 switch (a->deref_type) {
113 if (d->deref_type == nir_deref_type_array)
151 if (d->deref_type != nir_deref_type_array)
H A Dnir_opt_find_array_copies.c110 if (b->deref_type != d->deref_type)
113 switch (b->deref_type) {
180 assert(path->path[wildcard_idx]->deref_type == nir_deref_type_array);
242 if (dst_deref->deref_type == nir_deref_type_var)
H A Dnir_lower_var_copies.c43 if ((**deref_arr)->deref_type == nir_deref_type_array_wildcard)
71 assert((*dst_deref_arr)->deref_type == nir_deref_type_array_wildcard);
72 assert((*src_deref_arr)->deref_type == nir_deref_type_array_wildcard);
H A Dnir_remove_dead_variables.c67 if (deref->deref_type != nir_deref_type_var)
106 if (deref->deref_type == nir_deref_type_cast &&
111 if (deref->deref_type == nir_deref_type_var)
H A Dnir_lower_global_vars_to_local.c60 if (deref->deref_type == nir_deref_type_var)
H A Dnir_lower_indirect_derefs.c52 assert(deref->deref_type == nir_deref_type_array);
75 if (deref->deref_type == nir_deref_type_array &&
137 while (base && base->deref_type != nir_deref_type_var) {
138 if (base->deref_type == nir_deref_type_array &&
H A Dnir_split_per_member_structs.c127 if (deref->deref_type == nir_deref_type_var) {
141 if (deref->deref_type != nir_deref_type_struct)
146 base && base->deref_type != nir_deref_type_var;
150 if (base->deref_type == nir_deref_type_struct)
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_deref.c60 if (d->deref_type == nir_deref_type_cast && is_trivial_deref_cast(d))
83 if (d->deref_type == nir_deref_type_cast && is_trivial_deref_cast(d))
126 while (instr->deref_type != nir_deref_type_var) {
128 if (instr->deref_type == nir_deref_type_cast)
131 if ((instr->deref_type == nir_deref_type_array ||
132 instr->deref_type == nir_deref_type_ptr_as_array) &&
146 if (instr->deref_type == nir_deref_type_array &&
167 assert(use_deref->deref_type != nir_deref_type_var);
182 if (use_deref->deref_type != nir_deref_type_struct &&
183 use_deref->deref_type !
[all...]
H A Dnir_lower_samplers.c41 while (deref->deref_type != nir_deref_type_var) {
46 assert(deref->deref_type == nir_deref_type_array);
92 assert(deref->deref_type == nir_deref_type_var);
H A Dnir_split_per_member_structs.c109 if (deref->deref_type == nir_deref_type_var) {
123 if (deref->deref_type != nir_deref_type_struct)
128 base && base->deref_type != nir_deref_type_var;
132 if (base->deref_type == nir_deref_type_struct)
H A Dnir_lower_locals_to_regs.c52 switch (deref->deref_type) {
76 if (a->deref_type != b->deref_type)
79 switch (a->deref_type) {
114 if (d->deref_type == nir_deref_type_array)
152 if (d->deref_type != nir_deref_type_array)
H A Dnir_inline_helpers.h90 if (deref->deref_type != nir_deref_type_var) {
95 if (deref->deref_type == nir_deref_type_array ||
96 deref->deref_type == nir_deref_type_ptr_as_array) {
H A Dnir_lower_var_copies.c43 if ((**deref_arr)->deref_type == nir_deref_type_array_wildcard)
71 assert((*dst_deref_arr)->deref_type == nir_deref_type_array_wildcard);
72 assert((*src_deref_arr)->deref_type == nir_deref_type_array_wildcard);
H A Dnir_opt_find_array_copies.c92 switch (instr->deref_type) {
215 switch ((*deref)->deref_type) {
225 if ((*deref)->deref_type == nir_deref_type_array_wildcard ||
265 if (path->path[0]->deref_type == nir_deref_type_var) {
275 assert(path->path[0]->deref_type == nir_deref_type_cast);
284 assert(cast->deref_type == nir_deref_type_cast);
297 assert(path->path[wildcard_idx]->deref_type == nir_deref_type_array);
330 if (b->deref_type != d->deref_type)
333 switch (b->deref_type) {
[all...]
H A Dnir_remove_dead_variables.c67 if (deref->deref_type != nir_deref_type_var)
122 if (deref->deref_type == nir_deref_type_cast &&
127 if (deref->deref_type == nir_deref_type_var)
H A Dnir_lower_global_vars_to_local.c60 if (deref->deref_type == nir_deref_type_var)
H A Dnir_lower_indirect_derefs.c52 assert(deref->deref_type == nir_deref_type_array);
75 if (deref->deref_type == nir_deref_type_array &&
141 while (base && base->deref_type != nir_deref_type_var) {
143 if (base->deref_type == nir_deref_type_array &&
H A Dnir_lower_vars_to_ssa.c153 if (deref->deref_type == nir_deref_type_var)
156 if (deref->deref_type == nir_deref_type_cast)
167 switch (deref->deref_type) {
262 switch ((*path)->deref_type) {
308 assert(path->path[0]->deref_type == nir_deref_type_var);
325 switch ((*path)->deref_type) {
379 assert(path->path[0]->deref_type == nir_deref_type_var);
397 assert(deref->deref_type == nir_deref_type_var);
462 if (deref->deref_type == nir_deref_type_var &&
736 assert(path->path[0]->deref_type
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dgl_nir_lower_samplers.c46 while (deref->deref_type != nir_deref_type_var) {
51 assert(deref->deref_type == nir_deref_type_array);
77 assert(deref->deref_type == nir_deref_type_var);
H A Dgl_nir_lower_atomics.c115 for (nir_deref_instr *d = deref; d->deref_type != nir_deref_type_var;
117 assert(d->deref_type == nir_deref_type_array);
H A Dgl_nir_lower_samplers_as_deref.c96 switch (next->deref_type) {
133 assert(path.path[0]->deref_type == nir_deref_type_var);
196 if ((*p)->deref_type == nir_deref_type_struct)
199 assert((*p)->deref_type == nir_deref_type_array);
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_nir_lower_builtin.c78 assert(path->path[0]->deref_type == nir_deref_type_var);
84 if (path->path[idx]->deref_type == nir_deref_type_array)
91 if (path->path[idx]->deref_type != nir_deref_type_struct)
109 if (path->path[idx]->deref_type == nir_deref_type_array) {
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_nir_lower_builtin.c78 assert(path->path[0]->deref_type == nir_deref_type_var);
84 if (path->path[idx]->deref_type == nir_deref_type_array)
91 if (path->path[idx]->deref_type != nir_deref_type_struct)
109 if (path->path[idx]->deref_type == nir_deref_type_array) {
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dgl_nir_lower_atomics.c115 for (nir_deref_instr *d = deref; d->deref_type != nir_deref_type_var;
117 assert(d->deref_type == nir_deref_type_array);

Completed in 29 milliseconds

123456