diff options
| author | Siddharth Bhat <siddu.druid@gmail.com> | 2017-06-02 11:36:52 +0000 |
|---|---|---|
| committer | Siddharth Bhat <siddu.druid@gmail.com> | 2017-06-02 11:36:52 +0000 |
| commit | 726c28f8c4951b5852c92afca329bb7b683c1ab3 (patch) | |
| tree | bc24bd8165e0966835baeb7d57fdbb269584c429 /llvm/lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp | |
| parent | 01bf58d6ecd9304a7ab5180ff78f3c78187282f4 (diff) | |
| download | llvm-726c28f8c4951b5852c92afca329bb7b683c1ab3.zip llvm-726c28f8c4951b5852c92afca329bb7b683c1ab3.tar.gz llvm-726c28f8c4951b5852c92afca329bb7b683c1ab3.tar.bz2 | |
[CodeGen] Track trip counts per-scop for performance measurement.
- Add a counter that is incremented once on exit from a scop.
- Test cases got split into two: one to test the cycles, and another one
to test trip counts.
- Sample output:
```name=sample-output.txt
scop function, entry block name, exit block name, total time, trip count
warmup, %entry.split, %polly.merge_new_and_old, 5180, 1
f, %entry.split, %polly.merge_new_and_old, 409944, 500
g, %entry.split, %polly.merge_new_and_old, 1226, 1
```
Differential Revision: https://reviews.llvm.org/D33822
llvm-svn: 304543
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp')
0 files changed, 0 insertions, 0 deletions
