*/
/**
- * \file ir_div_to_mul_rcp.cpp
+ * \file lower_div_to_mul_rcp.cpp
*
* Breaks an ir_unop_div expression down to op0 * (rcp(op1)).
*
*/
/**
- * \file ir_explog_to_explog2.cpp
+ * \file lower_explog_to_explog2.cpp
*
* Many GPUs don't have a base e log or exponent instruction, but they
* do have base 2 versions, so this pass converts exp and log to exp2
*/
/**
- * \file ir_if_to_cond_assign.cpp
+ * \file lower_if_to_cond_assign.cpp
*
* This attempts to flatten all if statements to conditional
* assignments for GPUs that don't do control flow.
*/
/**
- * \file ir_lower_jumps.cpp
+ * \file lower_jumps.cpp
*/
#include "glsl_types.h"
*/
/**
- * \file ir_mat_op_to_vec.cpp
+ * \file lower_mat_op_to_vec.cpp
*
* Breaks matrix operation expressions down to a series of vector operations.
*
*/
/**
- * \file ir_mod_to_fract.cpp
+ * \file lower_mod_to_fract.cpp
*
* Breaks an ir_unop_mod expression down to (op1 * fract(op0 / op1))
*
*/
/**
- * \file ir_sub_to_add_neg.cpp
+ * \file lower_sub_to_add_neg.cpp
*
* Breaks an ir_binop_sub expression down to add(op0, neg(op1))
*
*/
/**
- * \file ir_vec_index_to_cond_assign.cpp
+ * \file lower_vec_index_to_cond_assign.cpp
*
* Turns indexing into vector types to a series of conditional moves
* of each channel's swizzle into a temporary.
*/
/**
- * \file ir_vec_index_to_swizzle.cpp
+ * \file lower_vec_index_to_swizzle.cpp
*
* Turns constant indexing into vector types to swizzles. This will
* let other swizzle-aware optimization passes catch these constructs,
*/
/**
- * \file ir_algebraic.cpp
+ * \file opt_algebraic.cpp
*
* Takes advantage of association, commutivity, and other algebraic
* properties to simplify expressions.
*/
/**
- * \file ir_constant_folding.cpp
+ * \file opt_constant_folding.cpp
* Replace constant-valued expressions with references to constant values.
*/
*/
/**
- * \file ir_constant_propagation.cpp
+ * \file opt_constant_propagation.cpp
*
* Tracks assignments of constants to channels of variables, and
* usage of those constant channels with direct usage of the constants.
*/
/**
- * \file ir_constant_variable.cpp
+ * \file opt_constant_variable.cpp
*
* Marks variables assigned a single constant value over the course
* of the program as constant.
*/
/**
- * \file ir_copy_propagation.cpp
+ * \file opt_copy_propagation.cpp
*
* Moves usage of recently-copied variables to the previous copy of
* the variable.
*/
/**
- * \file ir_dead_code.cpp
+ * \file opt_dead_code.cpp
*
* Eliminates dead assignments and variable declarations from the code.
*/
*/
/**
- * \file ir_dead_code_local.cpp
+ * \file opt_dead_code_local.cpp
*
* Eliminates local dead assignments from the code.
*
*/
/**
- * \file ir_dead_functions.cpp
+ * \file opt_dead_functions.cpp
*
* Eliminates unused functions from the linked program.
*/
*/
/**
- * \file ir_function_inlining.cpp
+ * \file opt_function_inlining.cpp
*
* Replaces calls to functions with the body of the function.
*/
*/
/**
- * \file ir_if_simplification.cpp
+ * \file opt_if_simplification.cpp
*
* Moves constant branches of if statements out to the surrounding
* instruction stream.
*/
/**
- * \file ir_noop_swizzle.cpp
+ * \file opt_noop_swizzle.cpp
*
* If a swizzle doesn't change the order or count of components, then
* remove the swizzle so that other optimization passes see the value
*/
/**
- * \file ir_structure_splitting.cpp
+ * \file opt_structure_splitting.cpp
*
* If a structure is only ever referenced by its components, then
* split those components out to individual variables so they can be
*/
/**
- * \file ir_swizzle_swizzle.cpp
+ * \file opt_swizzle_swizzle.cpp
*
* Eliminates the second swizzle in a swizzle chain.
*/
*/
/**
- * \file ir_tree_grafting.cpp
+ * \file opt_tree_grafting.cpp
*
* Takes assignments to variables that are dereferenced only once and
* pastes the RHS expression into where the variable is dereferenced.