Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/compiler/glsl/
Dloop_unroll.cpp202 limit_if->then_instructions.get_tail(); in simple_unroll()
205 if (ir_if_last != limit_if->then_instructions.get_head()) in simple_unroll()
218 splice_post_if_instructions(limit_if, &limit_if->then_instructions); in simple_unroll()
309 ? &ir_if->then_instructions : &ir_if->else_instructions; in complex_unroll()
320 ? &ir_if->then_instructions : &ir_if->else_instructions; in complex_unroll()
372 if (term_if->then_instructions.get_head() == in exit_branch_has_instructions()
373 term_if->then_instructions.get_tail()) in exit_branch_has_instructions()
412 t->ir->then_instructions.get_tail(); in visit_leave()
416 branch_instructions = &t->ir->then_instructions; in visit_leave()
534 (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.cpp390 (ir_instruction *) ir_if->then_instructions.get_tail()); in lower_final_breaks()
536 block_records[0] = visit_block(&ir->then_instructions); in visit()
545 exec_list& list = i ? ir->else_instructions : ir->then_instructions; in visit()
768 exec_list* list = move_into ? &ir->else_instructions : &ir->then_instructions; in visit()
809 ir_after->insert_before(&ir_if->then_instructions); in visit()
827 move_outer_block_inside(ir, &if_execute->then_instructions); in visit()
910 break_if->then_instructions.push_tail(new(ir) ir_loop_jump(ir_loop_jump::jump_break)); in visit()
935 return_if->then_instructions.push_tail(new(ir) ir_loop_jump(ir_loop_jump::jump_break)); in visit()
948 return_if->then_instructions.push_tail(new(ir) ir_return(NULL)); in visit()
952 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.cpp249 foreach_in_list(ir_instruction, then_ir, &ir->then_instructions) { in visit_leave()
294 &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.cpp124 foreach_in_list(ir_instruction, ir, &this->then_instructions) { in clone()
125 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.cpp292 if_blending->then_instructions.push_tail(assign(result, src)); in calc_blend_result()
336 casefactory.instructions = &iff->then_instructions; in calc_blend_result()
Dast_to_hir.cpp1618 stmt->then_instructions.append_list(&rhs_instructions); in do_hir()
1622 stmt->then_instructions.push_tail(then_assign); in do_hir()
1655 stmt->then_instructions.push_tail(then_assign); in do_hir()
1855 exec_list then_instructions; in do_hir() local
1858 op[1] = this->subexpressions[1]->hir(&then_instructions, state); in do_hir()
1911 if (then_instructions.is_empty() in do_hir()
1929 then_instructions.move_nodes_to(& stmt->then_instructions); in do_hir()
1934 stmt->then_instructions.push_tail(then_assign); in do_hir()
6655 then_statement->hir(& stmt->then_instructions, state); in hir()
6809 clone_ir_list(ctx, &irif->then_instructions, in hir()
[all …]
Dir_hv_accept.cpp405 s = visit_list_elements(v, &this->then_instructions); in accept()
Dopt_constant_propagation.cpp382 handle_if_block(&ir->then_instructions, new_kills, &then_killed_all); in visit_enter()
Dopt_copy_propagation_elements.cpp573 handle_if_block(&ir->then_instructions, new_kills, &then_killed_all); in visit_enter()
Dir_builder_print_visitor.cpp646 s = visit_list_elements(this, &ir->then_instructions); in visit_enter()
Dir_print_visitor.cpp589 foreach_in_list(ir_instruction, inst, &ir->then_instructions) { in visit()
Dloop_analysis.cpp841 ir_instruction *inst = (ir_instruction *) ir->then_instructions.get_tail(); in try_add_loop_terminator()
Dir_constant_expression.cpp1145 … exec_list &branch = cond->get_bool_component(0) ? iif->then_instructions : iif->else_instructions; in constant_expression_evaluate_expression_list()
Dir.h1434 exec_list then_instructions; variable

12