Searched refs:lin_ctx (Results 1 - 15 of 15) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dopt_dead_code_local.cpp172 process_assignment(void *lin_ctx, ir_assignment *ir, exec_list *assignments) argument
293 assignment_entry *entry = new(lin_ctx) assignment_entry(var, ir);
320 void *lin_ctx = linear_alloc_parent(ctx, 0); local in function:dead_code_local_basic_block
333 progress = process_assignment(lin_ctx, ir_assign, &assignments) ||
H A Dopt_copy_propagation_elements.cpp207 lin_ctx = linear_alloc_parent(this, 0);
217 acp_entry *entry = new(lin_ctx) acp_entry();
254 void *lin_ctx; member in class:__anon3d49c3040110::copy_propagation_state
280 this->lin_ctx = linear_alloc_parent(this->mem_ctx, 0);
320 void *lin_ctx; member in class:__anon3d49c3040110::ir_copy_propagation_elements_visitor
379 k = new(this->lin_ctx) kill_entry(var, ir->write_mask);
381 k = new(this->lin_ctx) kill_entry(var, ~0);
523 kill(new(this->lin_ctx) kill_entry(ir->return_deref->var, ~0));
533 kill(new(this->lin_ctx) kill_entry(var, ~0));
H A Dopt_constant_propagation.cpp87 this->lin_ctx = linear_alloc_parent(this->mem_ctx, 0);
124 void *lin_ctx; member in class:__anonb352fc770110::ir_constant_propagation_visitor
361 this->acp->push_tail(new(this->lin_ctx) acp_entry(a));
412 this->acp->push_tail(new(this->lin_ctx) acp_entry(a));
516 entry = new(this->lin_ctx) acp_entry(deref->var, ir->write_mask, constant);
H A Dast_type.cpp695 void *lin_ctx = state->linalloc; local in function:ast_type_qualifier::merge_into_in_qualifier
702 node = new(lin_ctx) ast_gs_input_layout(*loc, this->prim_type);
776 node = new(lin_ctx) ast_cs_input_layout(*loc,
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dopt_dead_code_local.cpp170 process_assignment(void *lin_ctx, ir_assignment *ir, exec_list *assignments) argument
291 assignment_entry *entry = new(lin_ctx) assignment_entry(var, ir);
318 void *lin_ctx = linear_alloc_parent(ctx, 0); local in function:dead_code_local_basic_block
331 progress = process_assignment(lin_ctx, ir_assign, &assignments) ||
H A Dopt_copy_propagation_elements.cpp207 lin_ctx = linear_alloc_parent(this, 0);
217 acp_entry *entry = new(lin_ctx) acp_entry();
254 void *lin_ctx; member in class:__anon073c3d110110::copy_propagation_state
280 this->lin_ctx = linear_alloc_parent(this->mem_ctx, 0);
320 void *lin_ctx; member in class:__anon073c3d110110::ir_copy_propagation_elements_visitor
379 k = new(this->lin_ctx) kill_entry(var, ir->write_mask);
381 k = new(this->lin_ctx) kill_entry(var, ~0);
523 kill(new(this->lin_ctx) kill_entry(ir->return_deref->var, ~0));
533 kill(new(this->lin_ctx) kill_entry(var, ~0));
H A Dopt_constant_propagation.cpp87 this->lin_ctx = linear_alloc_parent(this->mem_ctx, 0);
124 void *lin_ctx; member in class:__anon6f50ba640110::ir_constant_propagation_visitor
352 this->acp->push_tail(new(this->lin_ctx) acp_entry(a));
403 this->acp->push_tail(new(this->lin_ctx) acp_entry(a));
507 entry = new(this->lin_ctx) acp_entry(deref->var, ir->write_mask, constant);
H A Dast_type.cpp694 void *lin_ctx = state->linalloc; local in function:ast_type_qualifier::merge_into_in_qualifier
701 node = new(lin_ctx) ast_gs_input_layout(*loc, this->prim_type);
775 node = new(lin_ctx) ast_cs_input_layout(*loc,
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_opt_combine_stores.c79 void *lin_ctx; member in struct:combine_stores_state
88 result = linear_zalloc_child(state->lin_ctx, sizeof(*result));
456 .lin_ctx = linear_zalloc_parent(mem_ctx, 0),
H A Dnir_opt_copy_prop_vars.c97 void *lin_ctx; member in struct:copy_prop_var_state
127 linear_zalloc_child(state->lin_ctx, sizeof(struct vars_written));
1299 .lin_ctx = linear_zalloc_parent(mem_ctx, 0),
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_opt_combine_stores.c79 void *lin_ctx; member in struct:combine_stores_state
88 result = linear_zalloc_child(state->lin_ctx, sizeof(*result));
385 .lin_ctx = linear_zalloc_parent(mem_ctx, 0),
H A Dnir_opt_copy_prop_vars.c97 void *lin_ctx; member in struct:copy_prop_var_state
127 linear_zalloc_child(state->lin_ctx, sizeof(struct vars_written));
1115 .lin_ctx = linear_zalloc_parent(mem_ctx, 0),
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/tests/
H A Dvars_tests.cpp57 nir_variable **result = (nir_variable **)linear_alloc_child(lin_ctx, sizeof(nir_variable *) * count);
59 result[i] = create_int(mode, linear_asprintf(lin_ctx, "%s%u", prefix, i));
64 nir_variable **result = (nir_variable **)linear_alloc_child(lin_ctx, sizeof(nir_variable *) * count);
66 result[i] = create_ivec2(mode, linear_asprintf(lin_ctx, "%s%u", prefix, i));
71 nir_variable **result = (nir_variable **)linear_alloc_child(lin_ctx, sizeof(nir_variable *) * count);
73 result[i] = create_ivec4(mode, linear_asprintf(lin_ctx, "%s%u", prefix, i));
83 void *lin_ctx; member in class:__anone793a10c0110::nir_vars_test
91 lin_ctx = linear_alloc_parent(mem_ctx, 0);
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/tests/
H A Dvars_tests.cpp57 nir_variable **result = (nir_variable **)linear_alloc_child(lin_ctx, sizeof(nir_variable *) * count);
59 result[i] = create_int(mode, linear_asprintf(lin_ctx, "%s%u", prefix, i));
64 nir_variable **result = (nir_variable **)linear_alloc_child(lin_ctx, sizeof(nir_variable *) * count);
66 result[i] = create_ivec2(mode, linear_asprintf(lin_ctx, "%s%u", prefix, i));
71 nir_variable **result = (nir_variable **)linear_alloc_child(lin_ctx, sizeof(nir_variable *) * count);
73 result[i] = create_ivec4(mode, linear_asprintf(lin_ctx, "%s%u", prefix, i));
95 void *lin_ctx; member in class:__anon563169bf0110::nir_vars_test
108 lin_ctx = linear_alloc_parent(b->shader, 0);
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D21.0.0.rst1076 - nir/builder_tests: Drop unused lin_ctx.

Completed in 33 milliseconds