summaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2010-11-15 14:35:46 -0800
committerKenneth Graunke <kenneth@whitecape.org>2010-11-15 16:34:20 -0800
commit32aaf89823de11e98cb59d5ec78c66cd3e74bcd4 (patch)
treec8ea892f0fea779e4e82e57b644b3b2ca5d389ea /src/glsl
parent46b80d6469815aa7e9956018a112ef8a19dc44c3 (diff)
downloadexternal_mesa3d-32aaf89823de11e98cb59d5ec78c66cd3e74bcd4.zip
external_mesa3d-32aaf89823de11e98cb59d5ec78c66cd3e74bcd4.tar.gz
external_mesa3d-32aaf89823de11e98cb59d5ec78c66cd3e74bcd4.tar.bz2
glsl: Rename various ir_* files to lower_* and opt_*.
This helps distinguish between lowering passes, optimization passes, and other compiler code.
Diffstat (limited to 'src/glsl')
-rw-r--r--src/glsl/Makefile46
-rw-r--r--src/glsl/SConscript48
-rw-r--r--src/glsl/lower_div_to_mul_rcp.cpp (renamed from src/glsl/ir_div_to_mul_rcp.cpp)0
-rw-r--r--src/glsl/lower_explog_to_explog2.cpp (renamed from src/glsl/ir_explog_to_explog2.cpp)0
-rw-r--r--src/glsl/lower_if_to_cond_assign.cpp (renamed from src/glsl/ir_if_to_cond_assign.cpp)0
-rw-r--r--src/glsl/lower_jumps.cpp (renamed from src/glsl/ir_lower_jumps.cpp)0
-rw-r--r--src/glsl/lower_mat_op_to_vec.cpp (renamed from src/glsl/ir_mat_op_to_vec.cpp)0
-rw-r--r--src/glsl/lower_mod_to_fract.cpp (renamed from src/glsl/ir_mod_to_fract.cpp)0
-rw-r--r--src/glsl/lower_sub_to_add_neg.cpp (renamed from src/glsl/ir_sub_to_add_neg.cpp)0
-rw-r--r--src/glsl/lower_vec_index_to_cond_assign.cpp (renamed from src/glsl/ir_vec_index_to_cond_assign.cpp)0
-rw-r--r--src/glsl/lower_vec_index_to_swizzle.cpp (renamed from src/glsl/ir_vec_index_to_swizzle.cpp)0
-rw-r--r--src/glsl/opt_algebraic.cpp (renamed from src/glsl/ir_algebraic.cpp)0
-rw-r--r--src/glsl/opt_constant_folding.cpp (renamed from src/glsl/ir_constant_folding.cpp)0
-rw-r--r--src/glsl/opt_constant_propagation.cpp (renamed from src/glsl/ir_constant_propagation.cpp)0
-rw-r--r--src/glsl/opt_constant_variable.cpp (renamed from src/glsl/ir_constant_variable.cpp)0
-rw-r--r--src/glsl/opt_copy_propagation.cpp (renamed from src/glsl/ir_copy_propagation.cpp)0
-rw-r--r--src/glsl/opt_dead_code.cpp (renamed from src/glsl/ir_dead_code.cpp)0
-rw-r--r--src/glsl/opt_dead_code_local.cpp (renamed from src/glsl/ir_dead_code_local.cpp)0
-rw-r--r--src/glsl/opt_dead_functions.cpp (renamed from src/glsl/ir_dead_functions.cpp)0
-rw-r--r--src/glsl/opt_function_inlining.cpp (renamed from src/glsl/ir_function_inlining.cpp)0
-rw-r--r--src/glsl/opt_if_simplification.cpp (renamed from src/glsl/ir_if_simplification.cpp)0
-rw-r--r--src/glsl/opt_noop_swizzle.cpp (renamed from src/glsl/ir_noop_swizzle.cpp)0
-rw-r--r--src/glsl/opt_structure_splitting.cpp (renamed from src/glsl/ir_structure_splitting.cpp)0
-rw-r--r--src/glsl/opt_swizzle_swizzle.cpp (renamed from src/glsl/ir_swizzle_swizzle.cpp)0
-rw-r--r--src/glsl/opt_tree_grafting.cpp (renamed from src/glsl/ir_tree_grafting.cpp)0
25 files changed, 47 insertions, 47 deletions
diff --git a/src/glsl/Makefile b/src/glsl/Makefile
index 4cfecb1..62984f8 100644
--- a/src/glsl/Makefile
+++ b/src/glsl/Makefile
@@ -30,55 +30,55 @@ CXX_SOURCES = \
glsl_types.cpp \
glsl_symbol_table.cpp \
hir_field_selection.cpp \
- ir_algebraic.cpp \
ir_basic_block.cpp \
ir_clone.cpp \
ir_constant_expression.cpp \
- ir_constant_folding.cpp \
- ir_constant_propagation.cpp \
- ir_constant_variable.cpp \
- ir_copy_propagation.cpp \
ir.cpp \
- ir_dead_code.cpp \
- ir_dead_code_local.cpp \
- ir_dead_functions.cpp \
- ir_div_to_mul_rcp.cpp \
- ir_explog_to_explog2.cpp \
ir_expression_flattening.cpp \
ir_function_can_inline.cpp \
ir_function.cpp \
- ir_function_inlining.cpp \
ir_hierarchical_visitor.cpp \
ir_hv_accept.cpp \
- ir_if_simplification.cpp \
- ir_if_to_cond_assign.cpp \
ir_import_prototypes.cpp \
- ir_lower_jumps.cpp \
- ir_mat_op_to_vec.cpp \
- ir_mod_to_fract.cpp \
- ir_noop_swizzle.cpp \
ir_print_visitor.cpp \
ir_reader.cpp \
ir_rvalue_visitor.cpp \
ir_set_program_inouts.cpp \
- ir_structure_splitting.cpp \
- ir_sub_to_add_neg.cpp \
- ir_swizzle_swizzle.cpp \
- ir_tree_grafting.cpp \
ir_validate.cpp \
ir_variable.cpp \
ir_variable_refcount.cpp \
- ir_vec_index_to_cond_assign.cpp \
- ir_vec_index_to_swizzle.cpp \
linker.cpp \
link_functions.cpp \
loop_analysis.cpp \
loop_controls.cpp \
loop_unroll.cpp \
+ lower_div_to_mul_rcp.cpp \
+ lower_explog_to_explog2.cpp \
+ lower_if_to_cond_assign.cpp \
+ lower_jumps.cpp \
+ lower_mat_op_to_vec.cpp \
+ lower_mod_to_fract.cpp \
lower_noise.cpp \
+ lower_sub_to_add_neg.cpp \
lower_texture_projection.cpp \
lower_variable_index_to_cond_assign.cpp \
+ lower_vec_index_to_cond_assign.cpp \
+ lower_vec_index_to_swizzle.cpp \
+ opt_algebraic.cpp \
+ opt_constant_folding.cpp \
+ opt_constant_propagation.cpp \
+ opt_constant_variable.cpp \
+ opt_copy_propagation.cpp \
+ opt_dead_code.cpp \
+ opt_dead_code_local.cpp \
+ opt_dead_functions.cpp \
+ opt_function_inlining.cpp \
+ opt_if_simplification.cpp \
+ opt_noop_swizzle.cpp \
opt_redundant_jumps.cpp \
+ opt_structure_splitting.cpp \
+ opt_swizzle_swizzle.cpp \
+ opt_tree_grafting.cpp \
s_expression.cpp
LIBS = \
diff --git a/src/glsl/SConscript b/src/glsl/SConscript
index c183e20..f9cc823 100644
--- a/src/glsl/SConscript
+++ b/src/glsl/SConscript
@@ -27,54 +27,54 @@ sources = [
'glsl_types.cpp',
'glsl_symbol_table.cpp',
'hir_field_selection.cpp',
- 'ir_algebraic.cpp',
'ir_basic_block.cpp',
'ir_clone.cpp',
- 'ir_constant_expression.cpp',
- 'ir_constant_folding.cpp',
- 'ir_constant_propagation.cpp',
- 'ir_constant_variable.cpp',
- 'ir_copy_propagation.cpp',
'ir.cpp',
- 'ir_dead_code.cpp',
- 'ir_dead_code_local.cpp',
- 'ir_dead_functions.cpp',
- 'ir_div_to_mul_rcp.cpp',
- 'ir_explog_to_explog2.cpp',
'ir_expression_flattening.cpp',
'ir_function_can_inline.cpp',
'ir_function.cpp',
- 'ir_function_inlining.cpp',
'ir_hierarchical_visitor.cpp',
'ir_hv_accept.cpp',
- 'ir_if_simplification.cpp',
- 'ir_if_to_cond_assign.cpp',
'ir_import_prototypes.cpp',
- 'ir_lower_jumps.cpp',
- 'ir_mat_op_to_vec.cpp',
- 'ir_mod_to_fract.cpp',
- 'ir_noop_swizzle.cpp',
'ir_print_visitor.cpp',
'ir_reader.cpp',
'ir_rvalue_visitor.cpp',
'ir_set_program_inouts.cpp',
- 'ir_structure_splitting.cpp',
- 'ir_sub_to_add_neg.cpp',
- 'ir_swizzle_swizzle.cpp',
- 'ir_tree_grafting.cpp',
'ir_validate.cpp',
'ir_variable.cpp',
'ir_variable_refcount.cpp',
- 'ir_vec_index_to_cond_assign.cpp',
- 'ir_vec_index_to_swizzle.cpp',
'linker.cpp',
'link_functions.cpp',
'loop_analysis.cpp',
'loop_controls.cpp',
'loop_unroll.cpp',
+ 'lower_div_to_mul_rcp.cpp',
+ 'lower_explog_to_explog2.cpp',
+ 'lower_if_to_cond_assign.cpp',
+ 'lower_jumps.cpp',
+ 'lower_mat_op_to_vec.cpp',
+ 'lower_mod_to_fract.cpp',
'lower_noise.cpp',
+ 'lower_sub_to_add_neg.cpp',
'lower_variable_index_to_cond_assign.cpp',
+ 'lower_vec_index_to_cond_assign.cpp',
+ 'lower_vec_index_to_swizzle.cpp',
+ 'opt_algebraic.cpp',
+ 'opt_constant_folding.cpp',
+ 'opt_noop_swizzle.cpp',
'opt_redundant_jumps.cpp',
+ 'opt_constant_expression.cpp',
+ 'opt_constant_propagation.cpp',
+ 'opt_constant_variable.cpp',
+ 'opt_copy_propagation.cpp',
+ 'opt_dead_code.cpp',
+ 'opt_dead_code_local.cpp',
+ 'opt_dead_functions.cpp',
+ 'opt_function_inlining.cpp',
+ 'opt_if_simplification.cpp',
+ 'opt_structure_splitting.cpp',
+ 'opt_swizzle_swizzle.cpp',
+ 'opt_tree_grafting.cpp',
's_expression.cpp',
]
diff --git a/src/glsl/ir_div_to_mul_rcp.cpp b/src/glsl/lower_div_to_mul_rcp.cpp
index 640d5d6..640d5d6 100644
--- a/src/glsl/ir_div_to_mul_rcp.cpp
+++ b/src/glsl/lower_div_to_mul_rcp.cpp
diff --git a/src/glsl/ir_explog_to_explog2.cpp b/src/glsl/lower_explog_to_explog2.cpp
index 78694a2..78694a2 100644
--- a/src/glsl/ir_explog_to_explog2.cpp
+++ b/src/glsl/lower_explog_to_explog2.cpp
diff --git a/src/glsl/ir_if_to_cond_assign.cpp b/src/glsl/lower_if_to_cond_assign.cpp
index 0b87413..0b87413 100644
--- a/src/glsl/ir_if_to_cond_assign.cpp
+++ b/src/glsl/lower_if_to_cond_assign.cpp
diff --git a/src/glsl/ir_lower_jumps.cpp b/src/glsl/lower_jumps.cpp
index b69cc1e..b69cc1e 100644
--- a/src/glsl/ir_lower_jumps.cpp
+++ b/src/glsl/lower_jumps.cpp
diff --git a/src/glsl/ir_mat_op_to_vec.cpp b/src/glsl/lower_mat_op_to_vec.cpp
index 244fe48..244fe48 100644
--- a/src/glsl/ir_mat_op_to_vec.cpp
+++ b/src/glsl/lower_mat_op_to_vec.cpp
diff --git a/src/glsl/ir_mod_to_fract.cpp b/src/glsl/lower_mod_to_fract.cpp
index c82a1f6..c82a1f6 100644
--- a/src/glsl/ir_mod_to_fract.cpp
+++ b/src/glsl/lower_mod_to_fract.cpp
diff --git a/src/glsl/ir_sub_to_add_neg.cpp b/src/glsl/lower_sub_to_add_neg.cpp
index 7ed8c14..7ed8c14 100644
--- a/src/glsl/ir_sub_to_add_neg.cpp
+++ b/src/glsl/lower_sub_to_add_neg.cpp
diff --git a/src/glsl/ir_vec_index_to_cond_assign.cpp b/src/glsl/lower_vec_index_to_cond_assign.cpp
index cd8dedf..cd8dedf 100644
--- a/src/glsl/ir_vec_index_to_cond_assign.cpp
+++ b/src/glsl/lower_vec_index_to_cond_assign.cpp
diff --git a/src/glsl/ir_vec_index_to_swizzle.cpp b/src/glsl/lower_vec_index_to_swizzle.cpp
index 969dc8f..969dc8f 100644
--- a/src/glsl/ir_vec_index_to_swizzle.cpp
+++ b/src/glsl/lower_vec_index_to_swizzle.cpp
diff --git a/src/glsl/ir_algebraic.cpp b/src/glsl/opt_algebraic.cpp
index 2ed66db..2ed66db 100644
--- a/src/glsl/ir_algebraic.cpp
+++ b/src/glsl/opt_algebraic.cpp
diff --git a/src/glsl/ir_constant_folding.cpp b/src/glsl/opt_constant_folding.cpp
index 554c54f..554c54f 100644
--- a/src/glsl/ir_constant_folding.cpp
+++ b/src/glsl/opt_constant_folding.cpp
diff --git a/src/glsl/ir_constant_propagation.cpp b/src/glsl/opt_constant_propagation.cpp
index 5d875b7..5d875b7 100644
--- a/src/glsl/ir_constant_propagation.cpp
+++ b/src/glsl/opt_constant_propagation.cpp
diff --git a/src/glsl/ir_constant_variable.cpp b/src/glsl/opt_constant_variable.cpp
index 1fb73e7..1fb73e7 100644
--- a/src/glsl/ir_constant_variable.cpp
+++ b/src/glsl/opt_constant_variable.cpp
diff --git a/src/glsl/ir_copy_propagation.cpp b/src/glsl/opt_copy_propagation.cpp
index 0fe8fa6..0fe8fa6 100644
--- a/src/glsl/ir_copy_propagation.cpp
+++ b/src/glsl/opt_copy_propagation.cpp
diff --git a/src/glsl/ir_dead_code.cpp b/src/glsl/opt_dead_code.cpp
index 5cf5e99..5cf5e99 100644
--- a/src/glsl/ir_dead_code.cpp
+++ b/src/glsl/opt_dead_code.cpp
diff --git a/src/glsl/ir_dead_code_local.cpp b/src/glsl/opt_dead_code_local.cpp
index 4bbedf0..4bbedf0 100644
--- a/src/glsl/ir_dead_code_local.cpp
+++ b/src/glsl/opt_dead_code_local.cpp
diff --git a/src/glsl/ir_dead_functions.cpp b/src/glsl/opt_dead_functions.cpp
index 16037a2..16037a2 100644
--- a/src/glsl/ir_dead_functions.cpp
+++ b/src/glsl/opt_dead_functions.cpp
diff --git a/src/glsl/ir_function_inlining.cpp b/src/glsl/opt_function_inlining.cpp
index 147c182..147c182 100644
--- a/src/glsl/ir_function_inlining.cpp
+++ b/src/glsl/opt_function_inlining.cpp
diff --git a/src/glsl/ir_if_simplification.cpp b/src/glsl/opt_if_simplification.cpp
index 021615e..021615e 100644
--- a/src/glsl/ir_if_simplification.cpp
+++ b/src/glsl/opt_if_simplification.cpp
diff --git a/src/glsl/ir_noop_swizzle.cpp b/src/glsl/opt_noop_swizzle.cpp
index 0403dfa..0403dfa 100644
--- a/src/glsl/ir_noop_swizzle.cpp
+++ b/src/glsl/opt_noop_swizzle.cpp
diff --git a/src/glsl/ir_structure_splitting.cpp b/src/glsl/opt_structure_splitting.cpp
index ff3ec93..ff3ec93 100644
--- a/src/glsl/ir_structure_splitting.cpp
+++ b/src/glsl/opt_structure_splitting.cpp
diff --git a/src/glsl/ir_swizzle_swizzle.cpp b/src/glsl/opt_swizzle_swizzle.cpp
index 0ffb4fa..0ffb4fa 100644
--- a/src/glsl/ir_swizzle_swizzle.cpp
+++ b/src/glsl/opt_swizzle_swizzle.cpp
diff --git a/src/glsl/ir_tree_grafting.cpp b/src/glsl/opt_tree_grafting.cpp
index 9b569b8..9b569b8 100644
--- a/src/glsl/ir_tree_grafting.cpp
+++ b/src/glsl/opt_tree_grafting.cpp