[ScopDetect] Expand statistics of the detected scops
authorTobias Grosser <tobias@grosser.es>
Sat, 26 Nov 2016 07:37:46 +0000 (07:37 +0000)
committerTobias Grosser <tobias@grosser.es>
Sat, 26 Nov 2016 07:37:46 +0000 (07:37 +0000)
commitb45ae5601b2ed631ce7a60dcf6ebe7413bd64abd
tree328b8bb5118c64197a5bc7e908304dd229e04d77
parent53b33de1e3f9d64691eff438d55da889ea4df04d
[ScopDetect] Expand statistics of the detected scops

We now collect:

  Number of total loops
  Number of loops in scops
  Number of scops
  Number of scops with maximal loop depth 1
  Number of scops with maximal loop depth 2
  Number of scops with maximal loop depth 3
  Number of scops with maximal loop depth 4
  Number of scops with maximal loop depth 5
  Number of scops with maximal loop depth 6 and larger
  Number of loops in scops (profitable scops only)
  Number of scops (profitable scops only)
  Number of scops with maximal loop depth 1 (profitable scops only)
  Number of scops with maximal loop depth 2 (profitable scops only)
  Number of scops with maximal loop depth 3 (profitable scops only)
  Number of scops with maximal loop depth 4 (profitable scops only)
  Number of scops with maximal loop depth 5 (profitable scops only)
  Number of scops with maximal loop depth 6 and larger (profitable scops only)

These statistics are certainly completely accurate as we might drop scops
when building up their polyhedral representation, but they should give a good
indication of the number of scops we detect.

llvm-svn: 287973
polly/include/polly/ScopDetection.h
polly/lib/Analysis/ScopDetection.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