Seperate code out of TargetMachine into MachineInstrInfo