Home
last modified time | relevance | path

Searched refs:then_instructions (Results 1 – 25 of 30) sorted by relevance

12

/external/mesa3d/src/compiler/glsl/
Dloop_unroll.cpp197 limit_if->then_instructions.get_tail(); in simple_unroll()
200 if (ir_if_last != limit_if->then_instructions.get_head()) in simple_unroll()
213 splice_post_if_instructions(limit_if, &limit_if->then_instructions); in simple_unroll()
303 ? &ir_if->then_instructions : &ir_if->else_instructions; in complex_unroll()
314 ? &ir_if->then_instructions : &ir_if->else_instructions; in complex_unroll()
366 if (term_if->then_instructions.get_head() == in exit_branch_has_instructions()
367 term_if->then_instructions.get_tail()) in exit_branch_has_instructions()
413 t->ir->then_instructions.get_tail(); in visit_leave()
417 branch_instructions = &t->ir->then_instructions; in visit_leave()
535 (ir_instruction *) ir_if->then_instructions.get_tail(); in visit_leave()
[all …]
Dopt_conditional_discard.cpp67 if (ir->then_instructions.is_empty() || in visit_leave()
68 !ir->then_instructions.get_head_raw()->next->is_tail_sentinel() || in visit_leave()
69 !((ir_instruction *) ir->then_instructions.get_head_raw())->as_discard() || in visit_leave()
74 ir_discard *discard = (ir_discard *) ir->then_instructions.get_head_raw(); in visit_leave()
Dopt_flatten_nested_if_blocks.cpp90 if (ir->then_instructions.is_empty() || !ir->else_instructions.is_empty()) in visit_leave()
93 ir_if *inner = ((ir_instruction *) ir->then_instructions.get_head_raw())->as_if(); in visit_leave()
99 inner->then_instructions.move_nodes_to(&ir->then_instructions); in visit_leave()
Dopt_if_simplification.cpp75 if (ir->then_instructions.is_empty() && in visit_leave()
94 ir->insert_before(&ir->then_instructions); in visit_leave()
119 if (ir->then_instructions.is_empty()) { in visit_leave()
122 ir->else_instructions.move_nodes_to(&ir->then_instructions); in visit_leave()
Dbuiltin_int64.h92 body.instructions = &f0013->then_instructions; in udivmod64()
115 body.instructions = &f001A->then_instructions; in udivmod64()
135 body.instructions = &f001C->then_instructions; in udivmod64()
162 body.instructions = &f0024->then_instructions; in udivmod64()
199 body.instructions = &f0028->then_instructions; in udivmod64()
219 body.instructions = &f002A->then_instructions; in udivmod64()
246 body.instructions = &f0032->then_instructions; in udivmod64()
306 body.instructions = &f003D->then_instructions; in udiv64()
329 body.instructions = &f0044->then_instructions; in udiv64()
349 body.instructions = &f0046->then_instructions; in udiv64()
[all …]
Dlower_jumps.cpp388 (ir_instruction *) ir_if->then_instructions.get_tail()); in lower_final_breaks()
534 block_records[0] = visit_block(&ir->then_instructions); in visit()
543 exec_list& list = i ? ir->else_instructions : ir->then_instructions; in visit()
766 exec_list* list = move_into ? &ir->else_instructions : &ir->then_instructions; in visit()
807 ir_after->insert_before(&ir_if->then_instructions); in visit()
825 move_outer_block_inside(ir, &if_execute->then_instructions); in visit()
908 break_if->then_instructions.push_tail(new(ir) ir_loop_jump(ir_loop_jump::jump_break)); in visit()
933 return_if->then_instructions.push_tail(new(ir) ir_loop_jump(ir_loop_jump::jump_break)); in visit()
946 return_if->then_instructions.push_tail(new(ir) ir_return(NULL)); in visit()
950 return_if->then_instructions.push_tail( in visit()
Dopt_redundant_jumps.cpp66 (ir_instruction *) ir->then_instructions.get_tail(); in visit_leave()
92 if (ir->then_instructions.is_empty() && ir->else_instructions.is_empty()) in visit_leave()
Dlower_if_to_cond_assign.cpp245 foreach_in_list(ir_instruction, then_ir, &ir->then_instructions) { in visit_leave()
290 &ir->then_instructions, in visit_leave()
Dir_basic_block.cpp71 call_for_basic_blocks(&ir_if->then_instructions, callback, data); in call_for_basic_blocks()
Dlower_discard.cpp170 ir_discard *then_discard = find_discard(ir->then_instructions); in visit_leave()
Dlower_discard_flow.cpp135 if_inst->then_instructions.push_tail(br); in generate_discard_break()
Dlower_variable_index_to_cond_assign.cpp291 ir_factory then_body(&if_less->then_instructions, body.mem_ctx); in bisect()
490 ir_factory then_body(&if_stmt->then_instructions, body.mem_ctx); in convert_dereference_array()
Dir_clone.cpp118 foreach_in_list(ir_instruction, ir, &this->then_instructions) { in clone()
119 new_if->then_instructions.push_tail(ir->clone(mem_ctx, ht)); in clone()
Dopt_vectorize.cpp331 visit_list_elements(this, &ir->then_instructions); in visit_enter()
Dir_builder.cpp628 result->then_instructions.push_tail(then_branch); in if_tree()
643 result->then_instructions.push_tail(then_branch); in if_tree()
Dlower_blend_equation_advanced.cpp291 if_blending->then_instructions.push_tail(assign(result, src)); in calc_blend_result()
336 casefactory.instructions = &iff->then_instructions; in calc_blend_result()
Dopt_copy_propagation.cpp253 handle_if_block(&ir->then_instructions); in visit_enter()
Dast_to_hir.cpp1601 stmt->then_instructions.append_list(&rhs_instructions); in do_hir()
1605 stmt->then_instructions.push_tail(then_assign); in do_hir()
1638 stmt->then_instructions.push_tail(then_assign); in do_hir()
1804 exec_list then_instructions; in do_hir() local
1807 op[1] = this->subexpressions[1]->hir(&then_instructions, state); in do_hir()
1858 if (then_instructions.is_empty() in do_hir()
1876 then_instructions.move_nodes_to(& stmt->then_instructions); in do_hir()
1881 stmt->then_instructions.push_tail(then_assign); in do_hir()
6338 then_statement->hir(& stmt->then_instructions, state); in hir()
6486 state->loop_nesting_ast->rest_expression->hir(&irif->then_instructions, in hir()
[all …]
Dir_hv_accept.cpp393 s = visit_list_elements(v, &this->then_instructions); in accept()
Dopt_constant_propagation.cpp399 handle_if_block(&ir->then_instructions); in visit_enter()
Dopt_copy_propagation_elements.cpp434 handle_if_block(&ir->then_instructions); in visit_enter()
Dloop_analysis.cpp795 ir_instruction *inst = (ir_instruction *) ir->then_instructions.get_tail(); in try_add_loop_terminator()
Dir_builder_print_visitor.cpp641 s = visit_list_elements(this, &ir->then_instructions); in visit_enter()
Dir_print_visitor.cpp574 foreach_in_list(ir_instruction, inst, &ir->then_instructions) { in visit()
Dir_constant_expression.cpp968 … exec_list &branch = cond->get_bool_component(0) ? iif->then_instructions : iif->else_instructions; in constant_expression_evaluate_expression_list()

12