Instead of the TargetMachine cache the MachineFunction