mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-24 22:30:13 +00:00
[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
This commit is contained in:
parent
28adee04d1
commit
a8dd375cbf
@ -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
|
@ -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 <algorithm>
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user