Some minor performance improvements.

Perform register renaming after dead-code elimination to reduce the
number of registers required for each function.  This can be dropped
even further if const/arg loads are made explicit.