Searched refs:dead_ctx (Results 1 – 4 of 4) sorted by relevance
/external/mesa3d/src/compiler/nir/ |
D | nir_split_var_copies.c | 66 void *dead_ctx; member 98 nir_deref_array *deref = nir_deref_array_create(state->dead_ctx); in split_var_copy_instr() 129 nir_deref_struct *deref = nir_deref_struct_create(state->dead_ctx, i); in split_var_copy_instr() 160 nir_deref_array *deref = nir_deref_array_create(state->dead_ctx); in split_var_copy_instr() 232 ralloc_steal(state->dead_ctx, instr); in split_var_copies_block() 241 ralloc_steal(state->dead_ctx, instr); in split_var_copies_block() 268 state.dead_ctx = ralloc_context(NULL); in split_var_copies_impl() 275 ralloc_free(state.dead_ctx); in split_var_copies_impl()
|
D | nir_lower_vars_to_ssa.c | 60 void *dead_ctx; member 123 node = deref_node_create(NULL, var->type, state->dead_ctx); in get_deref_node_for_var() 152 deref_node_create(node, tail->type, state->dead_ctx); in get_deref_node() 172 deref_node_create(node, tail->type, state->dead_ctx); in get_deref_node() 180 state->dead_ctx); in get_deref_node() 189 state->dead_ctx); in get_deref_node() 369 node->loads = _mesa_set_create(state->dead_ctx, _mesa_hash_pointer, in register_load_instr() 384 node->stores = _mesa_set_create(state->dead_ctx, _mesa_hash_pointer, in register_store_instr() 402 node->copies = _mesa_set_create(state->dead_ctx, _mesa_hash_pointer, in register_copy_instr() 646 state.dead_ctx = ralloc_context(state.shader); in nir_lower_vars_to_ssa_impl() [all …]
|
D | nir_from_ssa.c | 40 void *dead_ctx; member 128 merge_set *set = ralloc(state->dead_ctx, merge_set); in get_merge_node() 133 merge_node *node = ralloc(state->dead_ctx, merge_node); in get_merge_node() 228 add_parallel_copy_to_end_of_block(nir_block *block, void *dead_ctx) in add_parallel_copy_to_end_of_block() argument 250 nir_parallel_copy_instr_create(dead_ctx); in add_parallel_copy_to_end_of_block() 306 isolate_phi_nodes_block(nir_block *block, void *dead_ctx) in isolate_phi_nodes_block() argument 325 nir_parallel_copy_instr_create(dead_ctx); in isolate_phi_nodes_block() 340 nir_parallel_copy_entry *entry = rzalloc(dead_ctx, in isolate_phi_nodes_block() 354 nir_parallel_copy_entry *entry = rzalloc(dead_ctx, in isolate_phi_nodes_block() 506 ralloc_steal(state->dead_ctx, parent_instr); in rewrite_ssa_def() [all …]
|
D | nir_lower_phis_to_scalar.c | 37 void *dead_ctx; member 250 ralloc_steal(state->dead_ctx, phi); in lower_phis_to_scalar_block() 275 state.dead_ctx = ralloc_context(NULL); in lower_phis_to_scalar_impl() 276 state.phi_table = _mesa_hash_table_create(state.dead_ctx, _mesa_hash_pointer, in lower_phis_to_scalar_impl() 286 ralloc_free(state.dead_ctx); in lower_phis_to_scalar_impl()
|