llvm-project/llvm/tools/llvm-profgen
wlei a8a38ef3d9 [llvm-profgen] Fix bug of loop scope mismatch
One performance issue happened in profile generation and it turned out the line 525 loop is the bottleneck.
Moving the code outside of loop scope can fix this issue. The run time is improved from 30+mins to ~30s.

Reviewed By: hoy, wenlei

Differential Revision: https://reviews.llvm.org/D107529
2021-08-05 16:52:57 -07:00
..
CMakeLists.txt [CSSPGO] Migrate and refactor the decoder of Pseudo Probe 2021-08-04 09:21:34 -07:00
CSPreInliner.cpp [CSSPGO] Fix an invalid hash table reference issue in the CS preinliner. 2021-06-18 11:54:23 -07:00
CSPreInliner.h [CSSPGO][llvm-profgen] Context-sensitive global pre-inliner 2021-03-29 09:46:14 -07:00
CallContext.h [CSSPGO][llvm-profgen] Instruction symbolization 2020-11-20 14:26:27 -08:00
ErrorHandling.h [llvm] Replace LLVM_ATTRIBUTE_NORETURN with C++11 [[noreturn]] 2021-07-28 09:31:14 -07:00
PerfReader.cpp [CSSPGO] Migrate and refactor the decoder of Pseudo Probe 2021-08-04 09:21:34 -07:00
PerfReader.h [CSSPGO] Migrate and refactor the decoder of Pseudo Probe 2021-08-04 09:21:34 -07:00
ProfileGenerator.cpp [llvm-profgen] Fix bug of loop scope mismatch 2021-08-05 16:52:57 -07:00
ProfileGenerator.h [CSSPGO] Migrate and refactor the decoder of Pseudo Probe 2021-08-04 09:21:34 -07:00
ProfiledBinary.cpp [CSSPGO] Migrate and refactor the decoder of Pseudo Probe 2021-08-04 09:21:34 -07:00
ProfiledBinary.h [CSSPGO] Migrate and refactor the decoder of Pseudo Probe 2021-08-04 09:21:34 -07:00
llvm-profgen.cpp [llvm-profgen] Refactor PerfReader to allow different types of perf scripts 2021-08-02 17:18:47 -07:00