FMS is the best answer but not actually correct.   The IRS tells the FMS about motion of the aircraft, not where it is.