[NFC] Extract ModuleInputs as a Separate Utility
[NFC] Extract ModuleInputs as a Separate Utility

The driver will eventually use this to compute the input status of a merge-modules job.

jmgc/swift,benlangmuir/swift,jmgc/swift,benlangmuir/swift,atrick/swift,roambotics/swift,ahoppen/swift,parkera/swift,tkremenek/swift,rudkx/swift,xwu/swift,parkera/swift,rudkx/swift,jmgc/swift,tkremenek/swift,ahoppen/swift,parkera/swift,gregomni/swift,apple/swift,glessard/swift,rudkx/swift,jmgc/swift,tkremenek/swift,JGiola/swift,hooman/swift,benlangmuir/swift,hooman/swift,tkremenek/swift,glessard/swift,hooman/swift,rudkx/swift,xwu/swift,JGiola/swift,rudkx/swift,parkera/swift,hooman/swift,ahoppen/swift,atrick/swift,xwu/swift,roambotics/swift,roambotics/swift,gregomni/swift,parkera/swift,atrick/swift,JGiola/swift,hooman/swift,gregomni/swift,gregomni/swift,benlangmuir/swift,xwu/swift,atrick/swift,parkera/swift,JGiola/swift,glessard/swift,ahoppen/swift,gregomni/swift,jmgc/swift,benlangmuir/swift,apple/swift,xwu/swift,gregomni/swift,apple/swift,atrick/swift,ahoppen/swift,parkera/swift,apple/swift,JGiola/swift,tkremenek/swift,hooman/swift,hooman/swift,roambotics/swift,glessard/swift,xwu/swift,roambotics/swift,tkremenek/swift,glessard/swift,parkera/swift,benlangmuir/swift,JGiola/swift,xwu/swift,rudkx/swift,atrick/swift,roambotics/swift,tkremenek/swift,jmgc/swift,jmgc/swift,glessard/swift,apple/swift,ahoppen/swift,apple/swift