1. A method for compiling high level source code, said method comprising: translating said high level source code into an intermediate instruction set; determining a total cycle cost for a loop in said intermediate instruction set; determining an estimated cycle cost for an equivalent transformed loop having all conversions outside the transformed loop; comparing said total cycle cost with said estimated cycle cost; and in response to said total cycle cost exceeding said estimated cycle cost, replacing said loop with said equivalent transformed loop.