aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2013-04-02 17:49:51 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2013-04-02 17:49:51 +0000
commit3ca14772d0c3d50e5b8b32fd405ebc0b571d1ab2 (patch)
treec3d70bb8b0c2d3ae4d760de3256d7f24a9d2861d /clang/lib/Frontend/CompilerInvocation.cpp
parent2040f9800832659a9804f223b7c241d621ee42bc (diff)
downloadllvm-3ca14772d0c3d50e5b8b32fd405ebc0b571d1ab2.zip
llvm-3ca14772d0c3d50e5b8b32fd405ebc0b571d1ab2.tar.gz
llvm-3ca14772d0c3d50e5b8b32fd405ebc0b571d1ab2.tar.bz2
Count processor resources individually in MachineTraceMetrics.
The new instruction scheduling models provide information about the number of cycles consumed on each processor resource. This makes it possible to estimate ILP more accurately than simply counting instructions / issue width. The functions getResourceDepth() and getResourceLength() now identify the limiting processor resource, and return a cycle count based on that. This gives more precise resource information, particularly in traces that use one resource a lot more than others. llvm-svn: 178553
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions