[PATCH] D60741: Remove some more unused headers from MachineFunction.h and friends.

Eric Christopher via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 15 18:04:17 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL358468: Remove some more unused headers from MachineFunction.h and friends. (authored by echristo, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D60741?vs=195276&id=195283#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60741/new/

https://reviews.llvm.org/D60741

Files:
  llvm/trunk/include/llvm/CodeGen/MachineFunction.h
  llvm/trunk/include/llvm/CodeGen/MachineMemOperand.h
  llvm/trunk/include/llvm/CodeGen/PseudoSourceValue.h


Index: llvm/trunk/include/llvm/CodeGen/MachineMemOperand.h
===================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineMemOperand.h
+++ llvm/trunk/include/llvm/CodeGen/MachineMemOperand.h
@@ -18,8 +18,6 @@
 #include "llvm/ADT/BitmaskEnum.h"
 #include "llvm/ADT/PointerUnion.h"
 #include "llvm/CodeGen/PseudoSourceValue.h"
-#include "llvm/IR/Instructions.h"
-#include "llvm/IR/Metadata.h"
 #include "llvm/IR/Value.h" // PointerLikeTypeTraits<Value*>
 #include "llvm/Support/AtomicOrdering.h"
 #include "llvm/Support/DataTypes.h"
Index: llvm/trunk/include/llvm/CodeGen/MachineFunction.h
===================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineFunction.h
+++ llvm/trunk/include/llvm/CodeGen/MachineFunction.h
@@ -30,10 +30,6 @@
 #include "llvm/CodeGen/MachineBasicBlock.h"
 #include "llvm/CodeGen/MachineInstr.h"
 #include "llvm/CodeGen/MachineMemOperand.h"
-#include "llvm/IR/DebugLoc.h"
-#include "llvm/IR/Instructions.h"
-#include "llvm/IR/Metadata.h"
-#include "llvm/MC/MCSymbol.h"
 #include "llvm/Support/Allocator.h"
 #include "llvm/Support/ArrayRecycler.h"
 #include "llvm/Support/AtomicOrdering.h"
@@ -51,6 +47,7 @@
 class BasicBlock;
 class BlockAddress;
 class DataLayout;
+class DebugLoc;
 class DIExpression;
 class DILocalVariable;
 class DILocation;
@@ -65,6 +62,7 @@
 class MachineRegisterInfo;
 class MCContext;
 class MCInstrDesc;
+class MCSymbol;
 class Pass;
 class PseudoSourceValueManager;
 class raw_ostream;
Index: llvm/trunk/include/llvm/CodeGen/PseudoSourceValue.h
===================================================================
--- llvm/trunk/include/llvm/CodeGen/PseudoSourceValue.h
+++ llvm/trunk/include/llvm/CodeGen/PseudoSourceValue.h
@@ -15,7 +15,6 @@
 
 #include "llvm/ADT/StringMap.h"
 #include "llvm/IR/GlobalValue.h"
-#include "llvm/IR/Value.h"
 #include "llvm/IR/ValueMap.h"
 #include <map>
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60741.195283.patch
Type: text/x-patch
Size: 1937 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190416/b78b9897/attachment.bin>


More information about the llvm-commits mailing list