summaryrefslogtreecommitdiff
path: root/src/glsl/loop_controls.cpp
AgeCommit message (Collapse)Author
2010-09-03glsl2: Use as_constant some places instead of constant_expression_valueIan Romanick
The places where constant_expression_value are still used in loop analysis are places where a new expression tree is created and constant folding won't have happened. This is used, for example, when we try to determine the maximal loop iteration count. Based on review comments by Eric. "...rely on constant folding to have done its job, instead of going all through the subtree again when it wasn't a constant."
2010-09-03glsl2: Add module to perform simple loop unrollingIan Romanick
2010-09-03glsl2: Track the number of ir_loop_jump instructions that are in a loopIan Romanick
2010-09-03glsl2: Eliminate zero-iteration loopsIan Romanick
2010-09-03glsl2: Add module to suss out loop control variables from loop analysis dataIan Romanick
This is the next step on the road to loop unrolling