summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeCompletion/documentation.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-07-26 18:38:11 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-07-26 18:38:11 +0000
commitf9029fef2a76b57bb3a776ff18b87359a91e7ebd (patch)
treec46c4a5b9f7e11adc8472e2aa3dba6d763357041 /clang/test/CodeCompletion/documentation.cpp
parent5f1a4e1ff3ad5a716c63eac6d1baf8fafdfc76ba (diff)
downloadbcm5719-llvm-f9029fef2a76b57bb3a776ff18b87359a91e7ebd.tar.gz
bcm5719-llvm-f9029fef2a76b57bb3a776ff18b87359a91e7ebd.zip
Start scaffolding for a MachineTraceMetrics analysis pass.
This is still a work in progress. Out-of-order CPUs usually execute instructions from multiple basic blocks simultaneously, so it is necessary to look at longer traces when estimating the performance effects of code transformations. The MachineTraceMetrics analysis will pick a typical trace through a given basic block and provide performance metrics for the trace. Metrics will include: - Instruction count through the trace. - Issue count per functional unit. - Critical path length, and per-instruction 'slack'. These metrics can be used to determine the performance limiting factor when executing the trace, and how it will be affected by a code transformation. Initially, this will be used by the early if-conversion pass. llvm-svn: 160796
Diffstat (limited to 'clang/test/CodeCompletion/documentation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud