[MachineOutliner][NFC] Factor out instruction mapping into its own function
authorJessica Paquette <jpaquette@apple.com>
Tue, 11 Sep 2018 16:33:46 +0000 (16:33 +0000)
committerJessica Paquette <jpaquette@apple.com>
Tue, 11 Sep 2018 16:33:46 +0000 (16:33 +0000)
commit050d1ac4a660ba5b29cc54a57e08c8433cdb4214
tree19ed5f733b2e28ab144f82db0225c98699b11b28
parent2253878a40594751eb4d9ea3dd00d3d596836bd2
[MachineOutliner][NFC] Factor out instruction mapping into its own function

Just some tidy-up. Pull the mapper stuff into `populateMapper`. This makes it
a bit easier to read what's going on in `runOnModule`.

llvm-svn: 341959
llvm/lib/CodeGen/MachineOutliner.cpp