Home
last modified time | relevance | path

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

12

/external/mesa3d/src/glsl/
Dloop_unroll.cpp136 ir_if *ir_if = NULL; in visit_leave() local
144 ir_if = cur_ir->as_if(); in visit_leave()
145 if (ir_if != NULL) { in visit_leave()
155 (ir_instruction *) ir_if->then_instructions.get_tail(); in visit_leave()
163 (ir_instruction *) ir_if->else_instructions.get_tail(); in visit_leave()
178 while (!ir_if->get_next()->is_tail_sentinel()) { in visit_leave()
179 ir_instruction *move_ir = (ir_instruction *) ir_if->get_next(); in visit_leave()
183 ir_if->then_instructions.push_tail(move_ir); in visit_leave()
185 ir_if->else_instructions.push_tail(move_ir); in visit_leave()
201 ir_if = ((ir_instruction *) copy_list.get_tail())->as_if(); in visit_leave()
[all …]
Dlower_jumps.cpp379 ir_if *ir_if = ir->as_if(); in lower_final_breaks() local
380 if (ir_if) { in lower_final_breaks()
382 (ir_instruction *) ir_if->then_instructions.get_tail()); in lower_final_breaks()
384 (ir_instruction *) ir_if->else_instructions.get_tail()); in lower_final_breaks()
512 virtual void visit(ir_if *ir) in visit()
796 ir_if* ir_if = ir_after->as_if(); in visit() local
797 if(ir_if && ir_if->else_instructions.is_empty()) { in visit()
798 … ir_dereference_variable* ir_if_cond_deref = ir_if->condition->as_dereference_variable(); in visit()
801 ir_after->insert_before(&ir_if->then_instructions); in visit()
818ir_if* if_execute = new(ir) ir_if(new(ir) ir_dereference_variable(this->loop.execute_flag)); in visit()
[all …]
Dir_basic_block.cpp63 ir_if *ir_if; in call_for_basic_blocks() local
70 if ((ir_if = ir->as_if())) { in call_for_basic_blocks()
74 call_for_basic_blocks(&ir_if->then_instructions, callback, data); in call_for_basic_blocks()
75 call_for_basic_blocks(&ir_if->else_instructions, callback, data); in call_for_basic_blocks()
Dlower_discard_flow.cpp68 ir_if *generate_discard_break();
118 ir_if *
122 ir_if *if_inst = new(mem_ctx) ir_if(if_condition); in generate_discard_break()
Dloop_analysis.cpp28 static bool is_loop_terminator(ir_if *ir);
94 loop_variable_state::insert(ir_if *if_stmt) in insert()
119 virtual ir_visitor_status visit_enter(ir_if *);
120 virtual ir_visitor_status visit_leave(ir_if *);
247 ir_if *if_stmt = ((ir_instruction *) node)->as_if(); in visit_leave()
354 loop_analysis::visit_enter(ir_if *ir) in visit_enter()
365 loop_analysis::visit_leave(ir_if *ir) in visit_leave()
501 is_loop_terminator(ir_if *ir) in is_loop_terminator()
Dlower_if_to_cond_assign.cpp69 ir_visitor_status visit_enter(ir_if *);
70 ir_visitor_status visit_leave(ir_if *);
111 ir_if *if_ir, ir_rvalue *cond_expr, in move_block_to_cond_assign()
158 ir_if_to_cond_assign_visitor::visit_enter(ir_if *ir) in visit_enter()
167 ir_if_to_cond_assign_visitor::visit_leave(ir_if *ir) in visit_leave()
Dir_rvalue_visitor.h40 ir_visitor_status rvalue_visit(ir_if *);
56 virtual ir_visitor_status visit_leave(ir_if *);
70 virtual ir_visitor_status visit_enter(ir_if *);
Dopt_if_simplification.cpp42 ir_visitor_status visit_leave(ir_if *);
71 ir_if_simplification_visitor::visit_leave(ir_if *ir) in visit_leave()
Dlower_vec_index_to_cond_assign.cpp62 virtual ir_visitor_status visit_enter(ir_if *);
237 ir_if *if_stmt = new(mem_ctx) ir_if(ir->condition); in visit_leave()
278 ir_vec_index_to_cond_assign_visitor::visit_enter(ir_if *ir) in visit_enter()
Dir_rvalue_visitor.cpp139 ir_rvalue_base_visitor::rvalue_visit(ir_if *ir) in rvalue_visit()
195 ir_rvalue_visitor::visit_leave(ir_if *ir) in visit_leave()
249 ir_rvalue_enter_visitor::visit_enter(ir_if *ir) in visit_enter()
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.cpp118 ir_visitor_status visit_leave(ir_if *);
165 lower_discard_visitor::visit_leave(ir_if *ir) in visit_leave()
Dloop_analysis.h70 class loop_terminator *insert(ir_if *);
225 ir_if *ir;
Dlower_vec_index_to_swizzle.cpp56 virtual ir_visitor_status visit_enter(ir_if *);
160 ir_vec_index_to_swizzle_visitor::visit_enter(ir_if *ir) in visit_enter()
Dir_hierarchical_visitor.h135 virtual ir_visitor_status visit_enter(class ir_if *);
136 virtual ir_visitor_status visit_leave(class ir_if *);
Dlower_variable_index_to_cond_assign.cpp307 ir_if *if_less = new(this->mem_ctx) ir_if(less); in bisect()
461 ir_if *if_stmt = new(mem_ctx) ir_if(orig_assign->condition); in convert_dereference_array()
Dir_clone.cpp127 ir_if *
128 ir_if::clone(void *mem_ctx, struct hash_table *ht) const in clone()
130 ir_if *new_if = new(mem_ctx) ir_if(this->condition->clone(mem_ctx, ht)); in clone()
Dir_hierarchical_visitor.cpp273 ir_hierarchical_visitor::visit_enter(ir_if *ir) in visit_enter()
282 ir_hierarchical_visitor::visit_leave(ir_if *ir) in visit_leave()
Dopt_copy_propagation.cpp91 virtual ir_visitor_status visit_enter(class ir_if *);
242 ir_copy_propagation_visitor::visit_enter(ir_if *ir) in visit_enter()
Dir.h129 virtual class ir_if * as_if() { return NULL; } in as_if()
715 class ir_if : public ir_instruction {
717 ir_if(ir_rvalue *condition) in ir_if() function
723 virtual ir_if *clone(void *mem_ctx, struct hash_table *ht) const;
725 virtual ir_if *as_if() in as_if()
Dir_print_visitor.h72 virtual void visit(ir_if *);
Dopt_tree_grafting.cpp76 virtual ir_visitor_status visit_enter(class ir_if *);
245 ir_tree_grafting_visitor::visit_enter(ir_if *ir) in visit_enter()
Dir_visitor.h62 virtual void visit(class ir_if *) = 0;
Dopt_constant_propagation.cpp110 virtual ir_visitor_status visit_enter(class ir_if *);
343 ir_constant_propagation_visitor::visit_enter(ir_if *ir) in visit_enter()
Dopt_copy_propagation_elements.cpp113 virtual ir_visitor_status visit_enter(class ir_if *);
353 ir_copy_propagation_elements_visitor::visit_enter(ir_if *ir) in visit_enter()

12