Generalize the MachineTraceMetrics public API.
authorAndrew Trick <atrick@apple.com>
Sat, 27 Apr 2013 03:54:20 +0000 (03:54 +0000)
committerAndrew Trick <atrick@apple.com>
Sat, 27 Apr 2013 03:54:20 +0000 (03:54 +0000)
commit3aa5394e5bbf267824e9d789ec8b1c27b85a8671
tree7b59c4c4dcaa1431d5331be121d311a794a3b5d9
parent29f198c9bfa4a122259f5e92853fbf4b5b2ab2bc
Generalize the MachineTraceMetrics public API.

Naturally, we should be able to pass in extra instructions, not just
extra blocks.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180667 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineTraceMetrics.h
lib/CodeGen/MachineTraceMetrics.cpp