]> granicus.if.org Git - llvm/commit
[MachineOutliner] Cleanup: move findCandidates out of suffix tree
authorJessica Paquette <jpaquette@apple.com>
Thu, 27 Jul 2017 23:24:43 +0000 (23:24 +0000)
committerJessica Paquette <jpaquette@apple.com>
Thu, 27 Jul 2017 23:24:43 +0000 (23:24 +0000)
commite9ffbe524694a58fbb7e6b72fa8d6ee301b288d3
treeaf52097780ac40c385219af7fd85bd2d50086ff4
parent04f2709c4d9a45cdefc47c2feae1ec3079bff0cc
[MachineOutliner] Cleanup: move findCandidates out of suffix tree

Doing some cleanup in preparation for some functional changes.
This commit moves findCandidates out of the suffix tree and into the
MachineOutliner class. This is much easier to follow, and removes
the burden of candidate choice from the suffix tree.

It also adds a couple FIXMEs and simplifies building outlined function
names.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309334 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineOutliner.cpp