llvm.org GIT mirror llvm / 1baa88e
Prune and tidy #includes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51697 91177308-0d34-0410-b5e6-96231b3b80d8 Dan Gohman 12 years ago
14 changed file(s) with 8 addition(s) and 21 deletion(s). Raw diff Collapse all Expand all
1616 #include "llvm/Support/MathExtras.h"
1717 #include
1818 #include
19 #include
2019 #include
2120
2221 namespace llvm {
6463
6564 /// BitVector default ctor - Creates an empty bitvector.
6665 BitVector() : Size(0), Capacity(0) {
67 Bits = NULL;
66 Bits = 0;
6867 }
6968
7069 /// BitVector ctor - Creates a bitvector of specified number of bits. All
8079 /// BitVector copy ctor.
8180 BitVector(const BitVector &RHS) : Size(RHS.size()) {
8281 if (Size == 0) {
83 Bits = NULL;
82 Bits = 0;
8483 Capacity = 0;
8584 return;
8685 }
2323 #include "llvm/Pass.h"
2424 #include "llvm/Analysis/LoopInfo.h"
2525 #include "llvm/Support/DataTypes.h"
26 #include "llvm/Support/Streams.h"
27 #include <set>
26 #include <iosfwd>
2827
2928 namespace llvm {
3029 class APInt;
1313 #ifndef LLVM_ANALYSIS_SCALAREVOLUTION_EXPANDER_H
1414 #define LLVM_ANALYSIS_SCALAREVOLUTION_EXPANDER_H
1515
16 #include "llvm/BasicBlock.h"
17 #include "llvm/Constants.h"
1816 #include "llvm/Instructions.h"
1917 #include "llvm/Type.h"
2018 #include "llvm/Analysis/ScalarEvolution.h"
2119 #include "llvm/Analysis/ScalarEvolutionExpressions.h"
22 #include "llvm/Support/CFG.h"
2320
2421 namespace llvm {
2522 /// SCEVExpander - This class uses information about analyze scalars to
2222
2323 #include "llvm/ADT/SmallVector.h"
2424 #include "llvm/Support/Allocator.h"
25 #include "llvm/Support/Streams.h"
2625 #include
27 #include
2826 #include
2927
3028 namespace llvm {
1717 #define LLVM_CODEGEN_MACHINECODEEMITTER_H
1818
1919 #include "llvm/Support/DataTypes.h"
20 #include
2120
2221 namespace llvm {
2322
1717
1818 #include "llvm/CodeGen/MachineOperand.h"
1919 #include "llvm/CodeGen/MachineMemOperand.h"
20 #include
2021
2122 namespace llvm {
2223
1414 #define LLVM_CODEGEN_MACHINEOPERAND_H
1515
1616 #include "llvm/Support/DataTypes.h"
17 #include
1817 #include
1918 #include
2019
2121 #include
2222 #include
2323 #include
24 #include
2524 #include
2625
2726 namespace llvm {
1414 #define LLVM_SYSTEM_PROGRAM_H
1515
1616 #include "llvm/System/Path.h"
17 #include
1817
1918 namespace llvm {
2019 namespace sys {
1616 #ifndef LLVM_TARGET_TARGETJITINFO_H
1717 #define LLVM_TARGET_TARGETJITINFO_H
1818
19 #include
2019 #include
2120 #include "llvm/Support/DataTypes.h"
2221
1515
1616 #include "llvm/Target/TargetInstrItineraries.h"
1717 #include
18 #include <string>
18 #include <iosfwd>
1919
2020 namespace llvm {
2121
1313
1414 #ifndef LLVM_TRANSFORMS_SCALAR_H
1515 #define LLVM_TRANSFORMS_SCALAR_H
16
17 #include
1816
1917 namespace llvm {
2018
270268 // purpose "my LLVM-to-LLVM pass doesn't support the invoke instruction yet"
271269 // lowering pass.
272270 //
273 FunctionPass *createLowerInvokePass(const TargetLowering *TLI = NULL);
271 FunctionPass *createLowerInvokePass(const TargetLowering *TLI = 0);
274272 extern const PassInfo *const LowerInvokePassID;
275273
276274 //===----------------------------------------------------------------------===//
1313 #ifndef LLVM_TRANSFORMS_UTILS_FUNCTION_H
1414 #define LLVM_TRANSFORMS_UTILS_FUNCTION_H
1515
16 #include "llvm/Analysis/Dominators.h"
1716 #include "llvm/Analysis/LoopInfo.h"
1817 #include
1918
2019 namespace llvm {
2120 class BasicBlock;
21 class DominatorTree;
2222 class Function;
2323
2424 /// ExtractCodeRegion - rip out a sequence of basic blocks into a new function
1717 #include "llvm/AbstractTypeUser.h"
1818 #include "llvm/Use.h"
1919 #include "llvm/Support/Casting.h"
20 #include "llvm/Support/Streams.h"
20 #include
2121 #include
2222
2323 namespace llvm {