[clang-doc] Parallelize reducing phase
authorDiego Astiazaran <diegoaat97@gmail.com>
Wed, 7 Aug 2019 20:54:26 +0000 (20:54 +0000)
committerDiego Astiazaran <diegoaat97@gmail.com>
Wed, 7 Aug 2019 20:54:26 +0000 (20:54 +0000)
commit6ab28e8cbae103ff137f1bd86b4888cb3e61a4be
treeb40b74b566b36d7091d65315e3ef0a6c51048cde
parent4cd04547f52e5e31eb04a29b66ca847ca7fc17d5
[clang-doc] Parallelize reducing phase

Reduce phase has been parallelized and a execution time was reduced by
60% with this.
The reading of bitcode (bitcode -> Info) was moved to this segment of
code parallelized so it now happens just before reducing.

Differential Revision: https://reviews.llvm.org/D65628

llvm-svn: 368206
clang-tools-extra/clang-doc/tool/ClangDocMain.cpp