From fa03afb24a06785d0e1aa2df8f6890f2c3663de7 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Sun, 7 Jun 2020 13:16:31 +0100 Subject: [PATCH] MemorySSAUpdater.h - reduce includes to forward declarations. NFC. --- include/llvm/Analysis/MemorySSAUpdater.h | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/include/llvm/Analysis/MemorySSAUpdater.h b/include/llvm/Analysis/MemorySSAUpdater.h index fc6ef7f0529..141c0e57e63 100644 --- a/include/llvm/Analysis/MemorySSAUpdater.h +++ b/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 namespace llvm { class BasicBlock; -class Function; +class BranchInst; +class DominatorTree; class Instruction; class LoopBlocksRPO; -class LLVMContext; -class raw_ostream; +class WeakVH; using ValueToValueMapTy = ValueMap; using PhiToDefMap = SmallDenseMap;