Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/nir/
Dnir_lower_io_types.c51 nir_foreach_variable(nvar, list) { in get_new_var()
52 if (nvar->data.location == (var->data.location + off)) in get_new_var()
53 return nvar; in get_new_var()
64 nir_variable *nvar = nir_variable_create(state->shader, var->data.mode, in get_new_var() local
67 nvar->name = ralloc_asprintf(nvar, "%s@%u", var->name, off); in get_new_var()
68 nvar->data = var->data; in get_new_var()
69 nvar->data.location += off; in get_new_var()
72 exec_node_remove(&nvar->node); in get_new_var()
73 exec_node_self_link(&nvar->node); /* no delinit() :-( */ in get_new_var()
75 exec_list_push_tail(list, &nvar->node); in get_new_var()
[all …]
Dnir_lower_io_to_temporaries.c127 nir_variable *nvar = ralloc(state->shader, nir_variable); in create_shadow_temp() local
128 memcpy(nvar, var, sizeof *nvar); in create_shadow_temp()
134 ralloc_steal(nvar, nvar->name); in create_shadow_temp()
136 assert(nvar->constant_initializer == NULL); in create_shadow_temp()
140 temp->name = ralloc_asprintf(var, "%s@%s-temp", mode, nvar->name); in create_shadow_temp()
145 return nvar; in create_shadow_temp()
Dnir_clone.c129 nir_constant_clone(const nir_constant *c, nir_variable *nvar) in nir_constant_clone() argument
131 nir_constant *nc = ralloc(nvar, nir_constant); in nir_constant_clone()
135 nc->elements = ralloc_array(nvar, nir_constant *, c->num_elements); in nir_constant_clone()
137 nc->elements[i] = nir_constant_clone(c->elements[i], nvar); in nir_constant_clone()
149 nir_variable *nvar = rzalloc(shader, nir_variable); in nir_variable_clone() local
151 nvar->type = var->type; in nir_variable_clone()
152 nvar->name = ralloc_strdup(nvar, var->name); in nir_variable_clone()
153 nvar->data = var->data; in nir_variable_clone()
154 nvar->num_state_slots = var->num_state_slots; in nir_variable_clone()
155 nvar->state_slots = ralloc_array(nvar, nir_state_slot, var->num_state_slots); in nir_variable_clone()
[all …]
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/
DVarOptimizer.java230 PVariable nvar = function.getName(); in escapeNameOf() local
231 if (!(nvar instanceof ANameVariable)) { in escapeNameOf()
235 String name = ((ANameVariable) nvar).getWord().getText(); in escapeNameOf()
/external/syslinux/com32/lua/src/
Dldblib.c167 int nvar = luaL_checkint(L, arg+2); /* local-variable index */ in db_getlocal() local
170 lua_pushstring(L, lua_getlocal(L, NULL, nvar)); /* push local name */ in db_getlocal()
176 name = lua_getlocal(L1, &ar, nvar); in db_getlocal()