llvm.org GIT mirror llvm / f4bf809
Add header guards to some headers that are missing them Also adjust some of dsymutil's headers to put the header guards at the top, otherwise the compiler will not recognize them as header guards. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@341323 91177308-0d34-0410-b5e6-96231b3b80d8 Argyrios Kyrtzidis 2 years ago
10 changed file(s) with 42 addition(s) and 12 deletion(s). Raw diff Collapse all Expand all
88 //
99 // This file implements defines a visitor class and a helper function that find
1010 // all indirect call-sites in a function.
11
12 #ifndef LLVM_ANALYSIS_INDIRECTCALLSITEVISITOR_H
13 #define LLVM_ANALYSIS_INDIRECTCALLSITEVISITOR_H
1114
1215 #include "llvm/IR/InstVisitor.h"
1316 #include
3235 return ICV.IndirectCallInsts;
3336 }
3437 }
38
39 #endif
1111 //
1212 //===----------------------------------------------------------------------===//
1313
14 #ifndef LLVM_LIB_TARGET_ARM_ARMMACROFUSION_H
15 #define LLVM_LIB_TARGET_ARM_ARMMACROFUSION_H
16
1417 #include "llvm/CodeGen/MachineScheduler.h"
1518
1619 namespace llvm {
2124 std::unique_ptr createARMMacroFusionDAGMutation();
2225
2326 } // llvm
27
28 #endif
1111 //
1212 //===----------------------------------------------------------------------===//
1313
14 #ifndef LLVM_LIB_TARGET_X86_X86MACROFUSION_H
15 #define LLVM_LIB_TARGET_X86_X86MACROFUSION_H
16
1417 #include "llvm/CodeGen/MachineScheduler.h"
1518
1619 namespace llvm {
2225 createX86MacroFusionDAGMutation();
2326
2427 } // end namespace llvm
28
29 #endif
1111 // * Truncate instruction
1212 //
1313 //===----------------------------------------------------------------------===//
14
15 #ifndef LLVM_LIB_TRANSFORMS_AGGRESSIVEINSTCOMBINE_COMBINEINTERNAL_H
16 #define LLVM_LIB_TRANSFORMS_AGGRESSIVEINSTCOMBINE_COMBINEINTERNAL_H
1417
1518 #include "llvm/ADT/MapVector.h"
1619 #include "llvm/ADT/STLExtras.h"
118121 void ReduceExpressionDag(Type *SclTy);
119122 };
120123 } // end namespace llvm.
124
125 #endif
55 // License. See LICENSE.TXT for details.
66 //
77 //===----------------------------------------------------------------------===//
8
9 #ifndef LLVM_TOOLS_DSYMUTIL_CFBUNDLE_H
10 #define LLVM_TOOLS_DSYMUTIL_CFBUNDLE_H
811
912 #include "llvm/ADT/StringRef.h"
1013 #include
2326
2427 } // end namespace dsymutil
2528 } // end namespace llvm
29
30 #endif
66 //
77 //===----------------------------------------------------------------------===//
88
9 #ifndef LLVM_TOOLS_DSYMUTIL_COMPILEUNIT_H
10 #define LLVM_TOOLS_DSYMUTIL_COMPILEUNIT_H
11
912 #include "llvm/ADT/IntervalMap.h"
1013 #include "llvm/CodeGen/DIE.h"
1114 #include "llvm/DebugInfo/DWARF/DWARFUnit.h"
12
13 #ifndef LLVM_TOOLS_DSYMUTIL_COMPILEUNIT_H
14 #define LLVM_TOOLS_DSYMUTIL_COMPILEUNIT_H
1515
1616 namespace llvm {
1717 namespace dsymutil {
66 //
77 //===----------------------------------------------------------------------===//
88
9 #ifndef LLVM_TOOLS_DSYMUTIL_DECLCONTEXT_H
10 #define LLVM_TOOLS_DSYMUTIL_DECLCONTEXT_H
11
912 #include "CompileUnit.h"
1013 #include "NonRelocatableStringpool.h"
1114 #include "llvm/ADT/DenseMap.h"
1417 #include "llvm/ADT/StringRef.h"
1518 #include "llvm/DebugInfo/DWARF/DWARFDie.h"
1619 #include "llvm/Support/Path.h"
17
18 #ifndef LLVM_TOOLS_DSYMUTIL_DECLCONTEXT_H
19 #define LLVM_TOOLS_DSYMUTIL_DECLCONTEXT_H
2020
2121 namespace llvm {
2222 namespace dsymutil {
55 // License. See LICENSE.TXT for details.
66 //
77 //===----------------------------------------------------------------------===//
8
9 #ifndef LLVM_TOOLS_DSYMUTIL_DWARFSTREAMER_H
10 #define LLVM_TOOLS_DSYMUTIL_DWARFSTREAMER_H
811
912 #include "CompileUnit.h"
1013 #include "DebugMap.h"
3033 #include "llvm/MC/MCTargetOptions.h"
3134 #include "llvm/Target/TargetMachine.h"
3235 #include "llvm/Target/TargetOptions.h"
33
34 #ifndef LLVM_TOOLS_DSYMUTIL_DWARFSTREAMER_H
35 #define LLVM_TOOLS_DSYMUTIL_DWARFSTREAMER_H
3636
3737 namespace llvm {
3838 namespace dsymutil {
99 // Common graph data structure for testing.
1010 //
1111 //===----------------------------------------------------------------------===//
12
13 #ifndef LLVM_UNITTESTS_ADT_TEST_GRAPH_H
14 #define LLVM_UNITTESTS_ADT_TEST_GRAPH_H
1215
1316 #include "llvm/ADT/GraphTraits.h"
1417 #include
1518 #include
1619 #include
17
18 #ifndef LLVM_UNITTESTS_ADT_TEST_GRAPH_H
19 #define LLVM_UNITTESTS_ADT_TEST_GRAPH_H
2020
2121 namespace llvm {
2222
55 // License. See LICENSE.TXT for details.
66 //
77 //===----------------------------------------------------------------------===//
8
9 #ifndef LLVM_UNITTESTS_TOOLS_LLVMEXEGESIS_ASSEMBLERUTILS_H
10 #define LLVM_UNITTESTS_TOOLS_LLVMEXEGESIS_ASSEMBLERUTILS_H
811
912 #include "Assembler.h"
1013 #include "BenchmarkRunner.h"
8487 };
8588
8689 } // namespace exegesis
90
91 #endif