diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-08-10 22:27:27 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-08-10 22:27:27 +0000 |
commit | 5413b68b1f59041a821287790dbc1ee2e272cf4e (patch) | |
tree | 2459575e7aef95b3bb18f476b2524a2872770b9a /lib/CodeGen/MachineCSE.cpp | |
parent | 6b951b25c35f739ee0a1b5a4615718220830817d (diff) |
Add more trace query functions.
Trace::getResourceLength() computes the number of cycles required to
execute the trace when ignoring data dependencies. The number can be
compared to the critical path to estimate the trace ILP.
Trace::getPHIDepth() computes the data dependency depth of a PHI in a
trace successor that isn't necessarily part of the trace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161711 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineCSE.cpp')
0 files changed, 0 insertions, 0 deletions