diff options
author | Quentin Colombet <qcolombet@apple.com> | 2013-10-02 22:07:57 +0000 |
---|---|---|
committer | Quentin Colombet <qcolombet@apple.com> | 2013-10-02 22:07:57 +0000 |
commit | 5f09cb0dba41256f96e33f53889c43c4a6f69aff (patch) | |
tree | 403bdc32e23460917f8274a6d6366a8992d99423 /llvm/include/llvm-c/LinkTimeOptimizer.h | |
parent | 2bfa2b91981d58dbb1e8c74681555747aa781b39 (diff) | |
download | bcm5719-llvm-5f09cb0dba41256f96e33f53889c43c4a6f69aff.tar.gz bcm5719-llvm-5f09cb0dba41256f96e33f53889c43c4a6f69aff.zip |
[llvm-c][Disassembler] Add an option to print latency information in
disassembled output alongside the instructions.
E.g., on a vector shuffle operation with a memory operand, disassembled
outputs are:
* Without the option:
vpshufd $-0x79, (%rsp), %xmm0
* With the option:
vpshufd $-0x79, (%rsp), %xmm0 ## Latency: 5
The printed latency is extracted from the schedule model available in the
disassembler context. Thus, this option has no effect if there is not a
scheduling model for the target.
This boils down to one may need to specify the CPU string, so that this
option could have an effect.
Note: Latency < 2 are not printed.
This part of <rdar://problem/14687488>.
llvm-svn: 191859
Diffstat (limited to 'llvm/include/llvm-c/LinkTimeOptimizer.h')
0 files changed, 0 insertions, 0 deletions