diff options
author | Jessica Paquette <jpaquette@apple.com> | 2017-10-23 23:36:46 +0000 |
---|---|---|
committer | Jessica Paquette <jpaquette@apple.com> | 2017-10-23 23:36:46 +0000 |
commit | 9df7fde269adf9173dd29031ba7582c36ddbbd9b (patch) | |
tree | 16247a376bde28e7bf1a071ed940f88aa98ec614 /lldb/packages/Python/lldbsuite/support/gmodules.py | |
parent | 5ded0701a99b0af21c9c957e9a8e88452d6347a5 (diff) | |
download | bcm5719-llvm-9df7fde269adf9173dd29031ba7582c36ddbbd9b.tar.gz bcm5719-llvm-9df7fde269adf9173dd29031ba7582c36ddbbd9b.zip |
[MachineOutliner] Add optimisation remarks for successful outlining
This commit adds optimisation remarks for outlining which fire when a function
is successfully outlined.
To do this, OutlinedFunctions must now contain references to their Candidates.
Since the Candidates must still be sorted and worked on separately, this is
done by working on everything in terms of shared_ptrs to Candidates. This is
good; it means that we can easily move everything to outlining in terms of
the OutlinedFunctions rather than the individual Candidates. This is far more
intuitive than what's currently there!
(Remarks are output when a function is created for some group of Candidates.
In a later commit, all of the outlining logic should be rewritten so that we
loop over OutlinedFunctions rather than over Candidates.)
llvm-svn: 316396
Diffstat (limited to 'lldb/packages/Python/lldbsuite/support/gmodules.py')
0 files changed, 0 insertions, 0 deletions