[llvm] 9c81c23 - PassTimingInfo.h - remove unused includes. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 23 08:21:53 PDT 2020
Author: Simon Pilgrim
Date: 2020-07-23T16:20:13+01:00
New Revision: 9c81c2372d8063fc2227f42db274656241c09cb6
URL: https://github.com/llvm/llvm-project/commit/9c81c2372d8063fc2227f42db274656241c09cb6
DIFF: https://github.com/llvm/llvm-project/commit/9c81c2372d8063fc2227f42db274656241c09cb6.diff
LOG: PassTimingInfo.h - remove unused includes. NFC.
Remove duplicate includes from PassTimingInfo.cpp that already exist in PassTimingInfo.h
Added:
Modified:
llvm/include/llvm/IR/PassTimingInfo.h
llvm/lib/IR/PassTimingInfo.cpp
Removed:
################################################################################
diff --git a/llvm/include/llvm/IR/PassTimingInfo.h b/llvm/include/llvm/IR/PassTimingInfo.h
index b70850fd64d7..a42d6aa3bede 100644
--- a/llvm/include/llvm/IR/PassTimingInfo.h
+++ b/llvm/include/llvm/IR/PassTimingInfo.h
@@ -17,11 +17,13 @@
#include "llvm/ADT/Any.h"
#include "llvm/ADT/DenseMap.h"
+#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Timer.h"
-#include "llvm/Support/TypeName.h"
#include <memory>
+#include <utility>
+
namespace llvm {
class Pass;
diff --git a/llvm/lib/IR/PassTimingInfo.cpp b/llvm/lib/IR/PassTimingInfo.cpp
index 25275e5733ac..829c3e8ea9ad 100644
--- a/llvm/lib/IR/PassTimingInfo.cpp
+++ b/llvm/lib/IR/PassTimingInfo.cpp
@@ -16,9 +16,7 @@
//===----------------------------------------------------------------------===//
#include "llvm/IR/PassTimingInfo.h"
-#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/Statistic.h"
-#include "llvm/ADT/StringRef.h"
#include "llvm/IR/PassInstrumentation.h"
#include "llvm/Pass.h"
#include "llvm/Support/CommandLine.h"
@@ -26,9 +24,8 @@
#include "llvm/Support/FormatVariadic.h"
#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/Mutex.h"
-#include "llvm/Support/Timer.h"
+#include "llvm/Support/TypeName.h"
#include "llvm/Support/raw_ostream.h"
-#include <memory>
#include <string>
using namespace llvm;
More information about the llvm-commits
mailing list