Displaying 1 result from an estimated 1 matches for "test_suite_profile_generate".
2020 Oct 01
3
How to get the loop hotness data in a suite ?
Hi everybody,
I'm trying to get loop hotness data across a suite (e.g. the llvm
test-suite). Ideally,
this would be a list that for each loop would list how many times it was
entered and what
was its iteration count (at least the latter). The closest thing I could
come up with is:
- clang -fprofile-instr-generate (without opts) to get a .profraw
- Get the .profdata
- Give that back to clang