[llvm] 6602e4c - MemorySSAUpdater.h - reduce includes to forward declarations. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 7 05:16:56 PDT 2020
Author: Simon Pilgrim
Date: 2020-06-07T13:16:31+01:00
New Revision: 6602e4ca4b47340a280c8d5488f11e2f9655796b
URL: https://github.com/llvm/llvm-project/commit/6602e4ca4b47340a280c8d5488f11e2f9655796b
DIFF: https://github.com/llvm/llvm-project/commit/6602e4ca4b47340a280c8d5488f11e2f9655796b.diff
LOG: MemorySSAUpdater.h - reduce includes to forward declarations. NFC.
Added:
Modified:
llvm/include/llvm/Analysis/MemorySSAUpdater.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Analysis/MemorySSAUpdater.h b/llvm/include/llvm/Analysis/MemorySSAUpdater.h
index fc6ef7f05290..141c0e57e633 100644
--- a/llvm/include/llvm/Analysis/MemorySSAUpdater.h
+++ b/llvm/include/llvm/Analysis/MemorySSAUpdater.h
@@ -36,26 +36,19 @@
#include "llvm/ADT/SmallSet.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Analysis/MemorySSA.h"
-#include "llvm/IR/OperandTraits.h"
-#include "llvm/IR/Type.h"
-#include "llvm/IR/Use.h"
-#include "llvm/IR/User.h"
-#include "llvm/IR/Value.h"
#include "llvm/IR/ValueHandle.h"
#include "llvm/IR/ValueMap.h"
-#include "llvm/Pass.h"
#include "llvm/Support/CFGDiff.h"
-#include "llvm/Support/Casting.h"
-#include "llvm/Support/ErrorHandling.h"
+#include <utility>
namespace llvm {
class BasicBlock;
-class Function;
+class BranchInst;
+class DominatorTree;
class Instruction;
class LoopBlocksRPO;
-class LLVMContext;
-class raw_ostream;
+class WeakVH;
using ValueToValueMapTy = ValueMap<const Value *, WeakTrackingVH>;
using PhiToDefMap = SmallDenseMap<MemoryPhi *, MemoryAccess *>;
More information about the llvm-commits
mailing list