Home
last modified time | relevance | path

Searched refs:push_tail (Results 1 – 25 of 49) sorted by relevance

12

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_cfg.cpp64 successor->parents.push_tail(::link(mem_ctx, this)); in add_successor()
65 children.push_tail(::link(mem_ctx, successor)); in add_successor()
185 cur->instructions.push_tail(inst); in cfg_t()
190 if_stack.push_tail(link(mem_ctx, cur_if)); in cfg_t()
191 else_stack.push_tail(link(mem_ctx, cur_else)); in cfg_t()
207 cur->instructions.push_tail(inst); in cfg_t()
230 cur->instructions.push_tail(inst); in cfg_t()
251 do_stack.push_tail(link(mem_ctx, cur_do)); in cfg_t()
252 while_stack.push_tail(link(mem_ctx, cur_while)); in cfg_t()
270 cur->instructions.push_tail(inst); in cfg_t()
[all …]
Dbrw_fs_combine_constants.cpp230 imm->uses->push_tail(link(const_ctx, &inst->src[i])); in opt_combine_constants()
239 imm->uses->push_tail(link(const_ctx, &inst->src[i])); in opt_combine_constants()
/external/mesa3d/src/compiler/glsl/
Dlower_shared_reference.cpp273 sig_params.push_tail(offset_ref); in shared_store()
277 sig_params.push_tail(val_ref); in shared_store()
281 sig_params.push_tail(writemask_ref); in shared_store()
293 call_params.push_tail(offset->clone(mem_ctx, NULL)); in shared_store()
294 call_params.push_tail(deref->clone(mem_ctx, NULL)); in shared_store()
295 call_params.push_tail(new(mem_ctx) ir_constant(write_mask)); in shared_store()
308 sig_params.push_tail(offset_ref); in shared_load()
326 call_params.push_tail(offset->clone(mem_ctx, NULL)); in shared_load()
388 sig_params.push_tail(sig_param); in lower_shared_atomic_intrinsic()
394 sig_params.push_tail(sig_param); in lower_shared_atomic_intrinsic()
[all …]
Dlower_ubo_reference.cpp434 sig_params.push_tail(block_ref); in ssbo_store()
438 sig_params.push_tail(offset_ref); in ssbo_store()
442 sig_params.push_tail(val_ref); in ssbo_store()
446 sig_params.push_tail(writemask_ref); in ssbo_store()
450 sig_params.push_tail(access_ref); in ssbo_store()
462 call_params.push_tail(this->uniform_block->clone(mem_ctx, NULL)); in ssbo_store()
463 call_params.push_tail(offset->clone(mem_ctx, NULL)); in ssbo_store()
464 call_params.push_tail(deref->clone(mem_ctx, NULL)); in ssbo_store()
465 call_params.push_tail(new(mem_ctx) ir_constant(write_mask)); in ssbo_store()
466 call_params.push_tail(new(mem_ctx) ir_constant(ssbo_access_params())); in ssbo_store()
[all …]
Dlower_vec_index_to_cond_assign.cpp96 list.push_tail(index); in convert_vec_index_to_cond_assign()
99 list.push_tail(assign); in convert_vec_index_to_cond_assign()
104 list.push_tail(value); in convert_vec_index_to_cond_assign()
107 list.push_tail(value_assign); in convert_vec_index_to_cond_assign()
112 list.push_tail(var); in convert_vec_index_to_cond_assign()
137 list.push_tail(assign); in convert_vec_index_to_cond_assign()
Dast_function.cpp54 actual_parameters->push_tail(result); in process_parameters()
374 before_instructions->push_tail(tmp); in fix_parameter()
391 before_instructions->push_tail(assignment); in fix_parameter()
418 after_instructions->push_tail(assignment_2); in fix_parameter()
536 instructions->push_tail(var); in generate_call()
545 instructions->push_tail(call); in generate_call()
1012 instructions->push_tail(var); in process_vec_mat_constructor()
1032 instructions->push_tail(assignment); in process_vec_mat_constructor()
1151 instructions->push_tail(var); in process_array_constructor()
1159 instructions->push_tail(assignment); in process_array_constructor()
[all …]
Dir_clone.cpp119 new_if->then_instructions.push_tail(ir->clone(mem_ctx, ht)); in clone()
123 new_if->else_instructions.push_tail(ir->clone(mem_ctx, ht)); in clone()
135 new_loop->body_instructions.push_tail(ir->clone(mem_ctx, ht)); in clone()
151 new_parameters.push_tail(ir->clone(mem_ctx, ht)); in clone()
301 copy->body.push_tail(inst_copy); in clone()
323 copy->parameters.push_tail(param_copy); in clone_prototype()
351 c->components.push_tail(orig->clone(mem_ctx, NULL)); in clone()
432 out->push_tail(copy); in clone_ir_list()
Dlower_packed_varyings.cpp295 shader->packed_varyings->push_tail(var->clone(shader, NULL)); in run()
344 this->out_variables->push_tail(t); in bitwise_assign_pack()
345 this->out_instructions->push_tail( in bitwise_assign_pack()
347 this->out_instructions->push_tail( in bitwise_assign_pack()
359 this->out_instructions->push_tail(new (this->mem_ctx) ir_assignment(lhs, rhs)); in bitwise_assign_pack()
393 this->out_variables->push_tail(t); in bitwise_assign_unpack()
394 this->out_instructions->push_tail( in bitwise_assign_unpack()
396 this->out_instructions->push_tail( in bitwise_assign_unpack()
408 this->out_instructions->push_tail(new(this->mem_ctx) ir_assignment(lhs, rhs)); in bitwise_assign_unpack()
Dloop_analysis.cpp129 this->variables.push_tail(lv); in insert()
142 this->terminators.push_tail(t); in insert()
311 ls->constants.push_tail(lv); in visit_leave()
348 ls->constants.push_tail(lv); in visit_leave()
388 ls->induction_variables.push_tail(lv); in visit_leave()
Dopt_copy_propagation_elements.cpp535 this->kills->push_tail(k); in kill()
605 lhs_list->push_tail(entry); in add_copy()
608 lhs_list->push_tail(entry); in add_copy()
616 rhs_list->push_tail(&entry->rhs_node); in add_copy()
619 rhs_list->push_tail(&entry->rhs_node); in add_copy()
Dlower_jumps.cpp310 inner_block->push_tail(move_ir); in move_outer_block_inside()
909 break_if->then_instructions.push_tail(new(ir) ir_loop_jump(ir_loop_jump::jump_break)); in visit()
910 ir->body_instructions.push_tail(break_if); in visit()
934 return_if->then_instructions.push_tail(new(ir) ir_loop_jump(ir_loop_jump::jump_break)); in visit()
947 return_if->then_instructions.push_tail(new(ir) ir_return(NULL)); in visit()
997 …ir->body.push_tail(new(ir) ir_return(new (ir) ir_dereference_variable(this->function.return_value)… in visit()
Dast_to_hir.cpp1008 instructions->push_tail(var); in do_assignment()
1009 instructions->push_tail(assign(var, rhs)); in do_assignment()
1013 instructions->push_tail(new(ctx) ir_assignment(lhs, deref_var)); in do_assignment()
1021 instructions->push_tail(new(ctx) ir_assignment(lhs, rhs)); in do_assignment()
1036 instructions->push_tail(var); in get_lvalue_copy()
1038 instructions->push_tail(new(ctx) ir_assignment(new(ctx) ir_dereference_variable(var), in get_lvalue_copy()
1561 instructions->push_tail(tmp); in do_hir()
1564 instructions->push_tail(stmt); in do_hir()
1570 stmt->then_instructions.push_tail(then_assign); in do_hir()
1575 stmt->else_instructions.push_tail(else_assign); in do_hir()
[all …]
Dlower_discard_flow.cpp109 ir->body_instructions.push_tail(generate_discard_break()); in visit_enter()
135 if_inst->then_instructions.push_tail(br); in generate_discard_break()
Dlink_functions.cpp122 linked->ir->push_tail(f); in visit_enter()
159 formal_parameters.push_tail(copy); in visit_enter()
169 linked_sig->body.push_tail(copy); in visit_enter()
Dglsl_parser.yy407 state->translation_unit.push_tail(& $1->link);
415 state->translation_unit.push_tail(& $2->link);
541 $$->expressions.push_tail(& $2->link);
547 $$->expressions.push_tail(& $3->link);
811 $$->expressions.push_tail(& $1->link);
816 $$->expressions.push_tail(& $3->link);
868 $$->parameters.push_tail(& $2->link);
873 $$->parameters.push_tail(& $3->link);
1028 $$->declarations.push_tail(&decl->link);
1038 $$->declarations.push_tail(&decl->link);
[all …]
Dlower_variable_index_to_cond_assign.cpp110 instructions->push_tail(condition); in compare_index_block()
114 instructions->push_tail(new(mem_ctx) ir_assignment(cond_deref, condition_val, 0)); in compare_index_block()
228 list->push_tail(assignment); in generate()
319 list->push_tail(if_less); in bisect()
Dir_function_detect_recursion.cpp214 this->current->callees.push_tail(node); in visit_enter()
220 target->callers.push_tail(node); in visit_enter()
Dir_builder.cpp34 instructions->push_tail(ir); in emit()
598 result->then_instructions.push_tail(then_branch); in if_tree()
613 result->then_instructions.push_tail(then_branch); in if_tree()
614 result->else_instructions.push_tail(else_branch); in if_tree()
Dloop_unroll.cpp261 list->push_tail(ir_to_replace); in complex_unroll()
299 splice_dest->push_tail(move_ir); in splice_post_if_instructions()
Dopt_dead_functions.cpp83 this->signature_list.push_tail(entry); in get_signature_entry()
Dopt_constant_propagation.cpp365 this->acp->push_tail(new(this->lin_ctx) acp_entry(a)); in handle_if_block()
505 this->acp->push_tail(entry); in add_constant()
Dlower_subroutine.cpp73 new_parameters.push_tail(ir->clone(mem_ctx, NULL)); in call_clone()
Dir_reader.cpp185 instructions->push_tail(f); in scan_for_prototypes()
260 hir_parameters.push_tail(var); in read_function_sig()
331 instructions->push_tail(ir); in read_instructions()
677 parameters.push_tail(param); in read_call()
814 elements.push_tail(ir_elt); in read_constant()
/external/mesa3d/src/compiler/glsl/tests/
Dvaryings_test.cpp125 ir.push_tail(v); in TEST_F()
153 ir.push_tail(clipdistance); in TEST_F()
180 ir.push_tail(culldistance); in TEST_F()
202 ir.push_tail(v); in TEST_F()
226 ir.push_tail(v); in TEST_F()
235 ir.push_tail(iface); in TEST_F()
266 ir.push_tail(in_v); in TEST_F()
308 ir.push_tail(in_v); in TEST_F()
Dinvalidate_locations_test.cpp73 ir.push_tail(var); in TEST_F()
96 ir.push_tail(var); in TEST_F()
120 ir.push_tail(var); in TEST_F()
143 ir.push_tail(var); in TEST_F()
165 ir.push_tail(var); in TEST_F()
188 ir.push_tail(var); in TEST_F()

12