aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-06-12 03:05:52 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-06-12 03:05:52 +0000
commitd2b4713e53a7667fa51b5aad17337bc6142d157d (patch)
treee58795813841cb8dbb1aeae63fdbb2153118e2b6 /llvm/lib/Transforms/Utils/InlineFunction.cpp
parent7ed40cbded2fb1d0d4a1aa4521c79d95888b815d (diff)
downloadllvm-d2b4713e53a7667fa51b5aad17337bc6142d157d.zip
llvm-d2b4713e53a7667fa51b5aad17337bc6142d157d.tar.gz
llvm-d2b4713e53a7667fa51b5aad17337bc6142d157d.tar.bz2
Compute lists of sub-regs, super-regs, and overlapping regs.
Besides moving structural computations to CodeGenRegisters.cpp, this also well-defines the order of these lists: - Sub-register lists come from a pre-order traversal of the graph defined by the SubRegs lists in the .td files. - Super-register lists are topologically ordered so no register comes before any of its sub-registers. When the sub-register graph is not a tree, independent super-registers appear in numerical order. - Lists of overlapping registers are ordered according to register number. This reverses the order of the super-regs lists, but nobody was depending on that. The previous order of the overlaps lists was odd, and it may have depended on the precise behavior of std::stable_sort. The old computations are still there, but will be removed shortly. llvm-svn: 132881
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions