[Tablegen][SubtargetEmitter] refactor method `emitSchedModelHelpersImpl()`. NFCI
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Fri, 10 Aug 2018 10:43:43 +0000 (10:43 +0000)
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Fri, 10 Aug 2018 10:43:43 +0000 (10:43 +0000)
commit8bdfd52ba76887db0ddb57d474700940b14ae36d
tree95cbf5ffe42243ed169c393ca7851020e87a7e50
parenta912e3e6be26e1c37219be994710e7f5a2b348b3
[Tablegen][SubtargetEmitter] refactor method `emitSchedModelHelpersImpl()`. NFCI

Part of the logic has been moved to helper functions to (hopefully) improve
readability.
Added a few code comments to better describe how the algorithm works.

No functional change intended.

llvm-svn: 339421
llvm/utils/TableGen/SubtargetEmitter.cpp