Sort includes.
Reset the subtarget for DAGToDAG on every iteration of runOnMachineFunction.
Reset the subtarget for DAGToDAG on every iteration of runOnMachineFunction.
This required updating the generated functions and TD file accordingly
to be pointers rather than const references.