Add functionality to time individual compiler passes.