diff --git a/llvm/lib/Transforms/Instrumentation/CFGMST.h b/llvm/include/llvm/Transforms/Instrumentation/CFGMST.h similarity index 98% rename from llvm/lib/Transforms/Instrumentation/CFGMST.h rename to llvm/include/llvm/Transforms/Instrumentation/CFGMST.h index 2abe8d12de3c..a4d2efd821c7 100644 --- a/llvm/lib/Transforms/Instrumentation/CFGMST.h +++ b/llvm/include/llvm/Transforms/Instrumentation/CFGMST.h @@ -11,8 +11,8 @@ // //===----------------------------------------------------------------------===// -#ifndef LLVM_LIB_TRANSFORMS_INSTRUMENTATION_CFGMST_H -#define LLVM_LIB_TRANSFORMS_INSTRUMENTATION_CFGMST_H +#ifndef LLVM_TRANSFORMS_INSTRUMENTATION_CFGMST_H +#define LLVM_TRANSFORMS_INSTRUMENTATION_CFGMST_H #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/STLExtras.h" @@ -300,4 +300,4 @@ public: #undef DEBUG_TYPE // "cfgmst" -#endif // LLVM_LIB_TRANSFORMS_INSTRUMENTATION_CFGMST_H +#endif // LLVM_TRANSFORMS_INSTRUMENTATION_CFGMST_H diff --git a/llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp b/llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp index 332dd2eba880..acb9e8e3a775 100644 --- a/llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp +++ b/llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp @@ -13,7 +13,6 @@ // //===----------------------------------------------------------------------===// -#include "CFGMST.h" #include "llvm/ADT/Hashing.h" #include "llvm/ADT/MapVector.h" #include "llvm/ADT/STLExtras.h" @@ -38,6 +37,7 @@ #include "llvm/Support/Regex.h" #include "llvm/Support/raw_ostream.h" #include "llvm/Transforms/Instrumentation.h" +#include "llvm/Transforms/Instrumentation/CFGMST.h" #include "llvm/Transforms/Instrumentation/GCOVProfiler.h" #include "llvm/Transforms/Utils/ModuleUtils.h" #include diff --git a/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp b/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp index 673cc0c6c36f..34fb5ed3bba7 100644 --- a/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp +++ b/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp @@ -48,7 +48,6 @@ //===----------------------------------------------------------------------===// #include "llvm/Transforms/Instrumentation/PGOInstrumentation.h" -#include "CFGMST.h" #include "ValueProfileCollector.h" #include "llvm/ADT/APInt.h" #include "llvm/ADT/ArrayRef.h" @@ -114,6 +113,7 @@ #include "llvm/TargetParser/Triple.h" #include "llvm/Transforms/Instrumentation.h" #include "llvm/Transforms/Instrumentation/BlockCoverageInference.h" +#include "llvm/Transforms/Instrumentation/CFGMST.h" #include "llvm/Transforms/Utils/BasicBlockUtils.h" #include "llvm/Transforms/Utils/MisExpect.h" #include "llvm/Transforms/Utils/ModuleUtils.h"