/external/mesa3d/src/compiler/glsl/ |
D | loop_unroll.cpp | 197 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 …]
|
D | opt_conditional_discard.cpp | 67 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()
|
D | opt_flatten_nested_if_blocks.cpp | 90 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()
|
D | opt_if_simplification.cpp | 75 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()
|
D | builtin_int64.h | 92 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 …]
|
D | lower_jumps.cpp | 388 (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()
|
D | opt_redundant_jumps.cpp | 66 (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()
|
D | lower_if_to_cond_assign.cpp | 245 foreach_in_list(ir_instruction, then_ir, &ir->then_instructions) { in visit_leave() 290 &ir->then_instructions, in visit_leave()
|
D | ir_basic_block.cpp | 71 call_for_basic_blocks(&ir_if->then_instructions, callback, data); in call_for_basic_blocks()
|
D | lower_discard.cpp | 170 ir_discard *then_discard = find_discard(ir->then_instructions); in visit_leave()
|
D | lower_discard_flow.cpp | 135 if_inst->then_instructions.push_tail(br); in generate_discard_break()
|
D | lower_variable_index_to_cond_assign.cpp | 291 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()
|
D | ir_clone.cpp | 118 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()
|
D | opt_vectorize.cpp | 331 visit_list_elements(this, &ir->then_instructions); in visit_enter()
|
D | ir_builder.cpp | 628 result->then_instructions.push_tail(then_branch); in if_tree() 643 result->then_instructions.push_tail(then_branch); in if_tree()
|
D | lower_blend_equation_advanced.cpp | 291 if_blending->then_instructions.push_tail(assign(result, src)); in calc_blend_result() 336 casefactory.instructions = &iff->then_instructions; in calc_blend_result()
|
D | opt_copy_propagation.cpp | 253 handle_if_block(&ir->then_instructions); in visit_enter()
|
D | ast_to_hir.cpp | 1601 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 …]
|
D | ir_hv_accept.cpp | 393 s = visit_list_elements(v, &this->then_instructions); in accept()
|
D | opt_constant_propagation.cpp | 399 handle_if_block(&ir->then_instructions); in visit_enter()
|
D | opt_copy_propagation_elements.cpp | 434 handle_if_block(&ir->then_instructions); in visit_enter()
|
D | loop_analysis.cpp | 795 ir_instruction *inst = (ir_instruction *) ir->then_instructions.get_tail(); in try_add_loop_terminator()
|
D | ir_builder_print_visitor.cpp | 641 s = visit_list_elements(this, &ir->then_instructions); in visit_enter()
|
D | ir_print_visitor.cpp | 574 foreach_in_list(ir_instruction, inst, &ir->then_instructions) { in visit()
|
D | ir_constant_expression.cpp | 968 … exec_list &branch = cond->get_bool_component(0) ? iif->then_instructions : iif->else_instructions; in constant_expression_evaluate_expression_list()
|