[OPENMP]Reduce calls for the mangled names.
authorAlexey Bataev <a.bataev@hotmail.com>
Tue, 7 Jan 2020 19:11:45 +0000 (14:11 -0500)
committerAlexey Bataev <a.bataev@hotmail.com>
Tue, 7 Jan 2020 19:28:17 +0000 (14:28 -0500)
commit45588428910a7cbcf58317b874dad18b580c9ce5
treef296d1bf4e3c0726f374e0c0cb9c4a5e89eddb57
parentacd258082477b8a4edf3037127efb5fed4494da3
[OPENMP]Reduce calls for the mangled names.

Use canonical decls instead of mangled names in the set of already
emitted decls. This allows to reduce the number of function calls for
getting declarations mangled names and speedup the compilation.
clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/lib/CodeGen/CGOpenMPRuntime.h