clean up & consolidate code generation utilities
clean up & consolidate code generation utilities

Ignore-this: 2d936900721795cd0d1bdf7e3a397876

darcs-hash:20100817222623-dcabc-6d1a93fb0b407a9bdb3dea58f0dfd2da51d4bb27.gz

sjfloat/accelerate,wilbowma/accelerate,robeverest/accelerate,rrnewton/accelerate,robeverest/accelerate,wilbowma/accelerate