Home
last modified time | relevance | path

Searched refs:ir_if (Results 1 – 25 of 43) sorted by relevance

12

/external/mesa3d/src/compiler/glsl/
Dloop_unroll.cpp48 void splice_post_if_instructions(ir_if *ir_if, exec_list *splice_dest);
197 ir_if *limit_if = NULL; in simple_unroll()
305 ir_if *ir_if = ((ir_instruction *) copy_list.get_tail())->as_if(); in complex_unroll() local
306 assert(ir_if != NULL); in complex_unroll()
309 ? &ir_if->then_instructions : &ir_if->else_instructions; in complex_unroll()
310 ir_if = ((ir_instruction *) first_list->get_tail())->as_if(); in complex_unroll()
320 ? &ir_if->then_instructions : &ir_if->else_instructions; in complex_unroll()
353 loop_unroll_visitor::splice_post_if_instructions(ir_if *ir_if, in splice_post_if_instructions() argument
356 while (!ir_if->get_next()->is_tail_sentinel()) { in splice_post_if_instructions()
357 ir_instruction *move_ir = (ir_instruction *) ir_if->get_next(); in splice_post_if_instructions()
[all …]
Dbuiltin_int64.h88 ir_if *f0013 = new(mem_ctx) ir_if(operand(r0016).val); in udivmod64()
111 ir_if *f001A = new(mem_ctx) ir_if(operand(r001B).val); in udivmod64()
131 ir_if *f001C = new(mem_ctx) ir_if(operand(r0021).val); in udivmod64()
158 ir_if *f0024 = new(mem_ctx) ir_if(operand(r0025).val); in udivmod64()
195 ir_if *f0028 = new(mem_ctx) ir_if(operand(r0029).val); in udivmod64()
215 ir_if *f002A = new(mem_ctx) ir_if(operand(r002F).val); in udivmod64()
242 ir_if *f0032 = new(mem_ctx) ir_if(operand(r0033).val); in udivmod64()
302 ir_if *f003D = new(mem_ctx) ir_if(operand(r0040).val); in udiv64()
325 ir_if *f0044 = new(mem_ctx) ir_if(operand(r0045).val); in udiv64()
345 ir_if *f0046 = new(mem_ctx) ir_if(operand(r004B).val); in udiv64()
[all …]
Dir_basic_block.cpp60 ir_if *ir_if; in call_for_basic_blocks() local
67 if ((ir_if = ir->as_if())) { in call_for_basic_blocks()
71 call_for_basic_blocks(&ir_if->then_instructions, callback, data); in call_for_basic_blocks()
72 call_for_basic_blocks(&ir_if->else_instructions, callback, data); in call_for_basic_blocks()
Dlower_jumps.cpp387 ir_if *ir_if = ir->as_if(); in lower_final_breaks() local
388 if (ir_if) { in lower_final_breaks()
390 (ir_instruction *) ir_if->then_instructions.get_tail()); in lower_final_breaks()
392 (ir_instruction *) ir_if->else_instructions.get_tail()); in lower_final_breaks()
520 virtual void visit(ir_if *ir) in visit()
804 ir_if* ir_if = ir_after->as_if(); in visit() local
805 if(ir_if && ir_if->else_instructions.is_empty()) { in visit()
806 … ir_dereference_variable* ir_if_cond_deref = ir_if->condition->as_dereference_variable(); in visit()
809 ir_after->insert_before(&ir_if->then_instructions); in visit()
826ir_if* if_execute = new(ir) ir_if(new(ir) ir_dereference_variable(this->loop.execute_flag)); in visit()
[all …]
Dlower_discard_flow.cpp69 ir_if *generate_discard_break();
128 ir_if *
132 ir_if *if_inst = new(mem_ctx) ir_if(if_condition); in generate_discard_break()
Dopt_flatten_nested_if_blocks.cpp56 ir_visitor_status visit_leave(ir_if *);
85 nested_if_flattener::visit_leave(ir_if *ir) in visit_leave()
93 ir_if *inner = ((ir_instruction *) ir->then_instructions.get_head_raw())->as_if(); in visit_leave()
Dlower_if_to_cond_assign.cpp88 ir_visitor_status visit_enter(ir_if *);
89 ir_visitor_status visit_leave(ir_if *);
177 ir_if *if_ir, ir_rvalue *cond_expr, in move_block_to_cond_assign()
223 ir_if_to_cond_assign_visitor::visit_enter(ir_if *) in visit_enter() argument
231 ir_if_to_cond_assign_visitor::visit_leave(ir_if *ir) in visit_leave()
Dir_rvalue_visitor.h44 ir_visitor_status rvalue_visit(ir_if *);
63 virtual ir_visitor_status visit_leave(ir_if *);
80 virtual ir_visitor_status visit_enter(ir_if *);
Dloop_analysis.cpp28 static void try_add_loop_terminator(loop_variable_state *ls, ir_if *ir);
220 ir_if *terminator) in incremented_before_terminator()
355 loop_variable_state::insert(ir_if *if_stmt, bool continue_from_then) in insert()
408 virtual ir_visitor_status visit_enter(ir_if *);
409 virtual ir_visitor_status visit_leave(ir_if *);
515 ir_if *if_stmt = ((ir_instruction *) node)->as_if(); in visit_leave()
616 ir_if *if_stmt = t->ir; in visit_leave()
678 loop_analysis::visit_enter(ir_if *ir) in visit_enter()
689 loop_analysis::visit_leave(ir_if *ir) in visit_leave()
833 try_add_loop_terminator(loop_variable_state *ls, ir_if *ir) in try_add_loop_terminator()
Dloop_analysis.h58 class loop_terminator *insert(ir_if *, bool continue_from_then);
197 loop_terminator(ir_if *ir, bool continue_from_then) in loop_terminator()
205 ir_if *ir;
Dopt_conditional_discard.cpp48 ir_visitor_status visit_leave(ir_if *);
64 opt_conditional_discard_visitor::visit_leave(ir_if *ir) in visit_leave()
Dopt_if_simplification.cpp43 ir_visitor_status visit_leave(ir_if *);
72 ir_if_simplification_visitor::visit_leave(ir_if *ir) in visit_leave()
Dopt_redundant_jumps.cpp40 virtual ir_visitor_status visit_leave(ir_if *);
59 redundant_jumps_visitor::visit_leave(ir_if *ir) in visit_leave()
Dlower_discard.cpp120 ir_visitor_status visit_leave(ir_if *);
168 lower_discard_visitor::visit_leave(ir_if *ir) in visit_leave()
Dir_rvalue_visitor.cpp154 ir_rvalue_base_visitor::rvalue_visit(ir_if *ir) in rvalue_visit()
229 ir_rvalue_visitor::visit_leave(ir_if *ir) in visit_leave()
301 ir_rvalue_enter_visitor::visit_enter(ir_if *ir) in visit_enter()
Dir_builder.cpp619 ir_if*
627 ir_if *result = new(mem_ctx) ir_if(condition.val); in if_tree()
632 ir_if*
642 ir_if *result = new(mem_ctx) ir_if(condition.val); in if_tree()
Dlower_variable_index_to_cond_assign.cpp289 ir_if *if_less = new(body.mem_ctx) ir_if(less(this->index, middle_c)); in bisect()
489 ir_if *if_stmt = new(mem_ctx) ir_if(orig_assign->condition); in convert_dereference_array()
Dir_hierarchical_visitor.h138 virtual ir_visitor_status visit_enter(class ir_if *);
139 virtual ir_visitor_status visit_leave(class ir_if *);
Dir_clone.cpp119 ir_if *
120 ir_if::clone(void *mem_ctx, struct hash_table *ht) const in clone()
122 ir_if *new_if = new(mem_ctx) ir_if(this->condition->clone(mem_ctx, ht)); in clone()
Dlower_vec_index_to_cond_assign.cpp73 virtual ir_visitor_status visit_enter(ir_if *);
225 ir_vec_index_to_cond_assign_visitor::visit_enter(ir_if *ir) in visit_enter()
Dopt_vectorize.cpp87 virtual ir_visitor_status visit_enter(ir_if *);
327 ir_vectorize_visitor::visit_enter(ir_if *ir) in visit_enter()
Dir_print_visitor.h67 virtual void visit(ir_if *);
Dlower_blend_equation_advanced.cpp290 ir_if *if_blending = new(mem_ctx) ir_if(is_mode(mode, BLEND_NONE)); in calc_blend_result()
334 ir_if *iff = new(mem_ctx) ir_if(is_mode(mode, choice)); in calc_blend_result()
Dir_hierarchical_visitor.cpp320 ir_hierarchical_visitor::visit_enter(ir_if *ir) in visit_enter()
329 ir_hierarchical_visitor::visit_leave(ir_if *ir) in visit_leave()
Dopt_tree_grafting.cpp76 virtual ir_visitor_status visit_enter(class ir_if *);
244 ir_tree_grafting_visitor::visit_enter(ir_if *ir) in visit_enter()

12