Embodiments of the invention generally provide a method, article of manufacture,
and apparatus for code transformation. In one embodiment, the invention provides
a method of transforming source code. The method determines if a source code statement
includes a first operation that receives input from a result of a second operation,
where the second operation acts on a plurality of arguments. If the source code
includes the first operation, then the method transforms the source code into a
plurality of statements that include the first operation acting on one of the arguments.