diff options
Diffstat (limited to 'contrib/llvm-project/llvm/lib/IR/LegacyPassManager.cpp')
-rw-r--r-- | contrib/llvm-project/llvm/lib/IR/LegacyPassManager.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/contrib/llvm-project/llvm/lib/IR/LegacyPassManager.cpp b/contrib/llvm-project/llvm/lib/IR/LegacyPassManager.cpp index 4357c95aa9f6..08cf909a83f9 100644 --- a/contrib/llvm-project/llvm/lib/IR/LegacyPassManager.cpp +++ b/contrib/llvm-project/llvm/lib/IR/LegacyPassManager.cpp @@ -12,28 +12,27 @@ #include "llvm/IR/LegacyPassManager.h" #include "llvm/ADT/MapVector.h" -#include "llvm/ADT/Statistic.h" #include "llvm/IR/DiagnosticInfo.h" #include "llvm/IR/IRPrintingPasses.h" #include "llvm/IR/LLVMContext.h" #include "llvm/IR/LegacyPassManagers.h" -#include "llvm/IR/LegacyPassNameParser.h" #include "llvm/IR/Module.h" #include "llvm/IR/PassTimingInfo.h" #include "llvm/IR/PrintPasses.h" -#include "llvm/IR/StructuralHash.h" #include "llvm/Support/Chrono.h" #include "llvm/Support/CommandLine.h" #include "llvm/Support/Debug.h" #include "llvm/Support/Error.h" #include "llvm/Support/ErrorHandling.h" -#include "llvm/Support/ManagedStatic.h" -#include "llvm/Support/Mutex.h" #include "llvm/Support/TimeProfiler.h" #include "llvm/Support/Timer.h" #include "llvm/Support/raw_ostream.h" #include <algorithm> -#include <unordered_set> + +#ifdef EXPENSIVE_CHECKS +#include "llvm/IR/StructuralHash.h" +#endif + using namespace llvm; // See PassManagers.h for Pass Manager infrastructure overview. |