[ScopDetection] Add stat for total number of loops.
commit304c14dca1331c6a50dd445f1f325d618602aa83
authorMichael Kruse <llvm@meinersbur.de>
Tue, 22 Aug 2017 17:09:51 +0000 (22 17:09 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Tue, 22 Aug 2017 17:09:51 +0000 (22 17:09 +0000)
treea6d66b3d1eaddd6aa6ab0d0236ebea9bac838dad
parentda144211710e84ceed4d6c5d2c84dab654e2ae85
[ScopDetection] Add stat for total number of loops.

The total number of loops is useful as a baseline comparing how many
loops have been optimized in different configurations.

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@311469 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScopDetection.cpp
test/ScopDetect/statistics.ll