Make headers standalone.
authorBenjamin Kramer <benny.kra@googlemail.com>
Mon, 14 Nov 2011 17:45:03 +0000 (17:45 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Mon, 14 Nov 2011 17:45:03 +0000 (17:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144537 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/InlineCost.h
include/llvm/Assembly/AssemblyAnnotationWriter.h
include/llvm/CodeGen/FastISel.h
include/llvm/CodeGen/MachineBlockFrequencyInfo.h
include/llvm/CodeGen/MachineMemOperand.h
include/llvm/MC/MCAsmLayout.h

index 36a16e68df0769d16c8ed7937f7180bdcd13d0c7..fdcd5a82c5bf6849fe2d27a11692451e82cb2eba 100644 (file)
 #ifndef LLVM_ANALYSIS_INLINECOST_H
 #define LLVM_ANALYSIS_INLINECOST_H
 
-#include <cassert>
-#include <climits>
-#include <vector>
+#include "llvm/Function.h"
 #include "llvm/ADT/DenseMap.h"
 #include "llvm/ADT/ValueMap.h"
 #include "llvm/Analysis/CodeMetrics.h"
+#include <cassert>
+#include <climits>
+#include <vector>
 
 namespace llvm {
 
-  class Value;
-  class Function;
-  class BasicBlock;
   class CallSite;
   template<class PtrType, unsigned SmallSize>
   class SmallPtrSet;
index 6d1bc8c29ad51bb0f521e94b5f827f15cd65ec53..fa8cdde2fc5e0af5db04df455f7d42adecc78820 100644 (file)
@@ -22,6 +22,7 @@ namespace llvm {
 class Function;
 class BasicBlock;
 class Instruction;
+class Value;
 class raw_ostream;
 class formatted_raw_ostream;
 
index 18202d93b460bdd7ac28f16591ffeeea8c7bdaba..5cb7d8a6f40f5c54a6f451d6a5cbdfebbc100ea3 100644 (file)
 namespace llvm {
 
 class AllocaInst;
+class Constant;
 class ConstantFP;
 class FunctionLoweringInfo;
 class Instruction;
+class LoadInst;
 class MachineBasicBlock;
 class MachineConstantPool;
 class MachineFunction;
@@ -36,7 +38,8 @@ class TargetLowering;
 class TargetMachine;
 class TargetRegisterClass;
 class TargetRegisterInfo;
-class LoadInst;
+class User;
+class Value;
 
 /// FastISel - This is a fast-path instruction selection class that
 /// generates poor code and doesn't support illegal types or non-trivial
index 416d40bf30987a8c2893e29ff414b2c2616c7368..3d9d196a7538f040eb6161ee7f3541c4eb7531e9 100644 (file)
@@ -20,6 +20,7 @@
 
 namespace llvm {
 
+class MachineBasicBlock;
 class MachineBranchProbabilityInfo;
 template<class BlockT, class FunctionT, class BranchProbInfoT>
 class BlockFrequencyImpl;
@@ -28,7 +29,8 @@ class BlockFrequencyImpl;
 /// machine basic block frequencies.
 class MachineBlockFrequencyInfo : public MachineFunctionPass {
 
-  BlockFrequencyImpl<MachineBasicBlock, MachineFunction, MachineBranchProbabilityInfo> *MBFI;
+  BlockFrequencyImpl<MachineBasicBlock, MachineFunction,
+                     MachineBranchProbabilityInfo> *MBFI;
 
 public:
   static char ID;
index c01597ea67bf7cb06cc83b4f7f1538042fcf3344..eed4a76a34ebd92d5281591c0fe451d1faee054b 100644 (file)
@@ -22,6 +22,7 @@ namespace llvm {
 
 class Value;
 class FoldingSetNodeID;
+class MDNode;
 class raw_ostream;
 
 /// MachinePointerInfo - This class contains a discriminated union of
index a4585d1f1953d7cb3195c2c6bcff80086aafe03d..cf79216d076a29d4cd0312a6eb167eadb3d5f68e 100644 (file)
@@ -10,6 +10,7 @@
 #ifndef LLVM_MC_MCASMLAYOUT_H
 #define LLVM_MC_MCASMLAYOUT_H
 
+#include "llvm/ADT/DenseMap.h"
 #include "llvm/ADT/SmallVector.h"
 
 namespace llvm {