llvm.org GIT mirror llvm / be583b9
Included assert.h so that the code compiles under newer versions of GCC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6682 91177308-0d34-0410-b5e6-96231b3b80d8 John Criswell 17 years ago
69 changed file(s) with 115 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
1515 #define SUPPORT_ANNOTATION_H
1616
1717 #include
18 #include
1819 class AnnotationID;
1920 class Annotation;
2021 class Annotable;
3030 #include
3131 #include
3232
33 #include
3334
3435 #define WORDSIZE (32U)
3536
1717 #include
1818 #include
1919 #include "boost/type_traits/object_traits.hpp"
20
21 #include
2022
2123 /// cl Namespace - This namespace contains all of the command line option
2224 /// processing machinery. It is intentionally a short name to make qualified
2020 #include
2121 #include
2222
23 #include
2324
2425 //--------------------------------------------------------------------------
2526 // class SCC : A simple representation of an SCC in a generic Graph.
2727 #include
2828 #include
2929 #include
30
31 #include
3032
3133 class TimerGroup;
3234
88 #define LLVM_SUPPORT_TREE_H
99
1010 #include
11
12 #include
1113
1214 template
1315 class Tree {
3030 #include
3131 #include
3232
33 #include
3334
3435 #define WORDSIZE (32U)
3536
2020 #include
2121 #include
2222
23 #include
2324
2425 //--------------------------------------------------------------------------
2526 // class SCC : A simple representation of an SCC in a generic Graph.
88 #define LLVM_SUPPORT_TREE_H
99
1010 #include
11
12 #include
1113
1214 template
1315 class Tree {
88
99 #ifndef LLVM_ANALYSIS_ALIASSETTRACKER_H
1010 #define LLVM_ANALYSIS_ALIASSETTRACKER_H
11
12 #include
1113
1214 #include "llvm/Support/CallSite.h"
1315 #include "Support/iterator"
4040 #ifndef LLVM_ANALYSIS_CALLGRAPH_H
4141 #define LLVM_ANALYSIS_CALLGRAPH_H
4242
43 #include
44
4345 #include "Support/GraphTraits.h"
4446 #include "Support/STLExtras.h"
4547 #include "llvm/Pass.h"
77
88 #ifndef LLVM_ANALYSIS_CONSTANTSSCANNER_H
99 #define LLVM_ANALYSIS_CONSTANTSSCANNER_H
10
11 #include
1012
1113 #include "llvm/Support/InstIterator.h"
1214 #include "llvm/Instruction.h"
55
66 #ifndef LLVM_ANALYSIS_DSGRAPH_H
77 #define LLVM_ANALYSIS_DSGRAPH_H
8
9 #include
810
911 #include "llvm/Analysis/DSNode.h"
1012
77
88 #ifndef LLVM_ANALYSIS_DSGRAPHTRAITS_H
99 #define LLVM_ANALYSIS_DSGRAPHTRAITS_H
10
11 #include
1012
1113 #include "llvm/Analysis/DSGraph.h"
1214 #include "Support/GraphTraits.h"
55
66 #ifndef LLVM_ANALYSIS_DSNODE_H
77 #define LLVM_ANALYSIS_DSNODE_H
8
9 #include
810
911 #include "llvm/Analysis/DSSupport.h"
1012 template
55
66 #ifndef LLVM_ANALYSIS_DSSUPPORT_H
77 #define LLVM_ANALYSIS_DSSUPPORT_H
8
9 #include
810
911 #include
1012 #include
55
66 #ifndef LLVM_ANALYSIS_DSGRAPH_H
77 #define LLVM_ANALYSIS_DSGRAPH_H
8
9 #include
810
911 #include "llvm/Analysis/DSNode.h"
1012
77
88 #ifndef LLVM_ANALYSIS_DSGRAPHTRAITS_H
99 #define LLVM_ANALYSIS_DSGRAPHTRAITS_H
10
11 #include
1012
1113 #include "llvm/Analysis/DSGraph.h"
1214 #include "Support/GraphTraits.h"
55
66 #ifndef LLVM_ANALYSIS_DSNODE_H
77 #define LLVM_ANALYSIS_DSNODE_H
8
9 #include
810
911 #include "llvm/Analysis/DSSupport.h"
1012 template
55
66 #ifndef LLVM_ANALYSIS_DSSUPPORT_H
77 #define LLVM_ANALYSIS_DSSUPPORT_H
8
9 #include
810
911 #include
1012 #include
55
66 #ifndef LLVM_ANALYSIS_DATA_STRUCTURE_H
77 #define LLVM_ANALYSIS_DATA_STRUCTURE_H
8
9 #include
810
911 #include "llvm/Pass.h"
1012 #include "Support/HashExtras.h"
55
66 #ifndef LLVM_ANALYSIS_DATA_STRUCTURE_H
77 #define LLVM_ANALYSIS_DATA_STRUCTURE_H
8
9 #include
810
911 #include "llvm/Pass.h"
1012 #include "Support/HashExtras.h"
2121 #include
2222 #include
2323 #include
24
25 #include
2426
2527 class Instruction;
2628 class Function;
1919
2020 #include "llvm/Pass.h"
2121 #include
22 #include
2223 class Instruction;
2324
2425 template struct GraphTraits;
3737
3838 #ifndef LLVM_ANALYSIS_IPMODREF_H
3939 #define LLVM_ANALYSIS_IPMODREF_H
40
41 #include
4042
4143 #include "llvm/Pass.h"
4244 #include "Support/BitSetVector.h"
1818 #include "llvm/Function.h"
1919 #include "Support/Tree.h"
2020 #include
21 #include
2122
2223 template class InstTreeNode;
2324 template class InstForest;
3232 #include
3333 #include
3434 #include
35 #include
3536
3637 // getNodeHeader - Given a source graph node and the source graph, return the
3738 // BasicBlock that is the header node. This is the opposite of
1919 #include "Support/NonCopyable.h"
2020 #include "Support/hash_map"
2121
22 #include
2223
2324 class Instruction;
2425 class Function;
3939 #include "Support/NonCopyable.h"
4040 #include
4141
42 #include
4243
4344 class Instruction;
4445 class Function;
2020
2121 #include "llvm/Instruction.h"
2222 #include "Support/HashExtras.h"
23 #include
2324
2425 class Constant;
2526 class BasicBlock;
77 #define LLVM_CODEGEN_INSTR_SELECTION_H
88
99 #include "llvm/Instruction.h"
10 #include
1011 class Function;
1112 class InstrForest;
1213 class MachineInstr;
2323
2424 #include "llvm/CodeGen/MachineFunctionPass.h"
2525 #include
26 #include
2627
2728 class MRegisterInfo;
2829
1919
2020 #include "Support/Annotation.h"
2121 #include
22 #include
23
2224 class MachineInstr;
2325 class Instruction;
2426 class Value;
3434 class TargetRegisterClass;
3535 class MachineFunction;
3636 #include
37 #include
3738
3839 class MachineFrameInfo {
3940
1212 #include "Support/Annotation.h"
1313 #include "Support/iterator"
1414 #include
15 #include
16
1517 class Value;
1618 class Function;
1719 class MachineBasicBlock;
88
99 #include "llvm/CodeGen/MachineInstr.h"
1010 #include "llvm/Target/TargetRegInfo.h"
11
12 #include
1113
1214 class Value;
1315 class TmpInstruction;
1010 #define LLVM_CODEGEN_SSAREGMAP_H
1111
1212 #include "llvm/Target/MRegisterInfo.h"
13
14 #include
1315
1416 class TargetRegisterClass;
1517
66 #ifndef LLVM_CONSTANT_H
77 #define LLVM_CONSTANT_H
88
9 #include
910 #include "llvm/User.h"
1011
1112 class Constant : public User {
3131
3232 #ifndef LLVM_CONSTANTHANDLING_H
3333 #define LLVM_CONSTANTHANDLING_H
34
35 #include
3436
3537 #include "llvm/Constants.h"
3638 #include "llvm/Type.h"
66
77 #ifndef LLVM_CONSTANTS_H
88 #define LLVM_CONSTANTS_H
9
10 #include
911
1012 #include "llvm/Constant.h"
1113 #include "Support/DataTypes.h"
99
1010 #ifndef LLVM_DERIVED_TYPES_H
1111 #define LLVM_DERIVED_TYPES_H
12
13 #include
1214
1315 #include "llvm/Type.h"
1416
1111
1212 #ifndef LLVM_GLOBAL_VARIABLE_H
1313 #define LLVM_GLOBAL_VARIABLE_H
14
15 #include
1416
1517 #include "llvm/GlobalValue.h"
1618 class Module;
66
77 #ifndef LLVM_INSTRUCTION_H
88 #define LLVM_INSTRUCTION_H
9
10 #include
911
1012 #include "llvm/User.h"
1113 template struct ilist_traits;
2020
2121 #ifndef LLVM_PASS_H
2222 #define LLVM_PASS_H
23
24 #include
2325
2426 #include
2527 #include
1313
1414 // No need to include Pass.h, we are being included by it!
1515
16
16 #include
1717
1818 //===----------------------------------------------------------------------===//
1919 // AnalysisUsage - Represent the analysis usage information of a pass. This
1212
1313 #ifndef LLVM_PASS_SUPPORT_H
1414 #define LLVM_PASS_SUPPORT_H
15
16 #include
1517
1618 // No need to include Pass.h, we are being included by it!
1719
1515 #define SUPPORT_ANNOTATION_H
1616
1717 #include
18 #include
1819 class AnnotationID;
1920 class Annotation;
2021 class Annotable;
1111 #include "llvm/Function.h"
1212 #include "llvm/InstrTypes.h"
1313 #include "Support/iterator"
14
15 #include
1416
1517 //===--------------------------------------------------------------------===//
1618 // BasicBlock pred_iterator definition
1717 #include
1818 #include
1919 #include "boost/type_traits/object_traits.hpp"
20
21 #include
2022
2123 /// cl Namespace - This namespace contains all of the command line option
2224 /// processing machinery. It is intentionally a short name to make qualified
4343 #define LLVM_SUPPORT_INSTVISITOR_H
4444
4545 #include "llvm/Instruction.h"
46 #include
47
4648 class Module;
4749
4850 // We operate on opaque instruction classes, so forward declare all instruction
1919 #include "llvm/Pass.h"
2020 #include
2121 #include
22 #include
2223
2324 //===----------------------------------------------------------------------===//
2425 // PassNameParser class - Make use of the pass registration mechanism to
2727 #include
2828 #include
2929 #include
30
31 #include
3032
3133 class TimerGroup;
3234
1414
1515 #ifndef LLVM_SYMBOL_TABLE_H
1616 #define LLVM_SYMBOL_TABLE_H
17
18 #include
1719
1820 #include "llvm/Value.h"
1921 #include
77 #define LLVM_TARGET_TARGETCACHEINFO_H
88
99 #include "Support/DataTypes.h"
10 #include
11
1012 class TargetMachine;
1113
1214 struct TargetCacheInfo {
88
99 #include "Support/DataTypes.h"
1010 #include
11 #include
1112
1213 class MachineInstr;
1314 class TargetMachine;
99
1010 #include "Support/hash_map"
1111 #include
12 #include
1213
1314 class TargetMachine;
1415 class IGNode;
99 #include "llvm/Target/TargetInstrInfo.h"
1010 #include "Support/hash_map"
1111 #include
12 #include
1213
1314 typedef long long cycles_t;
1415 static const cycles_t HUGE_LATENCY = ~((long long) 1 << (sizeof(cycles_t)-2));
1010
1111 #ifndef LLVM_USER_H
1212 #define LLVM_USER_H
13
14 #include
1315
1416 #include "llvm/Value.h"
1517
66
77 #ifndef LLVM_IOTHER_H
88 #define LLVM_IOTHER_H
9
10 #include
911
1012 #include "llvm/InstrTypes.h"
1113
55
66 #ifndef LLVM_IPHINODE_H
77 #define LLVM_IPHINODE_H
8
9 #include
810
911 #include "llvm/Instruction.h"
1012 class BasicBlock;
77
88 #ifndef LLVM_ITERMINATORS_H
99 #define LLVM_ITERMINATORS_H
10
11 #include
1012
1113 #include "llvm/InstrTypes.h"
1214
2525 #define IG_NODE_H
2626
2727 #include "llvm/CodeGen/LiveRange.h"
28 #include
2829 class RegClass;
2930
3031 //----------------------------------------------------------------------------
1212
1313 #include "llvm/CodeGen/ValueSet.h"
1414 #include "llvm/Value.h"
15
16 #include
1517
1618 class RegClass;
1719 class IGNode;
1919
2020 #include "Support/Annotation.h"
2121 #include
22 #include
23
2224 class MachineInstr;
2325 class Instruction;
2426 class Value;
88
99 #include "llvm/CodeGen/MachineInstr.h"
1010 #include "llvm/Target/TargetRegInfo.h"
11
12 #include
1113
1214 class Value;
1315 class TmpInstruction;
2525 #define IG_NODE_H
2626
2727 #include "llvm/CodeGen/LiveRange.h"
28 #include
2829 class RegClass;
2930
3031 //----------------------------------------------------------------------------
1212
1313 #include "llvm/CodeGen/ValueSet.h"
1414 #include "llvm/Value.h"
15
16 #include
1517
1618 class RegClass;
1719 class IGNode;
3131
3232 #ifndef LLVM_CONSTANTHANDLING_H
3333 #define LLVM_CONSTANTHANDLING_H
34
35 #include
3436
3537 #include "llvm/Constants.h"
3638 #include "llvm/Type.h"
3131
3232 #ifndef LLVM_CONSTANTHANDLING_H
3333 #define LLVM_CONSTANTHANDLING_H
34
35 #include
3436
3537 #include "llvm/Constants.h"
3638 #include "llvm/Type.h"