Home
last modified time | relevance | path

Searched refs:nvar (Results 1 – 12 of 12) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
Dnir_clone.c133 nir_constant_clone(const nir_constant *c, nir_variable *nvar) in nir_constant_clone() argument
135 nir_constant *nc = ralloc(nvar, nir_constant); in nir_constant_clone()
139 nc->elements = ralloc_array(nvar, nir_constant *, c->num_elements); in nir_constant_clone()
141 nc->elements[i] = nir_constant_clone(c->elements[i], nvar); in nir_constant_clone()
153 nir_variable *nvar = rzalloc(shader, nir_variable); in nir_variable_clone() local
155 nvar->type = var->type; in nir_variable_clone()
156 nvar->name = ralloc_strdup(nvar, var->name); in nir_variable_clone()
157 nvar->data = var->data; in nir_variable_clone()
158 nvar->num_state_slots = var->num_state_slots; in nir_variable_clone()
160 nvar->state_slots = ralloc_array(nvar, nir_state_slot, var->num_state_slots); in nir_variable_clone()
[all …]
Dnir_lower_io_to_temporaries.c292 nir_variable *nvar = ralloc(state->shader, nir_variable); in create_shadow_temp() local
293 memcpy(nvar, var, sizeof *nvar); in create_shadow_temp()
294 nvar->data.cannot_coalesce = true; in create_shadow_temp()
300 ralloc_steal(nvar, nvar->name); in create_shadow_temp()
302 assert(nvar->constant_initializer == NULL && nvar->pointer_initializer == NULL); in create_shadow_temp()
306 temp->name = ralloc_asprintf(var, "%s@%s-temp", mode, nvar->name); in create_shadow_temp()
312 return nvar; in create_shadow_temp()
Dnir_inline_functions.c70 nir_variable *nvar = nir_variable_clone(deref->var, b->shader); in nir_inline_function_impl() local
71 nir_shader_add_variable(b->shader, nvar); in nir_inline_function_impl()
73 deref->var, nvar); in nir_inline_function_impl()
Dnir_serialize.c184 read_constant(read_ctx *ctx, nir_variable *nvar) in read_constant() argument
186 nir_constant *c = ralloc(nvar, nir_constant); in read_constant()
190 c->elements = ralloc_array(nvar, nir_constant *, c->num_elements); in read_constant()
192 c->elements[i] = read_constant(ctx, nvar); in read_constant()
/third_party/boost/libs/yap/example/autodiff_library/
Dautodiff.cpp28 void hess_forward(Node* root, unsigned int nvar, double** hess_mat) in hess_forward() argument
30 assert(nvar == num_var); in hess_forward()
31 unsigned int len = (nvar+3)*nvar/2; in hess_forward()
DVNode.h38 void hess_forward(unsigned int nvar, double** ret_vec);
Dautodiff.h102 extern void hess_forward(Node* root, unsigned int nvar, double** hess_mat);
/third_party/boost/libs/yap/example/
Dautodiff_example.cpp700 void test_hess_forward(Node* root, unsigned int& nvar) in test_hess_forward() argument
702 AutoDiff::num_var = nvar; in test_hess_forward()
703 unsigned int len = (nvar+3)*nvar/2; in test_hess_forward()
705 hess_forward(root,nvar,&hess); in test_hess_forward()
/third_party/node/deps/npm/node_modules/es6-promise/dist/
Des6-promise.min.map1nvar _isArray = void 0;\nif (Array.isArray) {\n _isArray = Array.isArray;\n} else {\n _isArray =…
Des6-promise.auto.min.map1nvar _isArray = void 0;\nif (Array.isArray) {\n _isArray = Array.isArray;\n} else {\n _isArray =…
Des6-promise.auto.map1nvar _isArray = void 0;\nif (Array.isArray) {\n _isArray = Array.isArray;\n} else {\n _isArray =…
Des6-promise.map1nvar _isArray = void 0;\nif (Array.isArray) {\n _isArray = Array.isArray;\n} else {\n _isArray =…