Keep track of the head and tail of the trace through each block.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 27 Jul 2012 23:58:36 +0000 (23:58 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 27 Jul 2012 23:58:36 +0000 (23:58 +0000)
commit0271a5fa29f73150fad891ca4c43a0a89a64b3bf
tree2ca8dedaf9361eb6bb393befaf5743eb368c599b
parentc23b933d5f8be9b51a1d22e717c0311f65f87dcd
Keep track of the head and tail of the trace through each block.

This makes it possible to quickly detect blocks that are outside the
trace.

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