MemorySSAUpdater.h - reduce includes to forward declarations. NFC.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 7 Jun 2020 12:16:31 +0000 (13:16 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 7 Jun 2020 12:16:31 +0000 (13:16 +0100)
llvm/include/llvm/Analysis/MemorySSAUpdater.h

index fc6ef7f..141c0e5 100644 (file)
 #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 *>;