Home
last modified time | relevance | path

Searched refs:lin_ctx (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/compiler/glsl/
Dopt_copy_propagation_elements.cpp207 lin_ctx = linear_alloc_parent(this, 0); in copy_propagation_state()
217 acp_entry *entry = new(lin_ctx) acp_entry(); in pull_acp()
254 void *lin_ctx; member in __anon556f318d0111::copy_propagation_state
280 this->lin_ctx = linear_alloc_parent(this->mem_ctx, 0); in ir_copy_propagation_elements_visitor()
320 void *lin_ctx; member in __anon556f318d0111::ir_copy_propagation_elements_visitor
379 k = new(this->lin_ctx) kill_entry(var, ir->write_mask); in visit_leave()
381 k = new(this->lin_ctx) kill_entry(var, ~0); in visit_leave()
523 kill(new(this->lin_ctx) kill_entry(ir->return_deref->var, ~0)); in visit_enter()
533 kill(new(this->lin_ctx) kill_entry(var, ~0)); in visit_enter()
Dopt_dead_code_local.cpp172 process_assignment(void *lin_ctx, ir_assignment *ir, exec_list *assignments) in process_assignment() argument
293 assignment_entry *entry = new(lin_ctx) assignment_entry(var, ir); in process_assignment()
320 void *lin_ctx = linear_alloc_parent(ctx, 0); in dead_code_local_basic_block() local
333 progress = process_assignment(lin_ctx, ir_assign, &assignments) || in dead_code_local_basic_block()
Dopt_constant_propagation.cpp87 this->lin_ctx = linear_alloc_parent(this->mem_ctx, 0); in ir_constant_propagation_visitor()
124 void *lin_ctx; member in __anona6fdf1600111::ir_constant_propagation_visitor
361 this->acp->push_tail(new(this->lin_ctx) acp_entry(a)); in handle_if_block()
412 this->acp->push_tail(new(this->lin_ctx) acp_entry(a)); in handle_loop()
516 entry = new(this->lin_ctx) acp_entry(deref->var, ir->write_mask, constant); in add_constant()
Dast_type.cpp695 void *lin_ctx = state->linalloc; in merge_into_in_qualifier() local
702 node = new(lin_ctx) ast_gs_input_layout(*loc, this->prim_type); in merge_into_in_qualifier()
776 node = new(lin_ctx) ast_cs_input_layout(*loc, in merge_into_in_qualifier()
/third_party/mesa3d/src/compiler/nir/
Dnir_opt_combine_stores.c79 void *lin_ctx; member
88 result = linear_zalloc_child(state->lin_ctx, sizeof(*result)); in alloc_combined_store()
456 .lin_ctx = linear_zalloc_parent(mem_ctx, 0), in nir_opt_combine_stores()
Dnir_opt_copy_prop_vars.c97 void *lin_ctx; member
127 linear_zalloc_child(state->lin_ctx, sizeof(struct vars_written)); in create_vars_written()
1299 .lin_ctx = linear_zalloc_parent(mem_ctx, 0), in nir_copy_prop_vars_impl()
/third_party/mesa3d/src/compiler/nir/tests/
Dvars_tests.cpp57 …nir_variable **result = (nir_variable **)linear_alloc_child(lin_ctx, sizeof(nir_variable *) * coun… in create_many_int()
59 result[i] = create_int(mode, linear_asprintf(lin_ctx, "%s%u", prefix, i)); in create_many_int()
64 …nir_variable **result = (nir_variable **)linear_alloc_child(lin_ctx, sizeof(nir_variable *) * coun… in create_many_ivec2()
66 result[i] = create_ivec2(mode, linear_asprintf(lin_ctx, "%s%u", prefix, i)); in create_many_ivec2()
71 …nir_variable **result = (nir_variable **)linear_alloc_child(lin_ctx, sizeof(nir_variable *) * coun… in create_many_ivec4()
73 result[i] = create_ivec4(mode, linear_asprintf(lin_ctx, "%s%u", prefix, i)); in create_many_ivec4()
95 void *lin_ctx; member in __anon5b162c880111::nir_vars_test
108 lin_ctx = linear_alloc_parent(b->shader, 0); in nir_vars_test()
/third_party/mesa3d/docs/relnotes/
D21.0.0.rst1076 - nir/builder_tests: Drop unused lin_ctx.