[PGO] Move CFGMST.h into the include directory
authorChristian Ulmann <christian.ulmann@nextsilicon.com>
Thu, 27 Apr 2023 14:06:26 +0000 (14:06 +0000)
committerChristian Ulmann <christian.ulmann@nextsilicon.com>
Thu, 27 Apr 2023 14:11:04 +0000 (14:11 +0000)
commita8dd375cbfc898ea47bafc732f55c2bd83afae69
treeb3abc627562aa29d10ac5db7fe660fb2de0552d7
parent28adee04d1fc049d0191e6168898e75fc5d4cc2d
[PGO] Move CFGMST.h into the include directory

This commit moves the CFGMST.h file into the include directory. The
implemented algorithm is can be helpful for downstream projects that
want to use the PGO data in a non-standard way.

Reviewed By: gysit

Differential Revision: https://reviews.llvm.org/D149336
llvm/include/llvm/Transforms/Instrumentation/CFGMST.h [moved from llvm/lib/Transforms/Instrumentation/CFGMST.h with 98% similarity]
llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp
llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp