• Home
  • Raw
  • Download

Lines Matching refs:optimization

57 do_optimization(struct exec_list *ir, const char *optimization)  in do_optimization()  argument
65 if (sscanf(optimization, "do_common_optimization ( %d , %d ) ", in do_optimization()
68 } else if (strcmp(optimization, "do_algebraic") == 0) { in do_optimization()
70 } else if (strcmp(optimization, "do_constant_folding") == 0) { in do_optimization()
72 } else if (strcmp(optimization, "do_constant_variable") == 0) { in do_optimization()
74 } else if (strcmp(optimization, "do_constant_variable_unlinked") == 0) { in do_optimization()
76 } else if (strcmp(optimization, "do_copy_propagation") == 0) { in do_optimization()
78 } else if (strcmp(optimization, "do_copy_propagation_elements") == 0) { in do_optimization()
80 } else if (strcmp(optimization, "do_constant_propagation") == 0) { in do_optimization()
82 } else if (strcmp(optimization, "do_dead_code") == 0) { in do_optimization()
84 } else if (strcmp(optimization, "do_dead_code_local") == 0) { in do_optimization()
86 } else if (strcmp(optimization, "do_dead_code_unlinked") == 0) { in do_optimization()
88 } else if (strcmp(optimization, "do_dead_functions") == 0) { in do_optimization()
90 } else if (strcmp(optimization, "do_function_inlining") == 0) { in do_optimization()
92 } else if (sscanf(optimization, in do_optimization()
97 } else if (strcmp(optimization, "do_lower_texture_projection") == 0) { in do_optimization()
99 } else if (strcmp(optimization, "do_if_simplification") == 0) { in do_optimization()
101 } else if (sscanf(optimization, "lower_if_to_cond_assign ( %d ) ", in do_optimization()
104 } else if (strcmp(optimization, "do_mat_op_to_vec") == 0) { in do_optimization()
106 } else if (strcmp(optimization, "do_noop_swizzle") == 0) { in do_optimization()
108 } else if (strcmp(optimization, "do_structure_splitting") == 0) { in do_optimization()
110 } else if (strcmp(optimization, "do_swizzle_swizzle") == 0) { in do_optimization()
112 } else if (strcmp(optimization, "do_tree_grafting") == 0) { in do_optimization()
114 } else if (strcmp(optimization, "do_vec_index_to_cond_assign") == 0) { in do_optimization()
116 } else if (strcmp(optimization, "do_vec_index_to_swizzle") == 0) { in do_optimization()
118 } else if (strcmp(optimization, "lower_discard") == 0) { in do_optimization()
120 } else if (sscanf(optimization, "lower_instructions ( %d ) ", in do_optimization()
123 } else if (strcmp(optimization, "lower_noise") == 0) { in do_optimization()
125 } else if (sscanf(optimization, "lower_variable_index_to_cond_assign " in do_optimization()
130 } else if (sscanf(optimization, "lower_quadop_vector ( %d ) ", in do_optimization()
133 } else if (strcmp(optimization, "optimize_redundant_jumps") == 0) { in do_optimization()
136 printf("Unrecognized optimization %s\n", optimization); in do_optimization()
149 const char *optimization = optimizations[i]; in do_optimization_passes() local
151 printf("*** Running optimization %s...", optimization); in do_optimization_passes()
153 GLboolean progress = do_optimization(ir, optimization); in do_optimization_passes()