llvm/test/tools/llvm-profdata/show-hot.proftext
raw| 1 | # RUN: llvm-profdata show %s --hot-func-list | FileCheck %s |
| 2 | |
| 3 | # CHECK: # Hot count threshold: 101 |
| 4 | # CHECK: hot_b |
| 5 | # CHECK: hot_a |
| 6 | # CHECK: hot_c |
| 7 | |
| 8 | :ir |
| 9 | hot_a |
| 10 | # Func Hash: |
| 11 | 0x1234 |
| 12 | # Num Counters: |
| 13 | 1 |
| 14 | # Counter Values: |
| 15 | 101 |
| 16 | |
| 17 | hot_b |
| 18 | 0x5678 |
| 19 | 1 |
| 20 | 202 |
| 21 | |
| 22 | hot_c |
| 23 | 0x5678 |
| 24 | 1 |
| 25 | 101 |
| 26 | |
| 27 | cold_d |
| 28 | 0xabcd |
| 29 | 1 |
| 30 | 1 |
| 31 | |
| 32 | cold_e |
| 33 | 0xefff |
| 34 | 1 |
| 35 | 0 |