/external/mesa3d/src/glsl/tests/lower_jumps/ |
lower_returns_1.opt_test | 7 ../../glsl_test optpass --quiet --input-ir 'do_lower_jumps(0, 0, 1, 0, 0)' <<EOF
|
lower_returns_2.opt_test | 7 ../../glsl_test optpass --quiet --input-ir 'do_lower_jumps(0, 1, 0, 0, 0)' <<EOF
|
lower_returns_4.opt_test | 7 ../../glsl_test optpass --quiet --input-ir 'do_lower_jumps(0, 1, 0, 0, 0)' <<EOF
|
remove_continue_at_end_of_loop.opt_test | 7 ../../glsl_test optpass --quiet --input-ir 'do_lower_jumps(0, 0, 0, 0, 0)' <<EOF
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/numeric.ops/numeric.iota/ |
iota.pass.cpp | 25 int ir[] = {5, 6, 7, 8, 9}; local 29 assert(ia[i] == ir[i]);
|
/external/chromium_org/third_party/mesa/src/src/glsl/ |
loop_controls.cpp | 50 ir_instruction *ir = (ir_instruction *) node; local 52 switch (ir->ir_type) { 66 ir_assignment *assign = ir->as_assignment(); 163 virtual ir_visitor_status visit_leave(ir_loop *ir); 172 loop_control_visitor::visit_leave(ir_loop *ir) 174 loop_variable_state *const ls = this->state->get(ir); 190 if(ir->from && ir->to && ir->increment) 191 max_iterations = calculate_iterations(ir->from, ir->to, ir->increment, (ir_expression_operation)ir->cmp) [all...] |
opt_structure_splitting.cpp | 35 #include "ir.h" 127 ir_structure_reference_visitor::visit(ir_variable *ir) 129 variable_entry2 *entry = this->get_variable_entry2(ir); 138 ir_structure_reference_visitor::visit(ir_dereference_variable *ir) 140 ir_variable *const var = ir->variable_referenced(); 150 ir_structure_reference_visitor::visit_enter(ir_dereference_record *ir) 152 (void) ir; 158 ir_structure_reference_visitor::visit_enter(ir_assignment *ir) 166 if (ir->lhs->as_dereference_variable() && 167 ir->rhs->as_dereference_variable() & [all...] |
opt_dead_functions.cpp | 30 #include "ir.h" 90 ir_dead_functions_visitor::visit_enter(ir_function_signature *ir) 92 signature_entry *entry = this->get_signature_entry(ir); 94 if (strcmp(ir->function_name(), "main") == 0) { 105 ir_dead_functions_visitor::visit_enter(ir_call *ir) 107 signature_entry *entry = this->get_signature_entry(ir->callee); 141 ir_instruction *ir = (ir_instruction *)iter.get(); local 142 ir_function *func = ir->as_function();
|
opt_constant_propagation.cpp | 37 #include "ir.h" 112 void add_constant(ir_assignment *ir); 113 void kill(ir_variable *ir, unsigned write_mask); 218 ir_constant_propagation_visitor::visit_enter(ir_function_signature *ir) 232 visit_list_elements(this, &ir->body); 242 ir_constant_propagation_visitor::visit_leave(ir_assignment *ir) 247 unsigned kill_mask = ir->write_mask; 248 if (ir->lhs->as_dereference_array()) { 266 kill(ir->lhs->variable_referenced(), kill_mask); 268 add_constant(ir); [all...] |
ir_function_can_inline.cpp | 36 #include "ir.h" 51 ir_function_can_inline_visitor::visit_enter(ir_return *ir) 53 (void) ir;
|
opt_array_splitting.cpp | 32 * handling due to their ir->location fields tying them to the GL API 36 #include "ir.h" 147 ir_array_reference_visitor::visit(ir_variable *ir) 149 variable_entry *entry = this->get_variable_entry(ir); 158 ir_array_reference_visitor::visit(ir_dereference_variable *ir) 160 variable_entry *entry = this->get_variable_entry(ir->var); 174 ir_array_reference_visitor::visit_enter(ir_dereference_array *ir) 176 ir_dereference_variable *deref = ir->array->as_dereference_variable(); 185 if (entry && !ir->array_index->as_constant()) 192 ir_array_reference_visitor::visit_enter(ir_function_signature *ir) [all...] |
/external/mesa3d/src/glsl/ |
loop_controls.cpp | 50 ir_instruction *ir = (ir_instruction *) node; local 52 switch (ir->ir_type) { 66 ir_assignment *assign = ir->as_assignment(); 163 virtual ir_visitor_status visit_leave(ir_loop *ir); 172 loop_control_visitor::visit_leave(ir_loop *ir) 174 loop_variable_state *const ls = this->state->get(ir); 190 if(ir->from && ir->to && ir->increment) 191 max_iterations = calculate_iterations(ir->from, ir->to, ir->increment, (ir_expression_operation)ir->cmp) [all...] |
opt_structure_splitting.cpp | 35 #include "ir.h" 127 ir_structure_reference_visitor::visit(ir_variable *ir) 129 variable_entry2 *entry = this->get_variable_entry2(ir); 138 ir_structure_reference_visitor::visit(ir_dereference_variable *ir) 140 ir_variable *const var = ir->variable_referenced(); 150 ir_structure_reference_visitor::visit_enter(ir_dereference_record *ir) 152 (void) ir; 158 ir_structure_reference_visitor::visit_enter(ir_assignment *ir) 166 if (ir->lhs->as_dereference_variable() && 167 ir->rhs->as_dereference_variable() & [all...] |
opt_dead_functions.cpp | 30 #include "ir.h" 90 ir_dead_functions_visitor::visit_enter(ir_function_signature *ir) 92 signature_entry *entry = this->get_signature_entry(ir); 94 if (strcmp(ir->function_name(), "main") == 0) { 105 ir_dead_functions_visitor::visit_enter(ir_call *ir) 107 signature_entry *entry = this->get_signature_entry(ir->callee); 141 ir_instruction *ir = (ir_instruction *)iter.get(); local 142 ir_function *func = ir->as_function();
|
opt_constant_propagation.cpp | 37 #include "ir.h" 112 void add_constant(ir_assignment *ir); 113 void kill(ir_variable *ir, unsigned write_mask); 218 ir_constant_propagation_visitor::visit_enter(ir_function_signature *ir) 232 visit_list_elements(this, &ir->body); 242 ir_constant_propagation_visitor::visit_leave(ir_assignment *ir) 247 unsigned kill_mask = ir->write_mask; 248 if (ir->lhs->as_dereference_array()) { 266 kill(ir->lhs->variable_referenced(), kill_mask); 268 add_constant(ir); [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_vec4_visitor.cpp | 42 this->ir = v->base_ir; 57 new_inst->ir = inst->ir; 355 ir_instruction *ir = (ir_instruction *)node; local 357 base_ir = ir; 358 ir->accept(this); 559 vec4_visitor::setup_builtin_uniform_values(ir_variable *ir) 561 const ir_state_slot *const slots = ir->state_slots; 562 assert(ir->state_slots != NULL); 564 for (unsigned int i = 0; i < ir->num_state_slots; i++) [all...] |
brw_fs_channel_expressions.cpp | 48 #include "glsl/ir.h" 63 void assign(ir_assignment *ir, int elem, ir_rvalue *val); 70 channel_expressions_predicate(ir_instruction *ir) 72 ir_expression *expr = ir->as_expression(); 116 ir_channel_expressions_visitor::assign(ir_assignment *ir, int elem, ir_rvalue *val) 118 ir_dereference *lhs = ir->lhs->clone(mem_ctx, NULL); 126 assert(ir->write_mask == (1 << ir->lhs->type->components()) - 1); 129 ir->insert_before(assign); 133 ir_channel_expressions_visitor::visit_leave(ir_assignment *ir) [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_vec4_visitor.cpp | 42 this->ir = v->base_ir; 57 new_inst->ir = inst->ir; 355 ir_instruction *ir = (ir_instruction *)node; local 357 base_ir = ir; 358 ir->accept(this); 559 vec4_visitor::setup_builtin_uniform_values(ir_variable *ir) 561 const ir_state_slot *const slots = ir->state_slots; 562 assert(ir->state_slots != NULL); 564 for (unsigned int i = 0; i < ir->num_state_slots; i++) [all...] |
brw_fs_channel_expressions.cpp | 48 #include "glsl/ir.h" 63 void assign(ir_assignment *ir, int elem, ir_rvalue *val); 70 channel_expressions_predicate(ir_instruction *ir) 72 ir_expression *expr = ir->as_expression(); 116 ir_channel_expressions_visitor::assign(ir_assignment *ir, int elem, ir_rvalue *val) 118 ir_dereference *lhs = ir->lhs->clone(mem_ctx, NULL); 126 assert(ir->write_mask == (1 << ir->lhs->type->components()) - 1); 129 ir->insert_before(assign); 133 ir_channel_expressions_visitor::visit_leave(ir_assignment *ir) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_glsl_to_tgsi.cpp | 30 * Translate GLSL IR to TGSI. 35 #include "ir.h" 141 int type; /** GLSL_TYPE_* from GLSL IR (enum glsl_base_type) */ 174 int type; /** GLSL_TYPE_* from GLSL IR (enum glsl_base_type) */ 216 /** Pointer to the ir source this tree came from for debugging */ 217 ir_instruction *ir; member in class:glsl_to_tgsi_instruction 319 void reladdr_to_temp(ir_instruction *ir, st_src_reg *reg, int *num_reladdr); 368 glsl_to_tgsi_instruction *emit(ir_instruction *ir, unsigned op); 370 glsl_to_tgsi_instruction *emit(ir_instruction *ir, unsigned op, 373 glsl_to_tgsi_instruction *emit(ir_instruction *ir, unsigned op 1194 ir_instruction *ir = (ir_instruction *)iter.get(); local [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_glsl_to_tgsi.cpp | 30 * Translate GLSL IR to TGSI. 35 #include "ir.h" 141 int type; /** GLSL_TYPE_* from GLSL IR (enum glsl_base_type) */ 174 int type; /** GLSL_TYPE_* from GLSL IR (enum glsl_base_type) */ 216 /** Pointer to the ir source this tree came from for debugging */ 217 ir_instruction *ir; member in class:glsl_to_tgsi_instruction 319 void reladdr_to_temp(ir_instruction *ir, st_src_reg *reg, int *num_reladdr); 368 glsl_to_tgsi_instruction *emit(ir_instruction *ir, unsigned op); 370 glsl_to_tgsi_instruction *emit(ir_instruction *ir, unsigned op, 373 glsl_to_tgsi_instruction *emit(ir_instruction *ir, unsigned op 1194 ir_instruction *ir = (ir_instruction *)iter.get(); local [all...] |
/external/chromium_org/third_party/mesa/src/src/glsl/tests/lower_jumps/ |
lower_breaks_2.opt_test | 7 ../../glsl_test optpass --quiet --input-ir 'do_lower_jumps(0, 0, 0, 0, 1)' <<EOF
|
lower_breaks_4.opt_test | 7 ../../glsl_test optpass --quiet --input-ir 'do_lower_jumps(0, 0, 0, 0, 1)' <<EOF
|
lower_returns_3.opt_test | 10 ../../glsl_test optpass --quiet --input-ir 'do_lower_jumps(0, 1, 0, 0, 0)' <<EOF
|
lower_returns_main_false.opt_test | 8 ../../glsl_test optpass --quiet --input-ir 'do_lower_jumps(0, 0, 0, 0, 0)' <<EOF
|