/external/chromium_org/third_party/mesa/src/src/glsl/tests/lower_jumps/ |
lower_guarded_conditional_break.opt_test.expected | 7 ((declare (temporary) bool execute_flag) 8 (assign (x) (var_ref execute_flag) (constant bool (1))) 11 ((assign (x) (var_ref execute_flag) (constant bool (0)))) 14 (if (var_ref execute_flag) 17 (assign (x) (var_ref execute_flag) (constant bool (0))))
|
lower_returns_3.opt_test.expected | 4 ((declare (temporary) bool execute_flag) 5 (assign (x) (var_ref execute_flag) (constant bool (1))) 13 (assign (x) (var_ref execute_flag) (constant bool (0)))) 16 (if (var_ref execute_flag) 19 (assign (x) (var_ref execute_flag) (constant bool (0))))
|
lower_unified_returns.opt_test.expected | 5 ((declare (temporary) bool execute_flag) 6 (assign (x) (var_ref execute_flag) (constant bool (1))) 12 (assign (x) (var_ref execute_flag) (constant bool (0)))) 15 (if (var_ref execute_flag) 19 (assign (x) (var_ref execute_flag) (constant bool (0))))
|
lower_breaks_6.opt_test.expected | 9 ((declare (temporary) bool execute_flag) 10 (assign (x) (var_ref execute_flag) (constant bool (1))) 14 ((assign (x) (var_ref execute_flag) (constant bool (0)))) 17 (if (var_ref execute_flag) 21 (assign (x) (var_ref execute_flag) (constant bool (0)))) 26 (if (var_ref execute_flag)
|
lower_returns_main_true.opt_test.expected | 4 ((declare (temporary) bool execute_flag) 5 (assign (x) (var_ref execute_flag) (constant bool (1))) 11 (assign (x) (var_ref execute_flag) (constant bool (0))))
|
lower_returns_sub_true.opt_test.expected | 4 ((declare (temporary) bool execute_flag) 5 (assign (x) (var_ref execute_flag) (constant bool (1))) 11 (assign (x) (var_ref execute_flag) (constant bool (0))))
|
lower_returns_4.opt_test.expected | 4 ((declare (temporary) bool execute_flag) 5 (assign (x) (var_ref execute_flag) (constant bool (1))) 12 (assign (x) (var_ref execute_flag) (constant bool (0)))) 15 (assign (x) (var_ref execute_flag) (constant bool (0)))))
|
return_non_void_at_end_of_loop_lower_return.opt_test.expected | 4 ((declare (temporary) bool execute_flag) 5 (assign (x) (var_ref execute_flag) (constant bool (1))) 18 (assign (x) (var_ref execute_flag) (constant bool (0)))))
|
return_non_void_at_end_of_loop_lower_return_and_break.opt_test.expected | 4 ((declare (temporary) bool execute_flag) 5 (assign (x) (var_ref execute_flag) (constant bool (1))) 18 (assign (x) (var_ref execute_flag) (constant bool (0)))))
|
lower_pulled_out_jump.opt_test.expected | 6 ((declare (temporary) bool execute_flag) 7 (assign (x) (var_ref execute_flag) (constant bool (1))) 13 (assign (x) (var_ref execute_flag) (constant bool (0)))) 16 (if (var_ref execute_flag)
|
lower_guarded_conditional_break.opt_test | 7 # an if(execute_flag) because of earlier lowering of continues,
|
create_test_cases.py | 167 initialize the temporary boolean execute_flag. 169 return declare_temp('bool', 'execute_flag') + \ 170 assign_x('execute_flag', const_bool(True)) 210 assign_x('execute_flag', const_bool(False)) 216 return assign_x('execute_flag', const_bool(False)) 230 return lowered_break_simple() + assign_x('execute_flag', const_bool(False)) 234 execute_flag is True. 237 return [['if', ['var_ref', 'execute_flag'], statements, []]] 546 an if(execute_flag) because of earlier lowering of continues,
|
/external/mesa3d/src/glsl/tests/lower_jumps/ |
lower_guarded_conditional_break.opt_test.expected | 7 ((declare (temporary) bool execute_flag) 8 (assign (x) (var_ref execute_flag) (constant bool (1))) 11 ((assign (x) (var_ref execute_flag) (constant bool (0)))) 14 (if (var_ref execute_flag) 17 (assign (x) (var_ref execute_flag) (constant bool (0))))
|
lower_returns_3.opt_test.expected | 4 ((declare (temporary) bool execute_flag) 5 (assign (x) (var_ref execute_flag) (constant bool (1))) 13 (assign (x) (var_ref execute_flag) (constant bool (0)))) 16 (if (var_ref execute_flag) 19 (assign (x) (var_ref execute_flag) (constant bool (0))))
|
lower_unified_returns.opt_test.expected | 5 ((declare (temporary) bool execute_flag) 6 (assign (x) (var_ref execute_flag) (constant bool (1))) 12 (assign (x) (var_ref execute_flag) (constant bool (0)))) 15 (if (var_ref execute_flag) 19 (assign (x) (var_ref execute_flag) (constant bool (0))))
|
lower_breaks_6.opt_test.expected | 9 ((declare (temporary) bool execute_flag) 10 (assign (x) (var_ref execute_flag) (constant bool (1))) 14 ((assign (x) (var_ref execute_flag) (constant bool (0)))) 17 (if (var_ref execute_flag) 21 (assign (x) (var_ref execute_flag) (constant bool (0)))) 26 (if (var_ref execute_flag)
|
lower_returns_main_true.opt_test.expected | 4 ((declare (temporary) bool execute_flag) 5 (assign (x) (var_ref execute_flag) (constant bool (1))) 11 (assign (x) (var_ref execute_flag) (constant bool (0))))
|
lower_returns_sub_true.opt_test.expected | 4 ((declare (temporary) bool execute_flag) 5 (assign (x) (var_ref execute_flag) (constant bool (1))) 11 (assign (x) (var_ref execute_flag) (constant bool (0))))
|
lower_returns_4.opt_test.expected | 4 ((declare (temporary) bool execute_flag) 5 (assign (x) (var_ref execute_flag) (constant bool (1))) 12 (assign (x) (var_ref execute_flag) (constant bool (0)))) 15 (assign (x) (var_ref execute_flag) (constant bool (0)))))
|
return_non_void_at_end_of_loop_lower_return.opt_test.expected | 4 ((declare (temporary) bool execute_flag) 5 (assign (x) (var_ref execute_flag) (constant bool (1))) 18 (assign (x) (var_ref execute_flag) (constant bool (0)))))
|
return_non_void_at_end_of_loop_lower_return_and_break.opt_test.expected | 4 ((declare (temporary) bool execute_flag) 5 (assign (x) (var_ref execute_flag) (constant bool (1))) 18 (assign (x) (var_ref execute_flag) (constant bool (0)))))
|
lower_pulled_out_jump.opt_test.expected | 6 ((declare (temporary) bool execute_flag) 7 (assign (x) (var_ref execute_flag) (constant bool (1))) 13 (assign (x) (var_ref execute_flag) (constant bool (0)))) 16 (if (var_ref execute_flag)
|
lower_guarded_conditional_break.opt_test | 7 # an if(execute_flag) because of earlier lowering of continues,
|
/external/chromium_org/third_party/mesa/src/src/glsl/ |
lower_jumps.cpp | 171 ir_variable* execute_flag; /* cleared to emulate continue */ member in struct:loop_record 181 this->execute_flag = 0; 187 if(!this->execute_flag) { 189 this->execute_flag = new(this->signature) ir_variable(glsl_type::bool_type, "execute_flag", ir_var_temporary); 190 list.push_head(new(this->signature) ir_assignment(new(this->signature) ir_dereference_variable(execute_flag), new(this->signature) ir_constant(true), 0)); 191 list.push_head(this->execute_flag); 193 return this->execute_flag; 676 ir_variable* execute_flag = this->loop.get_execute_flag(); local 677 jumps[lower]->replace_with(new(ir) ir_assignment(new (ir) ir_dereference_variable(execute_flag), new (ir) ir_constant(false), 0)) [all...] |
/external/mesa3d/src/glsl/ |
lower_jumps.cpp | 171 ir_variable* execute_flag; /* cleared to emulate continue */ member in struct:loop_record 181 this->execute_flag = 0; 187 if(!this->execute_flag) { 189 this->execute_flag = new(this->signature) ir_variable(glsl_type::bool_type, "execute_flag", ir_var_temporary); 190 list.push_head(new(this->signature) ir_assignment(new(this->signature) ir_dereference_variable(execute_flag), new(this->signature) ir_constant(true), 0)); 191 list.push_head(this->execute_flag); 193 return this->execute_flag; 676 ir_variable* execute_flag = this->loop.get_execute_flag(); local 677 jumps[lower]->replace_with(new(ir) ir_assignment(new (ir) ir_dereference_variable(execute_flag), new (ir) ir_constant(false), 0)) [all...] |