summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARFDebugLine.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-05-04 11:20:27 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-05-04 11:20:27 +0000
commit14316fcf7d525dcdcf6d3772cfaa7af24669dfed (patch)
tree31304c79f4e5d0399830e9458b9f4978295ce056 /llvm/lib/DebugInfo/DWARFDebugLine.cpp
parent44e13911bc4ea87db8af7cc2fde3245367ceb7ed (diff)
downloadbcm5719-llvm-14316fcf7d525dcdcf6d3772cfaa7af24669dfed.tar.gz
bcm5719-llvm-14316fcf7d525dcdcf6d3772cfaa7af24669dfed.zip
Factor the computation of input and output sets into a public interface
of the CodeExtractor utility. This allows speculatively computing input and output sets to measure the likely size impact of the code extraction. These sets cannot be reused sadly -- we mutate the function prior to forming the final sets used by the actual extraction. The interface has been revamped slightly to make it easier to use correctly by making the interface const and sinking the computation of the number of exit blocks into the full extraction function and away from the rest of this logic which just computed two output parameters. llvm-svn: 156168
Diffstat (limited to 'llvm/lib/DebugInfo/DWARFDebugLine.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud