Lines Matching defs:found
142 nir_function *found = NULL;
148 found = funcs;
152 /* if not found here find in clc shader and create a decl mirroring it */
153 if (!found && b->options->clc_shader && b->options->clc_shader != b->shader) {
156 found = funcs;
160 if (found) {
162 decl->num_params = found->num_params;
165 decl->params[i] = found->params[i];
167 found = decl;
170 if (!found)
173 return found;
185 nir_function *found = mangle_and_find(b, name, const_mask, num_srcs, src_types);
186 if (!found)
189 nir_call_instr *call = nir_call_instr_create(b->shader, found);