1. A method for processing a variable looping statement to enable loop unrolling, comprising: determining an upper bound and a lower bound for a loop index within said variable looping statement; determining a condition that must be satisfied, said condition reflecting any conditions within an initial expression and an exit expression of said variable looping statement; and forming a constant looping statement, wherein said upper bound and said lower bound define a range of values for a loop index within said constant looping statement, wherein said constant looping statement includes a nested conditional statement which tests said determined condition, wherein a body of said constant looping statement comprises a body of said variable looping statement, and wherein said body of said constant looping statement is only executed in the event that said determined condition is satisfied.