[ScopDetectionDiagnostic] Collect statistics for each diagnostic type
authorTobias Grosser <tobias@grosser.es>
Sat, 26 Nov 2016 05:53:09 +0000 (05:53 +0000)
committerTobias Grosser <tobias@grosser.es>
Sat, 26 Nov 2016 05:53:09 +0000 (05:53 +0000)
commit5c00b0dc7486eb7c08c5266b6856bb96ac78835b
tree2fa60b507d0337778e807b9a87e3dc27a1868322
parent3bfa081aa945b96e47c4118a60780c2b14fc893d
[ScopDetectionDiagnostic] Collect statistics for each diagnostic type

Our original statistics were added before we introduced a more fine-grained
diagnostic system, but the granularity of our statistics has never been
increased accordingly. This change introduces now one statistic counter per
diagnostic to enable us to collect fine-grained statistics about who certain
scops are not detected. In case coarser grained statistics are needed, the
user is expected to combine counters manually.

llvm-svn: 287968
polly/include/polly/ScopDetectionDiagnostic.h
polly/lib/Analysis/ScopDetectionDiagnostic.cpp
polly/test/ScopInfo/Alias-0.ll
polly/test/ScopInfo/Alias-1.ll
polly/test/ScopInfo/Alias-2.ll
polly/test/ScopInfo/Alias-3.ll
polly/test/ScopInfo/Alias-4.ll