llvm.org GIT mirror llvm / f6071e1
[NFC] Header cleanup Removed some unused headers, replaced some headers with forward class declarations. Found using simple scripts like this one: clear && ack --cpp -l '#include "llvm/ADT/IndexedMap.h"' | xargs grep -L 'IndexedMap[<]' | xargs grep -n --color=auto 'IndexedMap' Patch by Eugene Kosov <claprix@yandex.ru> Differential Revision: http://reviews.llvm.org/D19219 From: Mehdi Amini <mehdi.amini@apple.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266595 91177308-0d34-0410-b5e6-96231b3b80d8 Mehdi Amini 3 years ago
360 changed file(s) with 200 addition(s) and 549 deletion(s). Raw diff Collapse all Expand all
5151 #include
5252 #include
5353 #include
54 #include
5554 #include
5655 #include
5756
3737 #ifndef LLVM_ANALYSIS_ALIASANALYSIS_H
3838 #define LLVM_ANALYSIS_ALIASANALYSIS_H
3939
40 #include "llvm/ADT/DenseMap.h"
4140 #include "llvm/IR/CallSite.h"
4241 #include "llvm/IR/Metadata.h"
4342 #include "llvm/IR/PassManager.h"
4040 #define LLVM_ANALYSIS_DEPENDENCEANALYSIS_H
4141
4242 #include "llvm/ADT/SmallBitVector.h"
43 #include "llvm/ADT/ArrayRef.h"
4443 #include "llvm/Analysis/AliasAnalysis.h"
4544 #include "llvm/IR/Instructions.h"
4645 #include "llvm/Pass.h"
4746
4847 namespace llvm {
48 template class ArrayRef;
4949 class Loop;
5050 class LoopInfo;
5151 class ScalarEvolution;
2323 #ifndef LLVM_ANALYSIS_IDF_H
2424 #define LLVM_ANALYSIS_IDF_H
2525
26 #include "llvm/ADT/ArrayRef.h"
2726 #include "llvm/ADT/DenseMap.h"
2827 #include "llvm/ADT/SmallPtrSet.h"
2928 #include "llvm/ADT/SmallVector.h"
1515 #ifndef LLVM_ANALYSIS_MEMORYLOCATION_H
1616 #define LLVM_ANALYSIS_MEMORYLOCATION_H
1717
18 #include "llvm/ADT/DenseMap.h"
18 #include "llvm/ADT/DenseMapInfo.h"
1919 #include "llvm/IR/CallSite.h"
2020 #include "llvm/IR/Metadata.h"
2121
1717 #include "llvm/Analysis/PostDominators.h"
1818 #include "llvm/Analysis/RegionInfo.h"
1919 #include "llvm/Analysis/RegionIterator.h"
20 #include "llvm/Support/CommandLine.h"
2120 #include "llvm/Support/Debug.h"
2221 #include "llvm/Support/ErrorHandling.h"
2322 #include
2525 #include "llvm/ADT/SetVector.h"
2626 #include "llvm/Analysis/LoopInfo.h"
2727 #include "llvm/IR/ConstantRange.h"
28 #include "llvm/IR/Function.h"
2928 #include "llvm/IR/Instructions.h"
3029 #include "llvm/IR/Operator.h"
3130 #include "llvm/IR/PassManager.h"
3433 #include "llvm/Pass.h"
3534 #include "llvm/Support/Allocator.h"
3635 #include "llvm/Support/DataTypes.h"
37 #include
3836
3937 namespace llvm {
4038 class APInt;
5452 class SCEVExpander;
5553 class SCEVPredicate;
5654 class SCEVUnknown;
55 class Function;
5756
5857 template <> struct FoldingSetTrait;
5958 template <> struct FoldingSetTrait;
1010 #define LLVM_ANALYSIS_TARGETLIBRARYINFO_H
1111
1212 #include "llvm/ADT/DenseMap.h"
13 #include "llvm/ADT/ArrayRef.h"
1413 #include "llvm/ADT/Optional.h"
1514 #include "llvm/ADT/Triple.h"
1615 #include "llvm/IR/Function.h"
1918 #include "llvm/Pass.h"
2019
2120 namespace llvm {
21 template class ArrayRef;
22
2223 /// Describes a possible vectorization of a function.
2324 /// Function 'VectorFnName' is equivalent to 'ScalarFnName' vectorized
2425 /// by a factor 'VectorizationFactor'.
1414 #ifndef LLVM_ANALYSIS_VALUETRACKING_H
1515 #define LLVM_ANALYSIS_VALUETRACKING_H
1616
17 #include "llvm/ADT/ArrayRef.h"
1817 #include "llvm/IR/ConstantRange.h"
1918 #include "llvm/IR/Instruction.h"
2019 #include "llvm/Support/DataTypes.h"
2120
2221 namespace llvm {
22 template class ArrayRef;
2323 class APInt;
2424 class AddOperator;
2525 class AssumptionCache;
1313 #ifndef LLVM_TRANSFORMS_UTILS_VECTORUTILS_H
1414 #define LLVM_TRANSFORMS_UTILS_VECTORUTILS_H
1515
16 #include "llvm/ADT/ArrayRef.h"
1716 #include "llvm/ADT/MapVector.h"
1817 #include "llvm/Analysis/TargetLibraryInfo.h"
1918 #include "llvm/IR/IntrinsicInst.h"
2120
2221 namespace llvm {
2322
23 template class ArrayRef;
2424 struct DemandedBits;
2525 class GetElementPtrInst;
2626 class Loop;
1919 #include "llvm/ADT/SmallVector.h"
2020 #include "llvm/CodeGen/DwarfStringPoolEntry.h"
2121 #include "llvm/Support/Dwarf.h"
22 #include
2322
2423 namespace llvm {
2524 class AsmPrinter;
99 #ifndef LLVM_CODEGEN_FAULTMAPS_H
1010 #define LLVM_CODEGEN_FAULTMAPS_H
1111
12 #include "llvm/ADT/DenseMap.h"
1312 #include "llvm/MC/MCSymbol.h"
1413 #include "llvm/Support/Endian.h"
1514 #include "llvm/Support/Format.h"
1515 #define LLVM_CODEGEN_GLOBALISEL_TYPES_H
1616
1717 #include "llvm/ADT/DenseMap.h"
18 #include "llvm/ADT/SmallVector.h"
1918 #include "llvm/IR/Value.h"
2019
2120 namespace llvm {
3030 #include "llvm/Support/CommandLine.h"
3131 #include "llvm/Target/TargetRegisterInfo.h"
3232 #include
33 #include
3433
3534 namespace llvm {
3635
1717 #ifndef LLVM_CODEGEN_MIRPARSER_MIRPARSER_H
1818 #define LLVM_CODEGEN_MIRPARSER_MIRPARSER_H
1919
20 #include "llvm/ADT/StringRef.h"
2120 #include "llvm/CodeGen/MachineFunctionInitializer.h"
2221 #include "llvm/IR/Module.h"
2322 #include "llvm/Support/MemoryBuffer.h"
2524
2625 namespace llvm {
2726
27 class StringRef;
2828 class MIRParserImpl;
2929 class SMDiagnostic;
3030
1515 #ifndef LLVM_CODEGEN_MACHINEINSTR_H
1616 #define LLVM_CODEGEN_MACHINEINSTR_H
1717
18 #include "llvm/ADT/ArrayRef.h"
1918 #include "llvm/ADT/DenseMapInfo.h"
2019 #include "llvm/ADT/STLExtras.h"
21 #include "llvm/ADT/StringRef.h"
2220 #include "llvm/ADT/ilist.h"
2321 #include "llvm/ADT/ilist_node.h"
2422 #include "llvm/ADT/iterator_range.h"
3230
3331 namespace llvm {
3432
33 class StringRef;
34 template class ArrayRef;
3535 template class SmallVectorImpl;
3636 class DILocalVariable;
3737 class DIExpression;
1313 #ifndef LLVM_CODEGEN_MACHINESSAUPDATER_H
1414 #define LLVM_CODEGEN_MACHINESSAUPDATER_H
1515
16 #include "llvm/Support/Allocator.h"
1716 #include "llvm/Support/Compiler.h"
1817
1918 namespace llvm {
1414 #ifndef LLVM_CODEGEN_PBQP_GRAPH_H
1515 #define LLVM_CODEGEN_PBQP_GRAPH_H
1616
17 #include "llvm/ADT/ilist.h"
18 #include "llvm/ADT/ilist_node.h"
1917 #include "llvm/Support/Debug.h"
20 #include
21 #include
22 #include
2318 #include
2419
2520 namespace llvm {
1313 #ifndef LLVM_CODEGEN_PARALLELCG_H
1414 #define LLVM_CODEGEN_PARALLELCG_H
1515
16 #include "llvm/ADT/ArrayRef.h"
1716 #include "llvm/Support/CodeGen.h"
1817 #include "llvm/Target/TargetMachine.h"
1918
2120
2221 namespace llvm {
2322
23 template class ArrayRef;
2424 class Module;
2525 class TargetOptions;
2626 class raw_pwrite_stream;
2020 #include "llvm/CodeGen/PBQP/ReductionRules.h"
2121 #include "llvm/CodeGen/PBQPRAConstraint.h"
2222 #include "llvm/Support/ErrorHandling.h"
23 #include
2324
2425 namespace llvm {
2526
1313 #include "llvm/ADT/SmallVector.h"
1414 #include "llvm/CodeGen/MachineInstr.h"
1515 #include "llvm/MC/MCSymbol.h"
16 #include "llvm/Support/Debug.h"
17 #include
1816 #include
1917
2018 namespace llvm {
1414 #ifndef LLVM_CODEGEN_TARGETLOWERINGOBJECTFILEIMPL_H
1515 #define LLVM_CODEGEN_TARGETLOWERINGOBJECTFILEIMPL_H
1616
17 #include "llvm/ADT/StringRef.h"
1817 #include "llvm/MC/SectionKind.h"
1918 #include "llvm/Target/TargetLoweringObjectFile.h"
2019
99 #ifndef LLVM_DEBUGINFO_CODEVIEW_TYPESYMBOLEMITTER_H
1010 #define LLVM_DEBUGINFO_CODEVIEW_TYPESYMBOLEMITTER_H
1111
12 #include "llvm/ADT/StringRef.h"
1312 #include "llvm/DebugInfo/CodeView/CodeView.h"
1413 #include "llvm/DebugInfo/CodeView/TypeIndex.h"
1514
1615 namespace llvm {
16 class StringRef;
17
1718 namespace codeview {
1819
1920 class TypeSymbolEmitter {
99 #ifndef LLVM_DEBUGINFO_CODEVIEW_TYPETABLEBUILDER_H
1010 #define LLVM_DEBUGINFO_CODEVIEW_TYPETABLEBUILDER_H
1111
12 #include "llvm/ADT/StringRef.h"
1312 #include "llvm/DebugInfo/CodeView/CodeView.h"
1413 #include "llvm/DebugInfo/CodeView/TypeIndex.h"
1514 #include "llvm/DebugInfo/CodeView/TypeRecord.h"
1615 #include "llvm/Support/Compiler.h"
1716
1817 namespace llvm {
18
19 class StringRef;
20
1921 namespace codeview {
2022
2123 class FieldListRecordBuilder;
1414 #ifndef LLVM_DEBUGINFO_DICONTEXT_H
1515 #define LLVM_DEBUGINFO_DICONTEXT_H
1616
17 #include "llvm/ADT/DenseMap.h"
1817 #include "llvm/ADT/SmallVector.h"
1918 #include "llvm/Object/ObjectFile.h"
2019 #include "llvm/Object/RelocVisitor.h"
2121 #include "llvm/DebugInfo/DWARF/DWARFDebugRangeList.h"
2222 #include "llvm/DebugInfo/DWARF/DWARFSection.h"
2323 #include "llvm/DebugInfo/DWARF/DWARFTypeUnit.h"
24 #include
2524
2625 namespace llvm {
2726
1010 #define LLVM_LIB_DEBUGINFO_DWARFDEBUGABBREV_H
1111
1212 #include "llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h"
13 #include
1413 #include
1514 #include
1615
1010 #define LLVM_DEBUGINFO_DWARF_DWARFDEBUGMACRO_H
1111
1212 #include "llvm/ADT/SmallVector.h"
13 #include "llvm/ADT/StringRef.h"
1413 #include "llvm/Support/DataExtractor.h"
1514 #include "llvm/Support/Dwarf.h"
1615
99 #ifndef LLVM_DEBUGINFO_DWARFFORMVALUE_H
1010 #define LLVM_DEBUGINFO_DWARFFORMVALUE_H
1111
12 #include "llvm/ADT/ArrayRef.h"
1312 #include "llvm/ADT/Optional.h"
1413 #include "llvm/Support/DataExtractor.h"
1514
1615 namespace llvm {
1716
17 template class ArrayRef;
1818 class DWARFUnit;
1919 class raw_ostream;
2020
1010 #define LLVM_DEBUGINFO_PDB_DIA_DIASESSION_H
1111
1212 #include "DIASupport.h"
13 #include "llvm/ADT/StringRef.h"
1413 #include "llvm/DebugInfo/PDB/IPDBSession.h"
1514
1615 namespace llvm {
16 class StringRef;
17
1718 class DIASession : public IPDBSession {
1819 public:
1920 explicit DIASession(CComPtr DiaSession);
1414 #include "PDBExtras.h"
1515 #include "PDBTypes.h"
1616 #include "llvm/ADT/STLExtras.h"
17 #include "llvm/ADT/StringRef.h"
1817 #include "llvm/Support/Casting.h"
19 #include
2018
2119 #define FORWARD_SYMBOL_METHOD(MethodName) \
2220 auto MethodName() const->decltype(RawSymbol->MethodName()) { \
2523
2624 namespace llvm {
2725
26 class StringRef;
2827 class IPDBRawSymbol;
2928 class raw_ostream;
3029
1010
1111 #include "PDBSymbol.h"
1212 #include "PDBTypes.h"
13 #include
1413
1514 namespace llvm {
1615
1010
1111 #include "PDBSymbol.h"
1212 #include "PDBTypes.h"
13 #include
1413
1514 namespace llvm {
1615
1111
1212 #include "PDBSymbol.h"
1313 #include "PDBTypes.h"
14 #include
1514
1615 namespace llvm {
1716
1111
1212 #include "PDBSymbol.h"
1313 #include "PDBTypes.h"
14 #include
1514
1615 namespace llvm {
1716
1313 #define LLVM_DEBUGINFO_SYMBOLIZE_SYMBOLIZABLEMODULE_H
1414
1515 #include "llvm/DebugInfo/DIContext.h"
16 #include
17 #include
1816
1917 namespace llvm {
2018 namespace object {
1515
1616 #include "JITSymbol.h"
1717 #include "LambdaResolver.h"
18 #include "llvm/ADT/DenseSet.h"
1918 #include "llvm/ExecutionEngine/RuntimeDyld.h"
2019 #include "llvm/IR/IRBuilder.h"
2120 #include "llvm/IR/Mangler.h"
2221 #include "llvm/IR/Module.h"
22 #include "llvm/Support/Process.h"
2323 #include "llvm/Transforms/Utils/ValueMapper.h"
24 #include "llvm/Support/Process.h"
25 #include
2624
2725 namespace llvm {
2826 namespace orc {
1717 #include "llvm/ADT/STLExtras.h"
1818 #include "llvm/ExecutionEngine/RuntimeDyld.h"
1919 #include
20 #include
2120
2221 namespace llvm {
2322 namespace orc {
1515
1616 #include "RuntimeDyld.h"
1717 #include "llvm-c/ExecutionEngine.h"
18 #include "llvm/ADT/StringRef.h"
1918 #include "llvm/Support/CBindingWrapping.h"
2019 #include "llvm/Support/Memory.h"
2120
1515
1616 #include "JITSymbolFlags.h"
1717 #include "llvm/ADT/STLExtras.h"
18 #include "llvm/ADT/StringRef.h"
18 #include "llvm/DebugInfo/DIContext.h"
1919 #include "llvm/Object/ObjectFile.h"
2020 #include "llvm/Support/Memory.h"
21 #include "llvm/DebugInfo/DIContext.h"
2221 #include
2322 #include
2423
2524 namespace llvm {
25
26 class StringRef;
2627
2728 namespace object {
2829 class ObjectFile;
99 #ifndef LLVM_EXECUTIONENGINE_RUNTIMEDYLDCHECKER_H
1010 #define LLVM_EXECUTIONENGINE_RUNTIMEDYLDCHECKER_H
1111
12 #include "llvm/ADT/StringRef.h"
1312 #include
1413
1514 namespace llvm {
1615
16 class StringRef;
1717 class MCDisassembler;
1818 class MemoryBuffer;
1919 class MCInstPrinter;
1515 #define LLVM_IR_IRBUILDER_H
1616
1717 #include "llvm/ADT/ArrayRef.h"
18 #include "llvm/ADT/StringRef.h"
1918 #include "llvm/ADT/Twine.h"
2019 #include "llvm/IR/BasicBlock.h"
2120 #include "llvm/IR/ConstantFolder.h"
3029 #include "llvm/Support/CBindingWrapping.h"
3130
3231 namespace llvm {
32 class StringRef;
3333 class MDNode;
3434
3535 /// \brief This provides the default implementation of the IRBuilder
1818 #include "llvm/ADT/SmallPtrSet.h"
1919 #include "llvm/ADT/SmallVector.h"
2020 #include "llvm/Pass.h"
21 #include
2221 #include
2322
2423 //===----------------------------------------------------------------------===//
2727 #include "llvm/ADT/PointerIntPair.h"
2828 #include "llvm/Support/CBindingWrapping.h"
2929 #include
30 #include
3130
3231 namespace llvm {
3332
1414 #ifndef LLVM_IRREADER_IRREADER_H
1515 #define LLVM_IRREADER_IRREADER_H
1616
17 #include "llvm/Support/MemoryBuffer.h"
18 #include <string>
17 #include <memory>
1918
2019 namespace llvm {
2120
21 class StringRef;
22 class MemoryBufferRef;
2223 class Module;
2324 class SMDiagnostic;
2425 class LLVMContext;
3535 #define LLVM_LTO_LTOCODEGENERATOR_H
3636
3737 #include "llvm-c/lto.h"
38 #include "llvm/ADT/ArrayRef.h"
3938 #include "llvm/ADT/SmallPtrSet.h"
4039 #include "llvm/ADT/StringMap.h"
4140 #include "llvm/ADT/StringSet.h"
4746 #include
4847
4948 namespace llvm {
49 template class ArrayRef;
5050 class LLVMContext;
5151 class DiagnosticInfo;
5252 class Linker;
1616 #define LLVM_LTO_THINLTOCODEGENERATOR_H
1717
1818 #include "llvm-c/lto.h"
19 #include "llvm/ADT/StringRef.h"
2019 #include "llvm/ADT/StringSet.h"
2120 #include "llvm/ADT/Triple.h"
2221 #include "llvm/Support/CodeGen.h"
2625 #include
2726
2827 namespace llvm {
28 class StringRef;
2929 class ModuleSummaryIndex;
3030 class LLVMContext;
3131 class TargetMachine;
1414 #ifndef LLVM_LIBDRIVER_LIBDRIVER_H
1515 #define LLVM_LIBDRIVER_LIBDRIVER_H
1616
17 #include "llvm/ADT/ArrayRef.h"
17 namespace llvm {
18 template class ArrayRef;
1819
19 namespace llvm {
20
21 int libDriverMain(llvm::ArrayRef ARgs);
22
20 int libDriverMain(ArrayRef ARgs);
2321 }
2422
2523 #endif
2828 class MCObjectWriter;
2929 class MCSection;
3030 class MCValue;
31 class raw_ostream;
31 class raw_pwrite_stream;
3232
3333 /// Generic interface to target specific assembler backends.
3434 class MCAsmBackend {
99 #define LLVM_MC_MCDISASSEMBLER_MCDISASSEMBLER_H
1010
1111 #include "llvm-c/Disassembler.h"
12 #include "llvm/ADT/ArrayRef.h"
1312 #include "llvm/MC/MCDisassembler/MCSymbolizer.h"
1413 #include "llvm/Support/DataTypes.h"
1514
1615 namespace llvm {
1716
17 template class ArrayRef;
1818 class MCInst;
1919 class MCSubtargetInfo;
2020 class raw_ostream;
1414 #ifndef LLVM_MC_MCDWARF_H
1515 #define LLVM_MC_MCDWARF_H
1616
17 #include "llvm/ADT/ArrayRef.h"
1817 #include "llvm/ADT/MapVector.h"
1918 #include "llvm/ADT/StringMap.h"
2019 #include "llvm/ADT/StringRef.h"
2120 #include "llvm/MC/MCSection.h"
22 #include "llvm/Support/Compiler.h"
2321 #include "llvm/Support/Dwarf.h"
24 #include "llvm/Support/raw_ostream.h"
25 #include
2622 #include
2723 #include
2824 #include
2925
3026 namespace llvm {
27 template class ArrayRef;
28 class raw_ostream;
3129 class MCAsmBackend;
3230 class MCContext;
3331 class MCObjectStreamer;
1414 #include "llvm/MC/MCObjectStreamer.h"
1515 #include "llvm/MC/SectionKind.h"
1616 #include "llvm/Support/DataTypes.h"
17 #include
1817
1918 namespace llvm {
2019 class MCAsmBackend;
99 #ifndef LLVM_MC_MCINSTPRINTER_H
1010 #define LLVM_MC_MCINSTPRINTER_H
1111
12 #include "llvm/ADT/ArrayRef.h"
1312 #include "llvm/Support/DataTypes.h"
1413 #include "llvm/Support/Format.h"
1514
1615 namespace llvm {
16 template class ArrayRef;
1717 class MCInst;
1818 class raw_ostream;
1919 class MCAsmInfo;
1010 #define LLVM_MC_MCMACHOBJECTWRITER_H
1111
1212 #include "llvm/ADT/DenseMap.h"
13 #include "llvm/ADT/SmallString.h"
1413 #include "llvm/MC/MCExpr.h"
1514 #include "llvm/MC/MCSection.h"
1615 #include "llvm/MC/MCObjectWriter.h"
1414 #define LLVM_MC_MCSECTION_H
1515
1616 #include "llvm/ADT/SmallVector.h"
17 #include "llvm/ADT/StringRef.h"
1817 #include "llvm/ADT/ilist.h"
1918 #include "llvm/ADT/ilist_node.h"
2019 #include "llvm/MC/MCFragment.h"
1313 #ifndef LLVM_MC_MCSUBTARGETINFO_H
1414 #define LLVM_MC_MCSUBTARGETINFO_H
1515
16 #include "llvm/ADT/ArrayRef.h"
1617 #include "llvm/MC/MCInstrItineraries.h"
1718 #include "llvm/MC/SubtargetFeature.h"
1819 #include
1616
1717 #include "llvm/MC/MCWinEH.h"
1818 #include "llvm/Support/Win64EH.h"
19 #include
2019
2120 namespace llvm {
2221 class MCStreamer;
1717 #ifndef LLVM_MC_SUBTARGETFEATURE_H
1818 #define LLVM_MC_SUBTARGETFEATURE_H
1919
20 #include "llvm/ADT/ArrayRef.h"
2120 #include "llvm/ADT/Triple.h"
2221 #include "llvm/Support/DataTypes.h"
2322 #include
23 #include
2424
2525 namespace llvm {
26 template class ArrayRef;
2627 class raw_ostream;
2728 class StringRef;
2829
1313 #ifndef LLVM_OBJECT_ELFOBJECTFILE_H
1414 #define LLVM_OBJECT_ELFOBJECTFILE_H
1515
16 #include "llvm/ADT/DenseMap.h"
17 #include "llvm/ADT/PointerIntPair.h"
1816 #include "llvm/ADT/SmallVector.h"
19 #include "llvm/ADT/StringSwitch.h"
2017 #include "llvm/ADT/Triple.h"
2118 #include "llvm/Object/ELF.h"
2219 #include "llvm/Object/ObjectFile.h"
2522 #include "llvm/Support/Endian.h"
2623 #include "llvm/Support/ErrorHandling.h"
2724 #include "llvm/Support/MemoryBuffer.h"
28 #include "llvm/Support/raw_ostream.h"
2925 #include
3026 #include
31 #include
3227 #include
3328
3429 namespace llvm {
1313 #ifndef LLVM_OBJECT_MACHOUNIVERSAL_H
1414 #define LLVM_OBJECT_MACHOUNIVERSAL_H
1515
16 #include "llvm/ADT/StringRef.h"
1716 #include "llvm/ADT/Triple.h"
1817 #include "llvm/ADT/iterator_range.h"
1918 #include "llvm/Object/Archive.h"
2322 #include "llvm/Support/MachO.h"
2423
2524 namespace llvm {
25 class StringRef;
26
2627 namespace object {
2728
2829 class MachOUniversalBinary : public Binary {
2020 #include "llvm/Support/FileSystem.h"
2121 #include "llvm/Support/MemoryBuffer.h"
2222 #include
23 #include
2423
2524 namespace llvm {
2625 namespace object {
1515 #ifndef LLVM_OBJECT_RELOCVISITOR_H
1616 #define LLVM_OBJECT_RELOCVISITOR_H
1717
18 #include "llvm/ADT/StringRef.h"
1918 #include "llvm/Object/COFF.h"
2019 #include "llvm/Object/ELFObjectFile.h"
2120 #include "llvm/Object/MachO.h"
1010 #define LLVM_CODEGEN_STACKMAPPARSER_H
1111
1212 #include "llvm/ADT/ArrayRef.h"
13 #include "llvm/Support/Debug.h"
1413 #include "llvm/Support/Endian.h"
15 #include
1614 #include
1715
1816 namespace llvm {
1919 #define LLVM_PASSANALYSISSUPPORT_H
2020
2121 #include "llvm/ADT/SmallVector.h"
22 #include "llvm/ADT/StringRef.h"
2322 #include "llvm/Pass.h"
2423 #include
2524
2625 namespace llvm {
26 class StringRef;
2727
2828 //===----------------------------------------------------------------------===//
2929 /// Represent the analysis usage information of a pass. This tracks analyses
1919 #include "llvm/ADT/DenseMap.h"
2020 #include "llvm/ADT/SmallPtrSet.h"
2121 #include "llvm/ADT/StringMap.h"
22 #include "llvm/ADT/StringRef.h"
2322 #include "llvm/PassInfo.h"
2423 #include "llvm/Support/CBindingWrapping.h"
2524 #include "llvm/Support/RWMutex.h"
2726
2827 namespace llvm {
2928
29 class StringRef;
3030 class PassInfo;
3131 struct PassRegistrationListener;
3232
2525 #include "llvm/PassInfo.h"
2626 #include "llvm/PassRegistry.h"
2727 #include "llvm/Support/Atomic.h"
28 #include "llvm/Support/Compiler.h"
29 #include
3028
3129 namespace llvm {
3230
1515 #ifndef LLVM_PASSES_PASSBUILDER_H
1616 #define LLVM_PASSES_PASSBUILDER_H
1717
18 #include "llvm/ADT/StringRef.h"
1918 #include "llvm/Analysis/CGSCCPassManager.h"
2019 #include "llvm/Analysis/LoopPassManager.h"
2120 #include "llvm/IR/PassManager.h"
2221
2322 namespace llvm {
23 class StringRef;
2424 class AAManager;
2525 class TargetMachine;
2626
2929 #include "llvm/Support/MathExtras.h"
3030 #include
3131 #include
32 #include
3332 #include
3433 #include
3534
1414 #ifndef LLVM_PROFILEDATA_PROFILE_COMMON_H
1515 #define LLVM_PROFILEDATA_PROFILE_COMMON_H
1616
17 #include "llvm/ADT/APInt.h"
1817 #include
1918 #include
2019 #include
179179 /*************************************************************************/
180180 /* Below are LLVM-specific wrappers of the functions above. */
181181
182 #include "llvm/ADT/ArrayRef.h"
183 #include "llvm/ADT/StringRef.h"
182 #include
183 #include
184184
185185 namespace llvm {
186 template class ArrayRef;
187 template class SmallVectorImpl;
188 class StringRef;
186189
187190 /**
188191 * Convert an UTF8 StringRef to UTF8, UTF16, or UTF32 depending on
1010 #define LLVM_SUPPORT_CRASHRECOVERYCONTEXT_H
1111
1212 #include "llvm/ADT/STLExtras.h"
13 #include
1413
1514 namespace llvm {
1615 class CrashRecoveryContextCleanup;
1919 #ifndef LLVM_SUPPORT_DWARF_H
2020 #define LLVM_SUPPORT_DWARF_H
2121
22 #include "llvm/ADT/StringRef.h"
2322 #include "llvm/Support/Compiler.h"
2423 #include "llvm/Support/DataTypes.h"
2524
2625 namespace llvm {
26 class StringRef;
2727
2828 namespace dwarf {
2929
1414 #ifndef LLVM_SUPPORT_ERRORHANDLING_H
1515 #define LLVM_SUPPORT_ERRORHANDLING_H
1616
17 #include "llvm/ADT/StringRef.h"
1817 #include "llvm/Support/Compiler.h"
1918 #include
2019
2120 namespace llvm {
21 class StringRef;
2222 class Twine;
2323
2424 /// An error handler callback.
2626 #ifndef LLVM_SUPPORT_JAMCRC_H
2727 #define LLVM_SUPPORT_JAMCRC_H
2828
29 #include "llvm/ADT/ArrayRef.h"
3029 #include "llvm/Support/DataTypes.h"
3130
3231 namespace llvm {
32 template class ArrayRef;
33
3334 class JamCRC {
3435 public:
3536 JamCRC(uint32_t Init = 0xFFFFFFFFU) : CRC(Init) {}
0 #ifndef LLVM_SUPPORT_LOCALE_H
11 #define LLVM_SUPPORT_LOCALE_H
22
3 #include "llvm/ADT/StringRef.h"
3 namespace llvm {
4 class StringRef;
45
5 namespace llvm {
66 namespace sys {
77 namespace locale {
88
1010
1111 #include "llvm/ADT/Optional.h"
1212 #include "llvm/ADT/SmallString.h"
13 #include "llvm/ADT/StringRef.h"
1413 #include
1514 #include // for std::pair
1615
1716 namespace llvm {
17 class StringRef;
18
1819 /// \brief Class that manages the creation of a lock file to aid
1920 /// implicit coordination between different processes.
2021 ///
2727 #ifndef LLVM_SUPPORT_MD5_H
2828 #define LLVM_SUPPORT_MD5_H
2929
30 #include "llvm/ADT/ArrayRef.h"
3130 #include "llvm/ADT/SmallString.h"
3231 #include "llvm/Support/DataTypes.h"
3332 #include "llvm/Support/Endian.h"
3433
3534 namespace llvm {
35 template class ArrayRef;
3636
3737 class MD5 {
3838 // Any 32-bit or wider unsigned integer data type will do.
1818 #include
1919 #include
2020 #include
21 #include
2122
2223 #ifdef _MSC_VER
2324 #include
1515 #ifndef LLVM_SUPPORT_PATH_H
1616 #define LLVM_SUPPORT_PATH_H
1717
18 #include "llvm/ADT/SmallString.h"
1918 #include "llvm/ADT/Twine.h"
2019 #include "llvm/Support/DataTypes.h"
2120 #include
2424 #ifndef LLVM_SUPPORT_PROCESS_H
2525 #define LLVM_SUPPORT_PROCESS_H
2626
27 #include "llvm/ADT/ArrayRef.h"
2827 #include "llvm/ADT/Optional.h"
2928 #include "llvm/Config/llvm-config.h"
3029 #include "llvm/Support/Allocator.h"
3332 #include
3433
3534 namespace llvm {
35 template class ArrayRef;
3636 class StringRef;
3737
3838 namespace sys {
1515 #ifndef LLVM_SUPPORT_RANDOMNUMBERGENERATOR_H_
1616 #define LLVM_SUPPORT_RANDOMNUMBERGENERATOR_H_
1717
18 #include "llvm/ADT/StringRef.h"
1918 #include "llvm/Support/Compiler.h"
2019 #include "llvm/Support/DataTypes.h" // Needed for uint64_t on Windows.
2120 #include
2221
2322 namespace llvm {
23 class StringRef;
2424
2525 /// A random number generator.
2626 ///
1515 #ifndef LLVM_SUPPORT_SHA1_H
1616 #define LLVM_SUPPORT_SHA1_H
1717
18 #include "llvm/ADT/ArrayRef.h"
19 #include "llvm/ADT/StringRef.h"
20
2118 #include
2219
2320 namespace llvm {
21 template class ArrayRef;
22 class StringRef;
2423
2524 /// A class that wrap the SHA1 algorithm.
2625 class SHA1 {
1717 #include "llvm/Support/Compiler.h"
1818 #include "llvm/Support/DataTypes.h"
1919 #include
20 #include
2120
2221 namespace llvm {
2322 namespace sys {
1414 #ifndef LLVM_SUPPORT_UNICODE_H
1515 #define LLVM_SUPPORT_UNICODE_H
1616
17 #include "llvm/ADT/StringRef.h"
17 namespace llvm {
18 class StringRef;
1819
19 namespace llvm {
2020 namespace sys {
2121 namespace unicode {
2222
4040 #include "llvm/ADT/StringRef.h"
4141 #include "llvm/Support/Allocator.h"
4242 #include "llvm/Support/SMLoc.h"
43 #include
4443 #include
4544 #include
4645
99 #ifndef LLVM_SUPPORT_YAMLTRAITS_H
1010 #define LLVM_SUPPORT_YAMLTRAITS_H
1111
12 #include "llvm/ADT/DenseMap.h"
13 #include "llvm/ADT/DenseMapInfo.h"
1412 #include "llvm/ADT/Optional.h"
1513 #include "llvm/ADT/SmallVector.h"
1614 #include "llvm/ADT/StringMap.h"
1515
1616 #include "llvm/Support/raw_ostream.h"
1717 #include "llvm/Support/SHA1.h"
18 #include "llvm/ADT/ArrayRef.h"
1819
1920 namespace llvm {
2021
1616 #include "llvm/CodeGen/ValueTypes.h"
1717 #include "llvm/Support/DataTypes.h"
1818 #include "llvm/Support/MathExtras.h"
19 #include
2019 #include
2120
2221 namespace llvm {
1616
1717 #include "llvm/Target/TargetRecip.h"
1818 #include "llvm/MC/MCTargetOptions.h"
19 #include
2019
2120 namespace llvm {
2221 class MachineFunction;
2020 #include "llvm/CodeGen/MachineValueType.h"
2121 #include "llvm/IR/CallingConv.h"
2222 #include "llvm/MC/MCRegisterInfo.h"
23 #include "llvm/Support/CommandLine.h"
2423 #include "llvm/Support/Printable.h"
2524 #include
2625 #include
1414 #ifndef LLVM_TRANSFORMS_IPO_WHOLEPROGRAMDEVIRT_H
1515 #define LLVM_TRANSFORMS_IPO_WHOLEPROGRAMDEVIRT_H
1616
17 #include "llvm/ADT/ArrayRef.h"
1817 #include
1918 #include
2019 #include
2221
2322 namespace llvm {
2423
24 template class ArrayRef;
25 template class MutableArrayRef;
2526 class Function;
2627 class GlobalVariable;
2728
1414 #ifndef LLVM_TRANSFORMS_IPO_H
1515 #define LLVM_TRANSFORMS_IPO_H
1616
17 #include "llvm/ADT/ArrayRef.h"
18 #include "llvm/ADT/StringRef.h"
19 #include "llvm/ADT/StringSet.h"
20
2117 #include
18 #include
2219
2320 namespace llvm {
2421
22 class StringRef;
2523 class ModuleSummaryIndex;
2624 class ModulePass;
2725 class Pass;
1414 #ifndef LLVM_TRANSFORMS_SCALAR_H
1515 #define LLVM_TRANSFORMS_SCALAR_H
1616
17 #include "llvm/ADT/StringRef.h"
1817 #include
1918
2019 namespace llvm {
1414 #ifndef LLVM_TRANSFORMS_UTILS_CODEEXTRACTOR_H
1515 #define LLVM_TRANSFORMS_UTILS_CODEEXTRACTOR_H
1616
17 #include "llvm/ADT/ArrayRef.h"
1817 #include "llvm/ADT/SetVector.h"
1918
2019 namespace llvm {
20 template class ArrayRef;
2121 class BasicBlock;
2222 class DominatorTree;
2323 class Function;
1313 #ifndef LLVM_TRANSFORMS_UTILS_MODULEUTILS_H
1414 #define LLVM_TRANSFORMS_UTILS_MODULEUTILS_H
1515
16 #include "llvm/ADT/ArrayRef.h"
1716 #include "llvm/ADT/StringRef.h"
1817 #include // for std::pair
1918
2019 namespace llvm {
2120
21 template class ArrayRef;
2222 class Module;
2323 class Function;
2424 class GlobalValue;
1414 #ifndef LLVM_TRANSFORMS_UTILS_PROMOTEMEMTOREG_H
1515 #define LLVM_TRANSFORMS_UTILS_PROMOTEMEMTOREG_H
1616
17 #include "llvm/ADT/ArrayRef.h"
18
1917 namespace llvm {
2018
19 template class ArrayRef;
2120 class AllocaInst;
2221 class DominatorTree;
2322 class AliasSetTracker;
1313 #ifndef LLVM_TRANSFORMS_UTILS_SSAUPDATER_H
1414 #define LLVM_TRANSFORMS_UTILS_SSAUPDATER_H
1515
16 #include "llvm/ADT/ArrayRef.h"
1716 #include "llvm/ADT/StringRef.h"
1817 #include "llvm/Support/Compiler.h"
1918
2120 class BasicBlock;
2221 class Instruction;
2322 class LoadInst;
24 template class SmallVectorImpl;
25 template class SSAUpdaterTraits;
23 template class ArrayRef;
24 template class SmallVectorImpl;
25 template class SSAUpdaterTraits;
2626 class PHINode;
2727 class Type;
2828 class Use;
1616 #define LLVM_TRANSFORMS_UTILS_SIMPLIFYINDVAR_H
1717
1818 #include "llvm/IR/ValueHandle.h"
19 #include "llvm/Support/CommandLine.h"
2019
2120 namespace llvm {
2221
1515 #define LLVM_TRANSFORMS_UTILS_SIMPLIFYLIBCALLS_H
1616
1717 #include "llvm/ADT/STLExtras.h"
18 #include "llvm/ADT/StringRef.h"
1918 #include "llvm/Analysis/TargetLibraryInfo.h"
2019 #include "llvm/IR/IRBuilder.h"
2120
2221 namespace llvm {
22 class StringRef;
2323 class Value;
2424 class CallInst;
2525 class DataLayout;
1515 #ifndef LLVM_TRANSFORMS_UTILS_UNROLLLOOP_H
1616 #define LLVM_TRANSFORMS_UTILS_UNROLLLOOP_H
1717
18 #include "llvm/ADT/StringRef.h"
1918
2019 namespace llvm {
2120
21 class StringRef;
2222 class AssumptionCache;
2323 class DominatorTree;
2424 class Loop;
3434
3535 #include "llvm/Analysis/CFLAliasAnalysis.h"
3636 #include "StratifiedSets.h"
37 #include "llvm/ADT/BitVector.h"
3837 #include "llvm/ADT/DenseMap.h"
3938 #include "llvm/ADT/None.h"
4039 #include "llvm/ADT/Optional.h"
4342 #include "llvm/IR/InstVisitor.h"
4443 #include "llvm/IR/Instructions.h"
4544 #include "llvm/Pass.h"
46 #include "llvm/Support/Allocator.h"
4745 #include "llvm/Support/Compiler.h"
4846 #include "llvm/Support/Debug.h"
4947 #include "llvm/Support/ErrorHandling.h"
77 //===----------------------------------------------------------------------===//
88
99 #include "llvm/Analysis/CGSCCPassManager.h"
10 #include "llvm/Support/CommandLine.h"
11 #include "llvm/Support/Debug.h"
1210
1311 using namespace llvm;
1412
1313 //
1414 //===----------------------------------------------------------------------===//
1515
16 #include "llvm/IR/Constants.h"
1716 #include "llvm/Analysis/LoopInfo.h"
1817 #include "llvm/Analysis/Passes.h"
1918 #include "llvm/Analysis/ScalarEvolution.h"
2019 #include "llvm/Analysis/ScalarEvolutionExpressions.h"
20 #include "llvm/IR/Constants.h"
2121 #include "llvm/IR/DerivedTypes.h"
2222 #include "llvm/IR/Function.h"
2323 #include "llvm/IR/InstIterator.h"
2525 #include "llvm/IR/LLVMContext.h"
2626 #include "llvm/IR/Type.h"
2727 #include "llvm/Pass.h"
28 #include "llvm/Support/CommandLine.h"
2928 #include "llvm/Support/Debug.h"
3029 #include "llvm/Support/raw_ostream.h"
3130
1919 //===----------------------------------------------------------------------===//
2020
2121 #include "llvm/Analysis/DemandedBits.h"
22 #include "llvm/ADT/DenseMap.h"
2322 #include "llvm/ADT/DepthFirstIterator.h"
2423 #include "llvm/ADT/SmallPtrSet.h"
2524 #include "llvm/ADT/SmallVector.h"
7272 #include "llvm/IR/Instructions.h"
7373 #include "llvm/IR/IntrinsicInst.h"
7474 #include "llvm/IR/Value.h"
75 #include "llvm/Support/CommandLine.h"
7675 #include "llvm/Support/Debug.h"
7776 #include "llvm/Support/raw_ostream.h"
7877 #include
1818 #include "llvm/Support/CommandLine.h"
1919 #include "llvm/Support/Debug.h"
2020 #include "llvm/Support/ErrorHandling.h"
21 #include
22 #include
23 #include
2421 #ifndef NDEBUG
2522 #include "llvm/Analysis/RegionPrinter.h"
2623 #endif
1111
1212 #include "llvm/ADT/DenseMap.h"
1313 #include "llvm/ADT/Optional.h"
14 #include "llvm/ADT/SmallPtrSet.h"
1514 #include "llvm/ADT/SmallSet.h"
1615 #include "llvm/ADT/SmallVector.h"
17 #include "llvm/Support/Compiler.h"
1816 #include
1917 #include
2018 #include
21 #include
2219 #include
2320 #include
2421 #include
1414 #define LLVM_LIB_ASMPARSER_LLPARSER_H
1515
1616 #include "LLLexer.h"
17 #include "llvm/ADT/DenseMap.h"
1817 #include "llvm/ADT/Optional.h"
1918 #include "llvm/ADT/StringMap.h"
2019 #include "llvm/IR/Attributes.h"
2727 #include "llvm/IR/Operator.h"
2828 #include "llvm/IR/UseListOrder.h"
2929 #include "llvm/IR/ValueSymbolTable.h"
30 #include "llvm/Support/CommandLine.h"
3130 #include "llvm/Support/ErrorHandling.h"
3231 #include "llvm/Support/MathExtras.h"
3332 #include "llvm/Support/Program.h"
33 #include "llvm/Support/SHA1.h"
3434 #include "llvm/Support/raw_ostream.h"
35 #include "llvm/Support/SHA1.h"
3635 #include
3736 #include
3837 using namespace llvm;
1414 #define LLVM_LIB_BITCODE_WRITER_VALUEENUMERATOR_H
1515
1616 #include "llvm/ADT/DenseMap.h"
17 #include "llvm/ADT/SmallVector.h"
1817 #include "llvm/ADT/UniqueVector.h"
1918 #include "llvm/IR/Attributes.h"
2019 #include "llvm/IR/Metadata.h"
1111 //===----------------------------------------------------------------------===//
1212
1313 #include "DwarfException.h"
14 #include "llvm/ADT/SmallString.h"
1514 #include "llvm/ADT/StringExtras.h"
1615 #include "llvm/ADT/Twine.h"
1716 #include "llvm/CodeGen/AsmPrinter.h"
2726 #include "llvm/MC/MCSection.h"
2827 #include "llvm/MC/MCStreamer.h"
2928 #include "llvm/MC/MCSymbol.h"
30 #include "llvm/Support/CommandLine.h"
3129 #include "llvm/Support/Dwarf.h"
3230 #include "llvm/Support/FormattedStream.h"
3331 #include "llvm/Target/TargetFrameLowering.h"
1111 //===----------------------------------------------------------------------===//
1212
1313 #include "llvm/CodeGen/AsmPrinter.h"
14 #include "CodeViewDebug.h"
1415 #include "DwarfDebug.h"
1516 #include "DwarfException.h"
1617 #include "WinException.h"
17 #include "CodeViewDebug.h"
18 #include "llvm/ADT/SmallString.h"
1918 #include "llvm/ADT/Statistic.h"
2019 #include "llvm/Analysis/ConstantFolding.h"
2120 #include "llvm/CodeGen/Analysis.h"
1515 #define LLVM_LIB_CODEGEN_ASMPRINTER_BYTESTREAMER_H
1616
1717 #include "DIEHash.h"
18 #include "llvm/ADT/ArrayRef.h"
1918 #include "llvm/CodeGen/AsmPrinter.h"
2019 #include "llvm/MC/MCStreamer.h"
2120 #include "llvm/Support/LEB128.h"
1616 #include "DebugHandlerBase.h"
1717 #include "llvm/ADT/DenseMap.h"
1818 #include "llvm/ADT/StringMap.h"
19 #include "llvm/ADT/StringRef.h"
2019 #include "llvm/CodeGen/AsmPrinter.h"
2120 #include "llvm/CodeGen/MachineFunction.h"
2221 #include "llvm/CodeGen/MachineModuleInfo.h"
2827
2928 namespace llvm {
3029
30 class StringRef;
3131 class LexicalScope;
3232
3333 /// \brief Collects and handles line tables information in a CodeView format.
1010 #define LLVM_LIB_CODEGEN_ASMPRINTER_DEBUGLOCENTRY_H
1111
1212 #include "DebugLocStream.h"
13 #include "llvm/ADT/SmallString.h"
1413 #include "llvm/IR/Constants.h"
1514 #include "llvm/IR/DebugInfo.h"
1615 #include "llvm/MC/MCSymbol.h"
1111 //===----------------------------------------------------------------------===//
1212
1313 #include "DwarfException.h"
14 #include "llvm/ADT/SmallString.h"
1514 #include "llvm/ADT/StringExtras.h"
1615 #include "llvm/ADT/Twine.h"
1716 #include "llvm/CodeGen/AsmPrinter.h"
1414 #define LLVM_LIB_CODEGEN_ASMPRINTER_DWARFCOMPILEUNIT_H
1515
1616 #include "DwarfUnit.h"
17 #include "llvm/ADT/StringRef.h"
1817 #include "llvm/IR/DebugInfo.h"
1918 #include "llvm/Support/Dwarf.h"
2019
2120 namespace llvm {
2221
22 class StringRef;
2323 class AsmPrinter;
2424 class DIE;
2525 class DwarfDebug;
2020 #include "DwarfFile.h"
2121 #include "llvm/ADT/DenseMap.h"
2222 #include "llvm/ADT/DenseSet.h"
23 #include "llvm/ADT/FoldingSet.h"
2423 #include "llvm/ADT/MapVector.h"
2524 #include "llvm/ADT/SmallPtrSet.h"
2625 #include "llvm/ADT/StringMap.h"
1818 #include "llvm/IR/Metadata.h"
1919 #include "llvm/Support/Allocator.h"
2020 #include
21 #include
2221 #include
2322
2423 namespace llvm {
1111 //===----------------------------------------------------------------------===//
1212
1313 #include "WinException.h"
14 #include "llvm/ADT/SmallString.h"
1514 #include "llvm/ADT/StringExtras.h"
1615 #include "llvm/ADT/Twine.h"
1716 #include "llvm/CodeGen/AsmPrinter.h"
1818 #include "AntiDepBreaker.h"
1919 #include "llvm/ADT/BitVector.h"
2020 #include "llvm/CodeGen/MachineBasicBlock.h"
21 #include "llvm/CodeGen/MachineFrameInfo.h"
22 #include "llvm/CodeGen/MachineFunction.h"
2321 #include "llvm/CodeGen/MachineRegisterInfo.h"
2422 #include "llvm/CodeGen/RegisterClassInfo.h"
2523 #include "llvm/CodeGen/ScheduleDAG.h"
26 #include
2724
2825 namespace llvm {
2926 class RegisterClassInfo;
3027 class TargetInstrInfo;
3128 class TargetRegisterInfo;
29 class MachineFunction;
3230
3331 class LLVM_LIBRARY_VISIBILITY CriticalAntiDepBreaker : public AntiDepBreaker {
3432 MachineFunction& MF;
1717 ///
1818 //===----------------------------------------------------------------------===//
1919
20 #include "llvm/ADT/Statistic.h"
2120 #include "llvm/ADT/PostOrderIterator.h"
2221 #include "llvm/ADT/SmallPtrSet.h"
23 #include "llvm/ADT/SmallVector.h"
22 #include "llvm/ADT/Statistic.h"
2423 #include "llvm/CodeGen/MachineFunction.h"
2524 #include "llvm/CodeGen/MachineFunctionPass.h"
2625 #include "llvm/CodeGen/MachineInstrBuilder.h"
2726 #include "llvm/CodeGen/Passes.h"
2827 #include "llvm/IR/DebugInfo.h"
29 #include "llvm/Support/CommandLine.h"
3028 #include "llvm/Support/Debug.h"
3129 #include "llvm/Support/raw_ostream.h"
3230 #include "llvm/Target/TargetInstrInfo.h"
3331 #include "llvm/Target/TargetLowering.h"
3432 #include "llvm/Target/TargetRegisterInfo.h"
3533 #include "llvm/Target/TargetSubtargetInfo.h"
34 #include
3635 #include
37 #include
3836
3937 using namespace llvm;
4038
2020 #ifndef LLVM_LIB_CODEGEN_LIVEDEBUGVARIABLES_H
2121 #define LLVM_LIB_CODEGEN_LIVEDEBUGVARIABLES_H
2222
23 #include "llvm/ADT/ArrayRef.h"
2423 #include "llvm/CodeGen/MachineFunctionPass.h"
2524 #include "llvm/IR/DebugInfo.h"
2625
2726 namespace llvm {
2827
28 template class ArrayRef;
2929 class LiveInterval;
3030 class LiveIntervals;
3131 class VirtRegMap;
1919
2020 #include "llvm/CodeGen/LiveInterval.h"
2121 #include "RegisterCoalescer.h"
22 #include "llvm/ADT/DenseMap.h"
2322 #include "llvm/ADT/STLExtras.h"
2423 #include "llvm/ADT/SmallSet.h"
2524 #include "llvm/CodeGen/LiveIntervalAnalysis.h"
1616
1717 #include "llvm/CodeGen/LiveIntervalAnalysis.h"
1818 #include "LiveRangeCalc.h"
19 #include "llvm/ADT/DenseSet.h"
2019 #include "llvm/ADT/STLExtras.h"
2120 #include "llvm/Analysis/AliasAnalysis.h"
2221 #include "llvm/CodeGen/LiveVariables.h"
3736 #include "llvm/Target/TargetSubtargetInfo.h"
3837 #include
3938 #include
40 #include
4139 using namespace llvm;
4240
4341 #define DEBUG_TYPE "regalloc"
1313 //===----------------------------------------------------------------------===//
1414
1515 #include "llvm/CodeGen/LiveStackAnalysis.h"
16 #include "llvm/ADT/Statistic.h"
1716 #include "llvm/CodeGen/LiveIntervalAnalysis.h"
1817 #include "llvm/CodeGen/Passes.h"
1918 #include "llvm/Support/Debug.h"
2019 #include "llvm/Support/raw_ostream.h"
2120 #include "llvm/Target/TargetRegisterInfo.h"
2221 #include "llvm/Target/TargetSubtargetInfo.h"
23 #include
2422 using namespace llvm;
2523
2624 #define DEBUG_TYPE "livestacks"
1414 #define LLVM_LIB_CODEGEN_MIRPARSER_MIPARSER_H
1515
1616 #include "llvm/ADT/DenseMap.h"
17 #include "llvm/ADT/StringRef.h"
1817
1918 namespace llvm {
2019
20 class StringRef;
2121 class BasicBlock;
2222 class MachineBasicBlock;
2323 class MachineInstr;
1212
1313 #include "llvm/CodeGen/MachineBasicBlock.h"
1414 #include "llvm/ADT/SmallPtrSet.h"
15 #include "llvm/ADT/SmallString.h"
1615 #include "llvm/CodeGen/LiveIntervalAnalysis.h"
1716 #include "llvm/CodeGen/LiveVariables.h"
1817 #include "llvm/CodeGen/MachineDominators.h"
1212
1313 #define DEBUG_TYPE "machine-combiner"
1414
15 #include "llvm/ADT/DenseMap.h"
1516 #include "llvm/ADT/Statistic.h"
16 #include "llvm/ADT/DenseMap.h"
1717 #include "llvm/CodeGen/MachineDominators.h"
1818 #include "llvm/CodeGen/MachineFunction.h"
1919 #include "llvm/CodeGen/MachineFunctionPass.h"
2323 #include "llvm/CodeGen/MachineTraceMetrics.h"
2424 #include "llvm/CodeGen/Passes.h"
2525 #include "llvm/CodeGen/TargetSchedule.h"
26 #include "llvm/Support/CommandLine.h"
2726 #include "llvm/Support/Debug.h"
2827 #include "llvm/Support/raw_ostream.h"
2928 #include "llvm/Target/TargetInstrInfo.h"
1818 #include "llvm/CodeGen/MachineInstrBuilder.h"
1919 #include "llvm/CodeGen/MachineRegisterInfo.h"
2020 #include "llvm/Support/AlignOf.h"
21 #include "llvm/Support/Allocator.h"
2221 #include "llvm/Support/Debug.h"
2322 #include "llvm/Support/ErrorHandling.h"
2423 #include "llvm/Support/raw_ostream.h"
2828 #include "llvm/Support/GraphWriter.h"
2929 #include "llvm/Support/raw_ostream.h"
3030 #include "llvm/Target/TargetInstrInfo.h"
31 #include
3231
3332 using namespace llvm;
3433
1212 //
1313 //===----------------------------------------------------------------------===//
1414
15 #include "llvm/CodeGen/Passes.h"
1615 #include "PHIEliminationUtils.h"
1716 #include "llvm/ADT/STLExtras.h"
1817 #include "llvm/ADT/SmallPtrSet.h"
2423 #include "llvm/CodeGen/MachineInstrBuilder.h"
2524 #include "llvm/CodeGen/MachineLoopInfo.h"
2625 #include "llvm/CodeGen/MachineRegisterInfo.h"
26 #include "llvm/CodeGen/Passes.h"
2727 #include "llvm/IR/Function.h"
2828 #include "llvm/Support/CommandLine.h"
29 #include "llvm/Support/Compiler.h"
3029 #include "llvm/Support/Debug.h"
3130 #include "llvm/Support/raw_ostream.h"
3231 #include "llvm/Target/TargetInstrInfo.h"
1717 //
1818 //===----------------------------------------------------------------------===//
1919
20 #include "llvm/CodeGen/Passes.h"
2120 #include "AggressiveAntiDepBreaker.h"
2221 #include "AntiDepBreaker.h"
2322 #include "CriticalAntiDepBreaker.h"
24 #include "llvm/ADT/BitVector.h"
2523 #include "llvm/ADT/Statistic.h"
2624 #include "llvm/Analysis/AliasAnalysis.h"
2725 #include "llvm/CodeGen/LatencyPriorityQueue.h"
3028 #include "llvm/CodeGen/MachineFunctionPass.h"
3129 #include "llvm/CodeGen/MachineLoopInfo.h"
3230 #include "llvm/CodeGen/MachineRegisterInfo.h"
31 #include "llvm/CodeGen/Passes.h"
3332 #include "llvm/CodeGen/RegisterClassInfo.h"
3433 #include "llvm/CodeGen/ScheduleDAGInstrs.h"
3534 #include "llvm/CodeGen/ScheduleHazardRecognizer.h"
1515 //
1616 //===----------------------------------------------------------------------===//
1717
18 #include "llvm/ADT/IndexedMap.h"
1918 #include "llvm/ADT/STLExtras.h"
2019 #include "llvm/ADT/SetVector.h"
2120 #include "llvm/ADT/SmallSet.h"
3433 #include "llvm/IR/InlineAsm.h"
3534 #include "llvm/IR/LLVMContext.h"
3635 #include "llvm/Support/CommandLine.h"
37 #include "llvm/Support/Compiler.h"
3836 #include "llvm/Support/Debug.h"
3937 #include "llvm/Support/raw_ostream.h"
4038 #include "llvm/Target/TargetFrameLowering.h"
1010 //
1111 //===----------------------------------------------------------------------===//
1212
13 #include "llvm/CodeGen/PseudoSourceValue.h"
1314 #include "llvm/ADT/STLExtras.h"
14 #include "llvm/CodeGen/PseudoSourceValue.h"
1515 #include "llvm/CodeGen/MachineFrameInfo.h"
1616 #include "llvm/IR/DerivedTypes.h"
1717 #include "llvm/IR/LLVMContext.h"
1818 #include "llvm/Support/ErrorHandling.h"
19 #include "llvm/Support/ManagedStatic.h"
20 #include "llvm/Support/Mutex.h"
2119 #include "llvm/Support/raw_ostream.h"
22 #include
2320 using namespace llvm;
2421
2522 static const char *const PSVNames[] = {
2121 #include "llvm/CodeGen/MachineRegisterInfo.h"
2222 #include "llvm/CodeGen/VirtRegMap.h"
2323 #include "llvm/Target/TargetRegisterInfo.h"
24 #ifndef NDEBUG
25 #include "llvm/ADT/SparseBitVector.h"
26 #endif
2724 #include "llvm/Support/CommandLine.h"
2825 #include "llvm/Support/Debug.h"
2926 #include "llvm/Support/raw_ostream.h"
3737 #include "llvm/Target/TargetMachine.h"
3838 #include "llvm/Target/TargetRegisterInfo.h"
3939 #include "llvm/Target/TargetSubtargetInfo.h"
40 #include
4140
4241 using namespace llvm;
4342
1111 //===----------------------------------------------------------------------===//
1212
1313 #include "llvm/CodeGen/ScheduleDAG.h"
14 #include "llvm/ADT/DenseSet.h"
1514 #include "llvm/ADT/StringExtras.h"
1615 #include "llvm/CodeGen/MachineConstantPool.h"
1716 #include "llvm/CodeGen/MachineFunction.h"
1616 #define LLVM_LIB_CODEGEN_SELECTIONDAG_LEGALIZETYPES_H
1717
1818 #include "llvm/ADT/DenseMap.h"
19 #include "llvm/ADT/DenseSet.h"
2019 #include "llvm/CodeGen/SelectionDAG.h"
2120 #include "llvm/Support/Compiler.h"
2221 #include "llvm/Support/Debug.h"
1313 #ifndef LLVM_LIB_CODEGEN_SELECTIONDAG_SDNODEDBGVALUE_H
1414 #define LLVM_LIB_CODEGEN_SELECTIONDAG_SDNODEDBGVALUE_H
1515
16 #include "llvm/ADT/SmallVector.h"
1716 #include "llvm/IR/DebugLoc.h"
1817 #include "llvm/Support/DataTypes.h"
1918
3333 #include "llvm/IR/GlobalAlias.h"
3434 #include "llvm/IR/GlobalVariable.h"
3535 #include "llvm/IR/Intrinsics.h"
36 #include "llvm/Support/CommandLine.h"
3736 #include "llvm/Support/Debug.h"
3837 #include "llvm/Support/ErrorHandling.h"
3938 #include "llvm/Support/ManagedStatic.h"
1818 #include "llvm/ADT/SmallBitVector.h"
1919 #include "llvm/CodeGen/SelectionDAG.h"
2020 #include "llvm/CodeGen/SelectionDAGNodes.h"
21 #include
2221
2322 namespace llvm {
2423 class SelectionDAGBuilder;
2626 #include "llvm/IR/LLVMContext.h"
2727 #include "llvm/MC/MCAsmInfo.h"
2828 #include "llvm/MC/MCExpr.h"
29 #include "llvm/Support/CommandLine.h"
3029 #include "llvm/Support/ErrorHandling.h"
3130 #include "llvm/Support/MathExtras.h"
3231 #include "llvm/Target/TargetLoweringObjectFile.h"
2525 #include "llvm/ADT/PostOrderIterator.h"
2626 #include "llvm/ADT/SetVector.h"
2727 #include "llvm/ADT/SmallPtrSet.h"
28 #include "llvm/ADT/SparseSet.h"
2928 #include "llvm/ADT/Statistic.h"
3029 #include "llvm/Analysis/ValueTracking.h"
3130 #include "llvm/CodeGen/LiveInterval.h"
2626 //
2727 //===----------------------------------------------------------------------===//
2828
29 #include "llvm/CodeGen/Passes.h"
30 #include "llvm/ADT/BitVector.h"
3129 #include "llvm/ADT/DenseMap.h"
3230 #include "llvm/ADT/STLExtras.h"
3331 #include "llvm/ADT/SmallSet.h"
3937 #include "llvm/CodeGen/MachineInstr.h"
4038 #include "llvm/CodeGen/MachineInstrBuilder.h"
4139 #include "llvm/CodeGen/MachineRegisterInfo.h"
40 #include "llvm/CodeGen/Passes.h"
4241 #include "llvm/IR/Function.h"
4342 #include "llvm/MC/MCInstrItineraries.h"
4443 #include "llvm/Support/CommandLine.h"
1818 #include "llvm/CodeGen/VirtRegMap.h"
1919 #include "LiveDebugVariables.h"
2020 #include "llvm/ADT/STLExtras.h"
21 #include "llvm/ADT/SparseSet.h"
2221 #include "llvm/ADT/Statistic.h"
2322 #include "llvm/CodeGen/LiveIntervalAnalysis.h"
2423 #include "llvm/CodeGen/LiveStackAnalysis.h"
2827 #include "llvm/CodeGen/MachineRegisterInfo.h"
2928 #include "llvm/CodeGen/Passes.h"
3029 #include "llvm/IR/Function.h"
31 #include "llvm/Support/CommandLine.h"
3230 #include "llvm/Support/Compiler.h"
3331 #include "llvm/Support/Debug.h"
3432 #include "llvm/Support/raw_ostream.h"
77 //===----------------------------------------------------------------------===//
88
99 #include "llvm/DebugInfo/CodeView/TypeTableBuilder.h"
10 #include "llvm/ADT/SmallVector.h"
1110 #include "llvm/DebugInfo/CodeView/FieldListRecordBuilder.h"
1211 #include "llvm/DebugInfo/CodeView/MethodListRecordBuilder.h"
1312 #include "llvm/DebugInfo/CodeView/TypeIndex.h"
77 //===----------------------------------------------------------------------===//
88
99 #include "llvm/DebugInfo/DWARF/DWARFDebugLoc.h"
10 #include "llvm/Support/Compiler.h"
1110 #include "llvm/Support/Dwarf.h"
1211 #include "llvm/Support/Format.h"
1312 #include "llvm/Support/raw_ostream.h"
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/DebugInfo/DWARF/DWARFDebugMacro.h"
910 #include "SyntaxHighlighting.h"
10 #include "llvm/DebugInfo/DWARF/DWARFDebugMacro.h"
11 #include "llvm/Support/Compiler.h"
1211 #include "llvm/Support/Dwarf.h"
1312 #include "llvm/Support/Format.h"
1413 #include "llvm/Support/raw_ostream.h"
99 #ifndef LLVM_LIB_EXECUTIONENGINE_MCJIT_MCJIT_H
1010 #define LLVM_LIB_EXECUTIONENGINE_MCJIT_MCJIT_H
1111
12 #include "llvm/ADT/DenseMap.h"
1312 #include "llvm/ADT/SmallPtrSet.h"
1413 #include "llvm/ADT/SmallVector.h"
1514 #include "llvm/ExecutionEngine/ExecutionEngine.h"
2222 #include
2323 #include
2424 #include
25 #include
2625 #include
2726 #include
2827 #include
1212 #include "llvm/IR/CallSite.h"
1313 #include "llvm/IR/IRBuilder.h"
1414 #include "llvm/Transforms/Utils/Cloning.h"
15 #include
1615 #include
1716
1817 namespace llvm {
99 #include "llvm/ADT/Triple.h"
1010 #include "llvm/ExecutionEngine/Orc/OrcArchitectureSupport.h"
1111 #include "llvm/Support/Process.h"
12 #include
1312
1413 namespace llvm {
1514 namespace orc {
1414 #define LLVM_RUNTIME_DYLD_COFF_H
1515
1616 #include "RuntimeDyldImpl.h"
17 #include "llvm/ADT/DenseMap.h"
1817
1918 #define DEBUG_TYPE "dyld"
2019
1010 #define LLVM_LIB_EXECUTIONENGINE_RUNTIMEDYLD_RUNTIMEDYLDCHECKERIMPL_H
1111
1212 #include "RuntimeDyldImpl.h"
13 #include
1413
1514 namespace llvm {
1615
1313 #ifndef LLVM_LIB_EXECUTIONENGINE_RUNTIMEDYLD_RUNTIMEDYLDIMPL_H
1414 #define LLVM_LIB_EXECUTIONENGINE_RUNTIMEDYLD_RUNTIMEDYLDIMPL_H
1515
16 #include "llvm/ADT/DenseMap.h"
1716 #include "llvm/ADT/SmallVector.h"
1817 #include "llvm/ADT/StringMap.h"
1918 #include "llvm/ADT/Triple.h"
2726 #include "llvm/Support/Host.h"
2827 #include "llvm/Support/Mutex.h"
2928 #include "llvm/Support/SwapByteOrder.h"
30 #include "llvm/Support/raw_ostream.h"
3129 #include
3230 #include
3331 #include
1313 //
1414 //===----------------------------------------------------------------------===//
1515
16 #include "llvm/ADT/Triple.h"
1617 #include "llvm/ExecutionEngine/ExecutionEngine.h"
17 #include "llvm/ADT/Triple.h"
1818 #include "llvm/IR/Module.h"
1919 #include "llvm/MC/SubtargetFeature.h"
20 #include "llvm/Support/CommandLine.h"
2120 #include "llvm/Support/Host.h"
2221 #include "llvm/Support/TargetRegistry.h"
2322 #include "llvm/Target/TargetMachine.h"
1111 #include "FuzzerInterface.h"
1212 #include "FuzzerInternal.h"
1313
14 #include
15 #include
16 #include
1417 #include
15 #include
16 #include
17 #include
18 #include
1918 #include
2019 #include
21 #include
22 #include
23 #include <iterator>
20 #include <thread>
21 #include
2422
2523 // This function should be present in the libFuzzer so that the client
2624 // binary can test for its existence.
2727 #include "llvm/IR/Instructions.h"
2828 #include "llvm/IR/Operator.h"
2929 #include "llvm/IR/PatternMatch.h"
30 #include "llvm/Support/Compiler.h"
3130 #include "llvm/Support/ErrorHandling.h"
3231 #include "llvm/Support/ManagedStatic.h"
3332 #include "llvm/Support/MathExtras.h"
34 #include
3533 using namespace llvm;
3634 using namespace llvm::PatternMatch;
3735
1818 #ifndef LLVM_LIB_IR_CONSTANTFOLD_H
1919 #define LLVM_LIB_IR_CONSTANTFOLD_H
2020
21 #include "llvm/ADT/ArrayRef.h"
22
2321 namespace llvm {
22 template class ArrayRef;
2423 class Value;
2524 class Constant;
2625 class Type;
1313 #include "llvm/IR/Constants.h"
1414 #include "ConstantFold.h"
1515 #include "LLVMContextImpl.h"
16 #include "llvm/ADT/DenseMap.h"
17 #include "llvm/ADT/FoldingSet.h"
1816 #include "llvm/ADT/STLExtras.h"
1917 #include "llvm/ADT/SmallVector.h"
2018 #include "llvm/ADT/StringExtras.h"
2523 #include "llvm/IR/Instructions.h"
2624 #include "llvm/IR/Module.h"
2725 #include "llvm/IR/Operator.h"
28 #include "llvm/Support/Compiler.h"
2926 #include "llvm/Support/Debug.h"
3027 #include "llvm/Support/ErrorHandling.h"
3128 #include "llvm/Support/ManagedStatic.h"
2222 #include "llvm/Support/Debug.h"
2323 #include "llvm/Support/ErrorHandling.h"
2424 #include "llvm/Support/raw_ostream.h"
25 #include
26 #include
2725
2826 #define DEBUG_TYPE "ir"
2927
1515 #include "LLVMContextImpl.h"
1616 #include "llvm/ADT/STLExtras.h"
1717 #include "llvm/ADT/SmallPtrSet.h"
18 #include "llvm/ADT/SmallString.h"
1918 #include "llvm/IR/Constants.h"
2019 #include "llvm/IR/DIBuilder.h"
2120 #include "llvm/IR/DerivedTypes.h"
21 #include "llvm/IR/GVMaterializer.h"
2222 #include "llvm/IR/Instructions.h"
2323 #include "llvm/IR/IntrinsicInst.h"
2424 #include "llvm/IR/Intrinsics.h"
25 #include "llvm/IR/GVMaterializer.h"
2625 #include "llvm/IR/Module.h"
2726 #include "llvm/IR/ValueHandle.h"
2827 #include "llvm/Support/Debug.h"
88
99 #include "llvm/IR/DebugLoc.h"
1010 #include "LLVMContextImpl.h"
11 #include "llvm/ADT/DenseMapInfo.h"
1211 #include "llvm/IR/DebugInfo.h"
1312 using namespace llvm;
1413
1616 #include "llvm/IR/Dominators.h"
1717 #include "llvm/ADT/DepthFirstIterator.h"
1818 #include "llvm/ADT/SmallPtrSet.h"
19 #include "llvm/ADT/SmallVector.h"
2019 #include "llvm/IR/CFG.h"
2120 #include "llvm/IR/Instructions.h"
2221 #include "llvm/IR/PassManager.h"
2322 #include "llvm/Support/CommandLine.h"
24 #include "llvm/Support/Compiler.h"
2523 #include "llvm/Support/Debug.h"
2624 #include "llvm/Support/GenericDomTreeConstruction.h"
2725 #include "llvm/Support/raw_ostream.h"
1313 #include "llvm/IR/Function.h"
1414 #include "LLVMContextImpl.h"
1515 #include "SymbolTableListTraitsImpl.h"
16 #include "llvm/ADT/DenseMap.h"
1716 #include "llvm/ADT/STLExtras.h"
1817 #include "llvm/ADT/StringExtras.h"
1918 #include "llvm/CodeGen/ValueTypes.h"
3232 #include "llvm/IR/Metadata.h"
3333 #include "llvm/IR/ValueHandle.h"
3434 #include "llvm/Support/Dwarf.h"
35 #include
3635
3736 namespace llvm {
3837
1414 #include "LLVMContextImpl.h"
1515 #include "MetadataImpl.h"
1616 #include "SymbolTableListTraitsImpl.h"
17 #include "llvm/ADT/DenseMap.h"
1817 #include "llvm/ADT/STLExtras.h"
1918 #include "llvm/ADT/SmallSet.h"
20 #include "llvm/ADT/SmallString.h"
2119 #include "llvm/ADT/StringMap.h"
2220 #include "llvm/IR/ConstantRange.h"
2321 #include "llvm/IR/DebugInfoMetadata.h"
1212
1313 #include "llvm/IR/Module.h"
1414 #include "SymbolTableListTraitsImpl.h"
15 #include "llvm/ADT/DenseSet.h"
1615 #include "llvm/ADT/STLExtras.h"
1716 #include "llvm/ADT/SmallString.h"
1817 #include "llvm/ADT/StringExtras.h"
1212 //===----------------------------------------------------------------------===//
1313
1414 #include "llvm/PassRegistry.h"
15 #include "llvm/IR/Function.h"
1615 #include "llvm/PassSupport.h"
17 #include "llvm/Support/Compiler.h"
1816 #include "llvm/Support/ManagedStatic.h"
19 #include "llvm/Support/RWMutex.h"
20 #include
2117
2218 using namespace llvm;
2319
3232 #include "llvm/MC/SubtargetFeature.h"
3333 #include "llvm/Object/IRObjectFile.h"
3434 #include "llvm/Object/ObjectFile.h"
35 #include "llvm/Support/CommandLine.h"
3635 #include "llvm/Support/FileSystem.h"
3736 #include "llvm/Support/Host.h"
3837 #include "llvm/Support/MemoryBuffer.h"
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/MC/MCStreamer.h"
109 #include "llvm/ADT/STLExtras.h"
1110 #include "llvm/ADT/SmallString.h"
1211 #include "llvm/ADT/StringExtras.h"
2322 #include "llvm/MC/MCRegisterInfo.h"
2423 #include "llvm/MC/MCSectionCOFF.h"
2524 #include "llvm/MC/MCSectionMachO.h"
25 #include "llvm/MC/MCStreamer.h"
2626 #include "llvm/MC/MCSymbolELF.h"
27 #include "llvm/Support/CommandLine.h"
2827 #include "llvm/Support/ErrorHandling.h"
2928 #include "llvm/Support/Format.h"
3029 #include "llvm/Support/FormattedStream.h"
99 #include "llvm/MC/MCContext.h"
1010 #include "llvm/ADT/SmallString.h"
1111 #include "llvm/ADT/Twine.h"
12 #include "llvm/MC/MCAsmInfo.h"
1213 #include "llvm/MC/MCAssembler.h"
13 #include "llvm/MC/MCAsmInfo.h"
1414 #include "llvm/MC/MCCodeView.h"
1515 #include "llvm/MC/MCDwarf.h"
1616 #include "llvm/MC/MCLabel.h"
2626 #include "llvm/Support/COFF.h"
2727 #include "llvm/Support/ELF.h"
2828 #include "llvm/Support/ErrorHandling.h"
29 #include "llvm/Support/FileSystem.h"
3029 #include "llvm/Support/MemoryBuffer.h"
3130 #include "llvm/Support/Signals.h"
3231 #include "llvm/Support/SourceMgr.h"
33 #include
3432
3533 using namespace llvm;
3634
2424 #include "llvm/Support/LEB128.h"
2525 #include "llvm/Support/TargetRegistry.h"
2626 #include "llvm/Support/raw_ostream.h"
27 #include
2827 using namespace llvm;
2928
3029 MCAsmLayout::MCAsmLayout(MCAssembler &Asm)
3333 #include "llvm/MC/MCStreamer.h"
3434 #include "llvm/MC/MCSymbol.h"
3535 #include "llvm/MC/MCValue.h"
36 #include "llvm/Support/CommandLine.h"
3736 #include "llvm/Support/ErrorHandling.h"
3837 #include "llvm/Support/MathExtras.h"
3938 #include "llvm/Support/MemoryBuffer.h"
4140 #include "llvm/Support/raw_ostream.h"
4241 #include
4342 #include
44 #include
4543 #include
4644 #include
4745 using namespace llvm;
1111 //===----------------------------------------------------------------------===//
1212
1313 #include "llvm/MC/SubtargetFeature.h"
14 #include "llvm/ADT/ArrayRef.h"
1415 #include "llvm/ADT/StringExtras.h"
1516 #include "llvm/Support/Debug.h"
1617 #include "llvm/Support/Format.h"
1111 //===----------------------------------------------------------------------===//
1212
1313 #include "llvm/Object/Archive.h"
14 #include "llvm/ADT/APInt.h"
1514 #include "llvm/ADT/SmallString.h"
1615 #include "llvm/ADT/Twine.h"
1716 #include "llvm/Support/Endian.h"
1212
1313 #include "llvm/Object/COFF.h"
1414 #include "llvm/ADT/ArrayRef.h"
15 #include "llvm/ADT/SmallString.h"
1615 #include "llvm/ADT/StringSwitch.h"
1716 #include "llvm/ADT/Triple.h"
1817 #include "llvm/ADT/iterator_range.h"
2222 #include "llvm/ProfileData/SampleProfReader.h"
2323 #include "llvm/ADT/DenseMap.h"
2424 #include "llvm/ADT/STLExtras.h"
25 #include "llvm/ADT/SmallVector.h"
2625 #include "llvm/Support/Debug.h"
2726 #include "llvm/Support/ErrorOr.h"
2827 #include "llvm/Support/LEB128.h"
77 //===----------------------------------------------------------------------===//
88
99 #include "llvm/Support/ConvertUTF.h"
10 #include "llvm/ADT/ArrayRef.h"
11 #include "llvm/ADT/StringRef.h"
1012 #include "llvm/Support/ErrorHandling.h"
1113 #include "llvm/Support/SwapByteOrder.h"
1214 #include
1717 //===----------------------------------------------------------------------===//
1818
1919 #include "llvm/Support/JamCRC.h"
20 #include "llvm/ADT/ArrayRef.h"
2021
2122 using namespace llvm;
2223
0 #include "llvm/Support/Locale.h"
1 #include "llvm/ADT/StringRef.h"
2 #include "llvm/Config/llvm-config.h"
1 #include "llvm/Support/Locale.h"
23 #include "llvm/Support/Unicode.h"
34
45 namespace llvm {
1313 #include "llvm/Support/ManagedStatic.h"
1414 #include "llvm/Config/config.h"
1515 #include "llvm/Support/Atomic.h"
16 #include "llvm/Support/Compiler.h"
1716 #include "llvm/Support/Mutex.h"
1817 #include "llvm/Support/MutexGuard.h"
1918 #include
1414
1515 #include "llvm/Support/Host.h"
1616 #include "llvm/Support/SHA1.h"
17 #include "llvm/ADT/ArrayRef.h"
1718 using namespace llvm;
1819
1920 #include
4444 #include
4545 #include
4646 #include
47 #include
4847
4948 /// Determines if the program is running on Windows 8 or newer. This
5049 /// reimplements one of the helpers in the Windows 8.1 SDK, which are intended
1414 #include "llvm/ADT/STLExtras.h"
1515 #include "llvm/ADT/SmallVector.h"
1616 #include "llvm/ADT/StringExtras.h"
17 #include "llvm/Support/CommandLine.h"
1817 #include "llvm/TableGen/Record.h"
1918 #include
20 #include
2119 using namespace llvm;
2220
2321 //===----------------------------------------------------------------------===//
2121 #include "llvm/CodeGen/MachineInstr.h"
2222 #include "llvm/CodeGen/MachineInstrBuilder.h"
2323 #include "llvm/CodeGen/MachineRegisterInfo.h"
24 #include "llvm/Support/CommandLine.h"
2524 #include "llvm/Support/Debug.h"
2625 #include "llvm/Support/raw_ostream.h"
2726 #include "llvm/Target/TargetInstrInfo.h"
4242 #include "llvm/Support/CommandLine.h"
4343 #include "llvm/Support/Debug.h"
4444 #include "llvm/Support/raw_ostream.h"
45 #include
4645 using namespace llvm;
4746
4847 #define DEBUG_TYPE "aarch64-a57-fp-load-balancing"
6969 #include "llvm/CodeGen/MachineInstrBuilder.h"
7070 #include "llvm/CodeGen/MachineRegisterInfo.h"
7171 #include "llvm/CodeGen/Passes.h"
72 #include "llvm/Support/CommandLine.h"
7372 #include "llvm/Support/Debug.h"
7473 #include "llvm/Support/raw_ostream.h"
7574 #include "llvm/Target/TargetInstrInfo.h"
1717 //===----------------------------------------------------------------------===//
1818
1919 #include "AArch64.h"
20 #include "llvm/ADT/BitVector.h"
2120 #include "llvm/ADT/DepthFirstIterator.h"
2221 #include "llvm/ADT/SetVector.h"
2322 #include "llvm/ADT/SmallPtrSet.h"
24 #include "llvm/ADT/SparseSet.h"
2523 #include "llvm/ADT/Statistic.h"
2624 #include "llvm/CodeGen/MachineBranchProbabilityInfo.h"
2725 #include "llvm/CodeGen/MachineDominators.h"
3636 #include "llvm/IR/IntrinsicInst.h"
3737 #include "llvm/IR/Operator.h"
3838 #include "llvm/MC/MCSymbol.h"
39 #include "llvm/Support/CommandLine.h"
4039 using namespace llvm;
4140
4241 namespace {
2424 #include "llvm/CodeGen/MachineRegisterInfo.h"
2525 #include "llvm/CodeGen/RegisterScavenging.h"
2626 #include "llvm/IR/Function.h"
27 #include "llvm/Support/CommandLine.h"
2827 #include "llvm/Support/raw_ostream.h"
2928 #include "llvm/Target/TargetFrameLowering.h"
3029 #include "llvm/Target/TargetOptions.h"
1313 #include "AArch64InstrInfo.h"
1414 #include "AArch64PBQPRegAlloc.h"
1515 #include "AArch64Subtarget.h"
16 #include "llvm/ADT/SmallVector.h"
1716 #include "llvm/CodeGen/MachineScheduler.h"
1817 #include "llvm/IR/GlobalValue.h"
1918 #include "llvm/Support/TargetRegistry.h"
1212 #include "Utils/AArch64BaseInfo.h"
1313 #include "llvm/ADT/APInt.h"
1414 #include "llvm/ADT/STLExtras.h"
15 #include "llvm/ADT/SmallString.h"
1615 #include "llvm/ADT/SmallVector.h"
1716 #include "llvm/ADT/StringSwitch.h"
1817 #include "llvm/ADT/Twine.h"
1414 #define LLVM_LIB_TARGET_AARCH64_MCTARGETDESC_AARCH64MCTARGETDESC_H
1515
1616 #include "llvm/Support/DataTypes.h"
17 #include
1817
1918 namespace llvm {
2019 class formatted_raw_ostream;
1010 //
1111 //===----------------------------------------------------------------------===//
1212 #include "AArch64BaseInfo.h"
13 #include "llvm/ADT/APFloat.h"
1413 #include "llvm/ADT/SmallVector.h"
1514 #include "llvm/ADT/StringExtras.h"
1615 #include "llvm/Support/Regex.h"
2424 //===----------------------------------------------------------------------===//
2525
2626 #include "AMDGPU.h"
27 #include "llvm/ADT/DenseSet.h"
2827 #include "llvm/ADT/STLExtras.h"
2928 #include "llvm/ADT/SmallVector.h"
3029 #include "llvm/Analysis/Passes.h"
1616
1717 #include "AMDGPU.h"
1818 #include "AMDGPUFrameLowering.h"
19 #include "AMDGPUISelLowering.h"
1920 #include "AMDGPUInstrInfo.h"
20 #include "AMDGPUISelLowering.h"
2121 #include "AMDGPUSubtarget.h"
2222 #include "Utils/AMDGPUBaseInfo.h"
23 #include "llvm/ADT/StringRef.h"
2423 #include "llvm/CodeGen/GlobalISel/GISelAccessor.h"
2524 #include "llvm/Target/TargetSubtargetInfo.h"
2625
2928
3029 namespace llvm {
3130
31 class StringRef;
3232 class SIMachineFunctionInfo;
3333
3434 class AMDGPUSubtarget : public AMDGPUGenSubtargetInfo {
1515 #include "llvm/ADT/APFloat.h"
1616 #include "llvm/ADT/STLExtras.h"
1717 #include "llvm/ADT/SmallString.h"
18 #include "llvm/ADT/SmallVector.h"
1918 #include "llvm/ADT/StringSwitch.h"
2019 #include "llvm/ADT/Twine.h"
2120 #include "llvm/MC/MCContext.h"
1515 #ifndef LLVM_LIB_TARGET_AMDGPU_DISASSEMBLER_AMDGPUDISASSEMBLER_H
1616 #define LLVM_LIB_TARGET_AMDGPU_DISASSEMBLER_AMDGPUDISASSEMBLER_H
1717
18 #include "llvm/ADT/ArrayRef.h"
1819 #include "llvm/MC/MCDisassembler/MCDisassembler.h"
1920
2021 namespace llvm {
1616 #define LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPUMCTARGETDESC_H
1717
1818 #include "llvm/Support/DataTypes.h"
19 #include "llvm/ADT/StringRef.h"
2019
2120 namespace llvm {
21 class StringRef;
2222 class MCAsmBackend;
2323 class MCCodeEmitter;
2424 class MCContext;
1717 #include "AMDGPUInstrInfo.h"
1818 #include "R600Defines.h"
1919 #include "R600RegisterInfo.h"
20 #include
2120
2221 namespace llvm {
2322 class AMDGPUTargetMachine;
1313 #define LLVM_LIB_TARGET_AMDGPU_R600MACHINEFUNCTIONINFO_H
1414
1515 #include "AMDGPUMachineFunction.h"
16 #include "llvm/ADT/BitVector.h"
1716 #include "llvm/CodeGen/SelectionDAG.h"
1817 #include
1918
1717 #include
1818 #endif
1919
20 #include "SIISelLowering.h"
2120 #include "AMDGPU.h"
2221 #include "AMDGPUIntrinsicInfo.h"
2322 #include "AMDGPUSubtarget.h"
23 #include "SIISelLowering.h"
2424 #include "SIInstrInfo.h"
2525 #include "SIMachineFunctionInfo.h"
2626 #include "SIRegisterInfo.h"
3232 #include "llvm/CodeGen/SelectionDAG.h"
3333 #include "llvm/IR/DiagnosticInfo.h"
3434 #include "llvm/IR/Function.h"
35 #include "llvm/ADT/SmallString.h"
3635
3736 using namespace llvm;
3837
4242 #include "llvm/MC/MCStreamer.h"
4343 #include "llvm/MC/MCSymbol.h"
4444 #include "llvm/Support/ARMBuildAttributes.h"
45 #include "llvm/Support/TargetParser.h"
4645 #include "llvm/Support/COFF.h"
47 #include "llvm/Support/CommandLine.h"
4846 #include "llvm/Support/Debug.h"
4947 #include "llvm/Support/ELF.h"
5048 #include "llvm/Support/ErrorHandling.h"
49 #include "llvm/Support/TargetParser.h"
5150 #include "llvm/Support/TargetRegistry.h"
5251 #include "llvm/Support/raw_ostream.h"
5352 #include "llvm/Target/TargetMachine.h"
4040 #include "llvm/IR/IntrinsicInst.h"
4141 #include "llvm/IR/Module.h"
4242 #include "llvm/IR/Operator.h"
43 #include "llvm/Support/CommandLine.h"
4443 #include "llvm/Support/ErrorHandling.h"
4544 #include "llvm/Target/TargetInstrInfo.h"
4645 #include "llvm/Target/TargetLowering.h"
2828 #include "llvm/IR/Intrinsics.h"
2929 #include "llvm/IR/LLVMContext.h"
3030 #include "llvm/Support/CommandLine.h"
31 #include "llvm/Support/Compiler.h"
3231 #include "llvm/Support/Debug.h"
3332 #include "llvm/Support/ErrorHandling.h"
3433 #include "llvm/Target/TargetLowering.h"
1414 #define LLVM_LIB_TARGET_ARM_ARMMACHINEFUNCTIONINFO_H
1515
1616 #include "ARMSubtarget.h"
17 #include "llvm/ADT/BitVector.h"
1817 #include "llvm/ADT/DenseMap.h"
1918 #include "llvm/CodeGen/MachineFunction.h"
2019 #include "llvm/Target/TargetMachine.h"
1212
1313 #include "ARMMCAsmInfo.h"
1414 #include "llvm/ADT/Triple.h"
15 #include "llvm/Support/CommandLine.h"
1615
1716 using namespace llvm;
1817
1313
1414 #include "BPFISelLowering.h"
1515 #include "BPF.h"
16 #include "BPFSubtarget.h"
1617 #include "BPFTargetMachine.h"
17 #include "BPFSubtarget.h"
1818 #include "llvm/CodeGen/CallingConvLower.h"
1919 #include "llvm/CodeGen/MachineFrameInfo.h"
2020 #include "llvm/CodeGen/MachineFunction.h"
2323 #include "llvm/CodeGen/SelectionDAGISel.h"
2424 #include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
2525 #include "llvm/CodeGen/ValueTypes.h"
26 #include "llvm/Support/CommandLine.h"
26 #include "llvm/IR/DiagnosticInfo.h"
27 #include "llvm/IR/DiagnosticPrinter.h"
2728 #include "llvm/Support/Debug.h"
2829 #include "llvm/Support/ErrorHandling.h"
2930 #include "llvm/Support/raw_ostream.h"
30 #include "llvm/IR/DiagnosticInfo.h"
31 #include "llvm/IR/DiagnosticPrinter.h"
3231 using namespace llvm;
3332
3433 #define DEBUG_TYPE "bpf-lower"
1919 #include "llvm/MC/MCContext.h"
2020 #include "llvm/MC/MCExpr.h"
2121 #include "llvm/MC/MCInst.h"
22 #include "llvm/Support/ErrorHandling.h"
2223 #include "llvm/Support/raw_ostream.h"
23 #include "llvm/Support/ErrorHandling.h"
24 #include "llvm/ADT/SmallString.h"
2524 using namespace llvm;
2625
2726 MCSymbol *
1313 #ifndef LLVM_LIB_TARGET_BPF_MCTARGETDESC_BPFMCASMINFO_H
1414 #define LLVM_LIB_TARGET_BPF_MCTARGETDESC_BPFMCASMINFO_H
1515
16 #include "llvm/ADT/StringRef.h"
16 #include "llvm/ADT/Triple.h"
1717 #include "llvm/MC/MCAsmInfo.h"
18 #include "llvm/ADT/Triple.h"
1918
2019 namespace llvm {
2120 class Target;
22 class Triple;
2321
2422 class BPFMCAsmInfo : public MCAsmInfo {
2523 public:
1919 #include "MCTargetDesc/HexagonMCShuffler.h"
2020 #include "MCTargetDesc/HexagonMCTargetDesc.h"
2121 #include "MCTargetDesc/HexagonShuffler.h"
22 #include "llvm/ADT/SmallString.h"
2322 #include "llvm/ADT/SmallVector.h"
2423 #include "llvm/ADT/StringExtras.h"
2524 #include "llvm/ADT/Twine.h"
4342 #include "llvm/Support/SourceMgr.h"
4443 #include "llvm/Support/TargetRegistry.h"
4544 #include "llvm/Support/raw_ostream.h"
46 #include
4745
4846 using namespace llvm;
4947
2929 #include "llvm/Support/MemoryObject.h"
3030 #include "llvm/Support/raw_ostream.h"
3131 #include "llvm/Support/TargetRegistry.h"
32 #include
3332
3433 using namespace llvm;
3534 using namespace Hexagon;
2020 #include "MCTargetDesc/HexagonInstPrinter.h"
2121 #include "MCTargetDesc/HexagonMCInstrInfo.h"
2222 #include "MCTargetDesc/HexagonMCShuffler.h"
23 #include "llvm/ADT/SmallString.h"
24 #include "llvm/ADT/SmallVector.h"
2523 #include "llvm/ADT/StringExtras.h"
2624 #include "llvm/Analysis/ConstantFolding.h"
2725 #include "llvm/CodeGen/AsmPrinter.h"
4341 #include "llvm/MC/MCStreamer.h"
4442 #include "llvm/MC/MCSymbol.h"
4543 #include "llvm/Support/CommandLine.h"
46 #include "llvm/Support/Compiler.h"
4744 #include "llvm/Support/Debug.h"
4845 #include "llvm/Support/ELF.h"
4946 #include "llvm/Support/Format.h"
88
99 #define DEBUG_TYPE "hexbit"
1010
11 #include "llvm/CodeGen/Passes.h"
11 #include "HexagonBitTracker.h"
12 #include "HexagonTargetMachine.h"
1213 #include "llvm/CodeGen/MachineDominators.h"
1314 #include "llvm/CodeGen/MachineFunctionPass.h"
1415 #include "llvm/CodeGen/MachineInstrBuilder.h"
1516 #include "llvm/CodeGen/MachineRegisterInfo.h"
16 #include "llvm/Support/CommandLine.h"
17 #include "llvm/CodeGen/Passes.h"
1718 #include "llvm/Support/Debug.h"
1819 #include "llvm/Support/raw_ostream.h"
20 #include "llvm/Target/TargetInstrInfo.h"
1921 #include "llvm/Target/TargetMachine.h"
20 #include "llvm/Target/TargetInstrInfo.h"
21 #include "HexagonTargetMachine.h"
22 #include "HexagonBitTracker.h"
2322
2423 using namespace llvm;
2524
1313 #include "HexagonSubtarget.h"
1414
1515 #include "llvm/ADT/BitVector.h"
16 #include "llvm/ADT/DenseSet.h"
1716 #include "llvm/CodeGen/MachineBasicBlock.h"
1817 #include "llvm/CodeGen/MachineInstr.h"
1918 #include "llvm/CodeGen/MachineRegisterInfo.h"
20 #include "llvm/Target/TargetInstrInfo.h"
21 #include "llvm/Target/TargetRegisterInfo.h"
2219 #include "llvm/Support/Compiler.h"
2320 #include "llvm/Support/Debug.h"
2421 #include "llvm/Support/raw_ostream.h"
22 #include "llvm/Target/TargetInstrInfo.h"
23 #include "llvm/Target/TargetRegisterInfo.h"
2524
2625 #include
27 #include
2826
2927 using namespace llvm;
3028
1515 #include "llvm/CodeGen/MachineLoopInfo.h"
1616 #include "llvm/CodeGen/MachineRegisterInfo.h"
1717 #include "llvm/CodeGen/Passes.h"
18 #include "llvm/Support/Compiler.h"
1918 #include "llvm/Support/Debug.h"
2019 #include "llvm/Support/MathExtras.h"
2120 #include "llvm/Target/TargetInstrInfo.h"
7777 #include "HexagonTargetMachine.h"
7878
7979 #include
80 #include
81 #include
8280
8381 using namespace llvm;
8482
88
99 #define DEBUG_TYPE "hexinsert"
1010
11 #include "llvm/Pass.h"
12 #include "llvm/PassRegistry.h"
1311 #include "llvm/ADT/BitVector.h"
1412 #include "llvm/ADT/DenseMap.h"
15 #include "llvm/ADT/DenseSet.h"
1613 #include "llvm/ADT/PostOrderIterator.h"
1714 #include "llvm/CodeGen/MachineDominators.h"
1815 #include "llvm/CodeGen/MachineFunction.h"
2017 #include "llvm/CodeGen/MachineInstrBuilder.h"
2118 #include "llvm/CodeGen/MachineRegisterInfo.h"
2219 #include "llvm/IR/Constants.h"
20 #include "llvm/Pass.h"
21 #include "llvm/PassRegistry.h"
2322 #include "llvm/Support/CommandLine.h"
2423 #include "llvm/Support/Debug.h"
24 #include "llvm/Support/Timer.h"
2525 #include "llvm/Support/raw_ostream.h"
26 #include "llvm/Support/Timer.h"
2726 #include "llvm/Target/TargetMachine.h"
2827 #include "llvm/Target/TargetRegisterInfo.h"
2928
3231 #include "HexagonTargetMachine.h"
3332 #include "HexagonBitTracker.h"
3433
35 #include
3634 #include
3735
3836 using namespace llvm;
88
99 #define DEBUG_TYPE "gen-pred"
1010
11 #include "HexagonTargetMachine.h"
1112 #include "llvm/ADT/SetVector.h"
12 #include "llvm/CodeGen/Passes.h"
1313 #include "llvm/CodeGen/MachineDominators.h"
1414 #include "llvm/CodeGen/MachineFunctionPass.h"
1515 #include "llvm/CodeGen/MachineInstrBuilder.h"
1616 #include "llvm/CodeGen/MachineLoopInfo.h"
1717 #include "llvm/CodeGen/MachineRegisterInfo.h"
18 #include "llvm/Support/CommandLine.h"
18 #include "llvm/CodeGen/Passes.h"
1919 #include "llvm/Support/Debug.h"
2020 #include "llvm/Support/raw_ostream.h"
21 #include "llvm/Target/TargetInstrInfo.h"
2122 #include "llvm/Target/TargetMachine.h"
22 #include "llvm/Target/TargetInstrInfo.h"
23 #include "HexagonTargetMachine.h"
2423
2524 #include
2625 #include
2726 #include
28 #include
2927
3028 using namespace llvm;
3129
1414 #include "HexagonISelLowering.h"
1515 #include "HexagonMachineFunctionInfo.h"
1616 #include "HexagonTargetMachine.h"
17 #include "llvm/ADT/DenseMap.h"
1817 #include "llvm/CodeGen/FunctionLoweringInfo.h"
1918 #include "llvm/CodeGen/MachineInstrBuilder.h"
2019 #include "llvm/CodeGen/SelectionDAGISel.h"
2120 #include "llvm/IR/Intrinsics.h"
2221 #include "llvm/Support/CommandLine.h"
23 #include "llvm/Support/Compiler.h"
2422 #include "llvm/Support/Debug.h"
2523 using namespace llvm;
2624
2323 #include "llvm/CodeGen/ResourcePriorityQueue.h"
2424 #include "llvm/CodeGen/ScheduleDAGInstrs.h"
2525 #include "llvm/CodeGen/ScheduleHazardRecognizer.h"
26 #include "llvm/Support/CommandLine.h"
2726 #include "llvm/Support/Debug.h"
2827 #include "llvm/Support/ErrorHandling.h"
2928 #include "llvm/Support/raw_ostream.h"
2020 //
2121 //
2222 //===----------------------------------------------------------------------===//
23 #include "llvm/PassSupport.h"
2423 #include "Hexagon.h"
2524 #include "HexagonInstrInfo.h"
2625 #include "HexagonMachineFunctionInfo.h"
2726 #include "HexagonRegisterInfo.h"
2827 #include "HexagonSubtarget.h"
2928 #include "HexagonTargetMachine.h"
30 #include "llvm/ADT/DenseMap.h"
3129 #include "llvm/ADT/Statistic.h"
3230 #include "llvm/CodeGen/LiveVariables.h"
3331 #include "llvm/CodeGen/MachineFunctionAnalysis.h"
3634 #include "llvm/CodeGen/MachineRegisterInfo.h"
3735 #include "llvm/CodeGen/Passes.h"
3836 #include "llvm/CodeGen/ScheduleDAGInstrs.h"
37 #include "llvm/PassSupport.h"
3938 #include "llvm/Support/CommandLine.h"
40 #include "llvm/Support/Compiler.h"
4139 #include "llvm/Support/Debug.h"
4240 #include "llvm/Support/raw_ostream.h"
4341 #include "llvm/Target/TargetInstrInfo.h"
4442 #include "llvm/Target/TargetMachine.h"
4543 #include "llvm/Target/TargetRegisterInfo.h"
46 #include
4744 using namespace llvm;
4845
4946 #define DEBUG_TYPE "hexagon-nvj"
2828 #include "llvm/IR/Function.h"
2929 #include "llvm/IR/Type.h"
3030 #include "llvm/MC/MachineLocation.h"
31 #include "llvm/Support/CommandLine.h"
3231 #include "llvm/Support/Debug.h"
3332 #include "llvm/Support/ErrorHandling.h"
3433 #include "llvm/Support/raw_ostream.h"
2020 #include "HexagonSubtarget.h"
2121 #include "HexagonTargetMachine.h"
2222 #include "HexagonTargetObjectFile.h"
23 #include "llvm/ADT/Statistic.h"
2423 #include "llvm/CodeGen/LatencyPriorityQueue.h"
2524 #include "llvm/CodeGen/MachineDominators.h"
2625 #include "llvm/CodeGen/MachineFunctionPass.h"
3130 #include "llvm/CodeGen/ScheduleDAGInstrs.h"
3231 #include "llvm/CodeGen/ScheduleHazardRecognizer.h"
3332 #include "llvm/CodeGen/SchedulerRegistry.h"
34 #include "llvm/Support/CommandLine.h"
35 #include "llvm/Support/Compiler.h"
3633 #include "llvm/Support/Debug.h"
3734 #include "llvm/Support/MathExtras.h"
3835 #include "llvm/Target/TargetInstrInfo.h"
3936 #include "llvm/Target/TargetMachine.h"
4037 #include "llvm/Target/TargetRegisterInfo.h"
41 #include
4238
4339 using namespace llvm;
4440
1111 #include "HexagonRegisterInfo.h"
1212 #include "HexagonTargetMachine.h"
1313
14 #include "llvm/Pass.h"
15 #include "llvm/ADT/DenseMap.h"
1614 #include "llvm/CodeGen/MachineFunction.h"
1715 #include "llvm/CodeGen/MachineFunctionPass.h"
1816 #include "llvm/CodeGen/MachineInstrBuilder.h"
1917 #include "llvm/CodeGen/MachineLoopInfo.h"
2018 #include "llvm/CodeGen/MachineRegisterInfo.h"
19 #include "llvm/Pass.h"
2120 #include "llvm/Support/CommandLine.h"
2221 #include "llvm/Support/Debug.h"
2322 #include "llvm/Support/raw_ostream.h"
2828 #include "llvm/CodeGen/Passes.h"
2929 #include "llvm/Support/CommandLine.h"
3030 #include "llvm/Support/Debug.h"
31 #include
32 #include
3331
3432 using namespace llvm;
3533
1313 #ifndef LLVM_LIB_TARGET_HEXAGON_MCTARGETDESC_HEXAGONMCASMINFO_H
1414 #define LLVM_LIB_TARGET_HEXAGON_MCTARGETDESC_HEXAGONMCASMINFO_H
1515
16 #include "llvm/ADT/StringRef.h"
1716 #include "llvm/MC/MCAsmInfoELF.h"
1817
1918 namespace llvm {
1515
1616 #include "HexagonBaseInfo.h"
1717
18 #include "llvm/ADT/SmallVector.h"
1918 #include "llvm/MC/MCInstrDesc.h"
2019 #include "llvm/MC/MCInstrInfo.h"
2120 #include "llvm/Support/CommandLine.h"
1414 #ifndef HEXAGONMCCHECKER_H
1515 #define HEXAGONMCCHECKER_H
1616
17 #include
17 #include "MCTargetDesc/HexagonMCShuffler.h"
18 #include
1819 #include
19 #include
20 #include "MCTargetDesc/HexagonMCShuffler.h"
2120
2221 using namespace llvm;
2322
201201 #ifndef RDF_GRAPH_H
202202 #define RDF_GRAPH_H
203203
204 #include "llvm/ADT/BitVector.h"
205204 #include "llvm/Support/Allocator.h"
206205 #include "llvm/Support/Debug.h"
207206 #include "llvm/Support/raw_ostream.h"
1313 #ifndef LLVM_LIB_TARGET_LANAI_MCTARGETDESC_LANAIMCASMINFO_H
1414 #define LLVM_LIB_TARGET_LANAI_MCTARGETDESC_LANAIMCASMINFO_H
1515
16 #include "llvm/ADT/StringRef.h"
1716 #include "llvm/MC/MCAsmInfoELF.h"
1817
1918 namespace llvm {
2121 #include "llvm/CodeGen/MachineRegisterInfo.h"
2222 #include "llvm/IR/DataLayout.h"
2323 #include "llvm/IR/Function.h"
24 #include "llvm/Support/CommandLine.h"
2524 #include "llvm/Target/TargetOptions.h"
2625
2726 using namespace llvm;
2323 #include "llvm/IR/DerivedTypes.h"
2424 #include "llvm/IR/Function.h"
2525 #include "llvm/IR/Intrinsics.h"
26 #include "llvm/Support/Compiler.h"
2726 #include "llvm/Support/Debug.h"
2827 #include "llvm/Support/ErrorHandling.h"
2928 #include "llvm/Support/raw_ostream.h"
1212 #include "MipsRegisterInfo.h"
1313 #include "MipsTargetObjectFile.h"
1414 #include "MipsTargetStreamer.h"
15 #include "llvm/ADT/APInt.h"
1615 #include "llvm/ADT/SmallVector.h"
1716 #include "llvm/ADT/StringSwitch.h"
1817 #include "llvm/MC/MCContext.h"
99 #ifndef LLVM_LIB_TARGET_MIPS_MCTARGETDESC_MIPSABIINFO_H
1010 #define LLVM_LIB_TARGET_MIPS_MCTARGETDESC_MIPSABIINFO_H
1111
12 #include "llvm/ADT/ArrayRef.h"
1312 #include "llvm/ADT/Triple.h"
1413 #include "llvm/IR/CallingConv.h"
1514 #include "llvm/MC/MCRegisterInfo.h"
1615
1716 namespace llvm {
1817
18 template class ArrayRef;
1919 class MCTargetOptions;
2020 class StringRef;
2121 class TargetRegisterClass;
1717 #include "llvm/MC/MCSymbolELF.h"
1818 #include "llvm/MC/MCValue.h"
1919 #include "llvm/Support/ErrorHandling.h"
20 #include
2120
2221 using namespace llvm;
2322
1010 //
1111 //===----------------------------------------------------------------------===//
1212
13 #include "MipsMCTargetDesc.h"
1314 #include "InstPrinter/MipsInstPrinter.h"
1415 #include "MipsELFStreamer.h"
1516 #include "MipsMCAsmInfo.h"
1617 #include "MipsMCNaCl.h"
17 #include "MipsMCTargetDesc.h"
1818 #include "MipsTargetStreamer.h"
1919 #include "llvm/ADT/Triple.h"
2020 #include "llvm/MC/MCCodeGenInfo.h"
2525 #include "llvm/MC/MCSubtargetInfo.h"
2626 #include "llvm/MC/MCSymbol.h"
2727 #include "llvm/MC/MachineLocation.h"
28 #include "llvm/Support/CommandLine.h"
2928 #include "llvm/Support/ErrorHandling.h"
3029 #include "llvm/Support/FormattedStream.h"
3130 #include "llvm/Support/TargetRegistry.h"
1010 //
1111 //===----------------------------------------------------------------------===//
1212
13 #include "MipsTargetStreamer.h"
1314 #include "InstPrinter/MipsInstPrinter.h"
1415 #include "MipsELFStreamer.h"
1516 #include "MipsMCTargetDesc.h"
1617 #include "MipsTargetObjectFile.h"
17 #include "MipsTargetStreamer.h"
1818 #include "llvm/MC/MCContext.h"
1919 #include "llvm/MC/MCSectionELF.h"
2020 #include "llvm/MC/MCSubtargetInfo.h"
2121 #include "llvm/MC/MCSymbolELF.h"
22 #include "llvm/Support/CommandLine.h"
2322 #include "llvm/Support/ELF.h"
2423 #include "llvm/Support/ErrorHandling.h"
2524 #include "llvm/Support/FormattedStream.h"
2323 #include "llvm/CodeGen/MachineRegisterInfo.h"
2424 #include "llvm/IR/DataLayout.h"
2525 #include "llvm/IR/Function.h"
26 #include "llvm/Support/CommandLine.h"
2726 #include "llvm/Target/TargetOptions.h"
2827
2928 using namespace llvm;
1515 #include "MipsMachineFunction.h"
1616 #include "MipsRegisterInfo.h"
1717 #include "MipsTargetMachine.h"
18 #include "llvm/ADT/StringRef.h"
1918 #include "llvm/CodeGen/MachineInstrBuilder.h"
2019 #include "llvm/Support/CommandLine.h"
2120 #include "llvm/Target/TargetInstrInfo.h"
22 #include
2321
2422 using namespace llvm;
2523
1414 #include "MipsMachineFunction.h"
1515 #include "MipsTargetMachine.h"
1616 #include "llvm/ADT/STLExtras.h"
17 #include "llvm/ADT/StringRef.h"
1817 #include "llvm/CodeGen/MachineInstrBuilder.h"
1918 #include "llvm/CodeGen/MachineRegisterInfo.h"
2019 #include "llvm/CodeGen/RegisterScavenging.h"
2120 #include "llvm/MC/MCAsmInfo.h"
22 #include "llvm/Support/CommandLine.h"
2321 #include "llvm/Support/Debug.h"
2422 #include "llvm/Support/ErrorHandling.h"
2523 #include "llvm/Support/TargetRegistry.h"
1616 #include "MipsInstrInfo.h"
1717 #include "MipsMachineFunction.h"
1818 #include "MipsSubtarget.h"
19 #include "llvm/ADT/BitVector.h"
2019 #include "llvm/ADT/STLExtras.h"
2120 #include "llvm/CodeGen/MachineFrameInfo.h"
2221 #include "llvm/CodeGen/MachineFunction.h"
2625 #include "llvm/IR/DebugInfo.h"
2726 #include "llvm/IR/Function.h"
2827 #include "llvm/IR/Type.h"
29 #include "llvm/Support/CommandLine.h"
3028 #include "llvm/Support/Debug.h"
3129 #include "llvm/Support/ErrorHandling.h"
3230 #include "llvm/Support/raw_ostream.h"
2222 #include "llvm/CodeGen/MachineRegisterInfo.h"
2323 #include "llvm/IR/DataLayout.h"
2424 #include "llvm/IR/Function.h"
25 #include "llvm/Support/CommandLine.h"
2625 #include "llvm/Target/TargetOptions.h"
2726
2827 using namespace llvm;
4545 #include "MipsInstrInfo.h"
4646 #include "MipsSEInstrInfo.h"
4747 #include "MipsTargetMachine.h"
48 #include "llvm/IR/Function.h"
4948 #include "llvm/ADT/Statistic.h"
5049 #include "llvm/CodeGen/MachineFunctionPass.h"
5150 #include "llvm/CodeGen/MachineInstrBuilder.h"
52 #include "llvm/Support/CommandLine.h"
51 #include "llvm/IR/Function.h"
5352 #include "llvm/Target/TargetInstrInfo.h"
5453 #include "llvm/Target/TargetMachine.h"
5554 #include "llvm/Target/TargetRegisterInfo.h"
99 #ifndef LLVM_LIB_TARGET_MIPS_MIPSMCINSTLOWER_H
1010 #define LLVM_LIB_TARGET_MIPS_MIPSMCINSTLOWER_H
1111 #include "MCTargetDesc/MipsMCExpr.h"
12 #include "llvm/ADT/SmallVector.h"
1312 #include "llvm/CodeGen/MachineOperand.h"
1413 #include "llvm/Support/Compiler.h"
1514
1818 #include "llvm/CodeGen/MachineFunction.h"
1919 #include "llvm/CodeGen/MachineMemOperand.h"
2020 #include "llvm/CodeGen/PseudoSourceValue.h"
21 #include "llvm/IR/ValueMap.h"
2221 #include "llvm/Target/TargetFrameLowering.h"
2322 #include "llvm/Target/TargetMachine.h"
2423 #include
25 #include
26 #include
2724
2825 namespace llvm {
2926
1919 #include "llvm/ADT/BitVector.h"
2020 #include "llvm/ADT/STLExtras.h"
2121 #include "llvm/CodeGen/MachineFrameInfo.h"
22 #include "llvm/CodeGen/MachineRegisterInfo.h"
2322 #include "llvm/CodeGen/MachineFunction.h"
2423 #include "llvm/CodeGen/MachineInstrBuilder.h"
24 #include "llvm/CodeGen/MachineRegisterInfo.h"
2525 #include "llvm/IR/Constants.h"
2626 #include "llvm/IR/DebugInfo.h"
2727 #include "llvm/IR/Function.h"
2828 #include "llvm/IR/Type.h"
29 #include "llvm/Support/CommandLine.h"
3029 #include "llvm/Support/Debug.h"
3130 #include "llvm/Support/ErrorHandling.h"
3231 #include "llvm/Support/raw_ostream.h"
2424 #include "llvm/CodeGen/RegisterScavenging.h"
2525 #include "llvm/IR/DataLayout.h"
2626 #include "llvm/IR/Function.h"
27 #include "llvm/Support/CommandLine.h"
2827 #include "llvm/Target/TargetOptions.h"
2928
3029 using namespace llvm;
1111 //===----------------------------------------------------------------------===//
1212
1313 #include "MipsSEInstrInfo.h"
14 #include "InstPrinter/MipsInstPrinter.h"
1415 #include "MipsAnalyzeImmediate.h"
15 #include "InstPrinter/MipsInstPrinter.h"
1616 #include "MipsMachineFunction.h"
1717 #include "MipsTargetMachine.h"
1818 #include "llvm/ADT/STLExtras.h"
1919 #include "llvm/CodeGen/MachineInstrBuilder.h"
2020 #include "llvm/CodeGen/MachineRegisterInfo.h"
21 #include "llvm/Support/CommandLine.h"
2221 #include "llvm/Support/ErrorHandling.h"
2322 #include "llvm/Support/TargetRegistry.h"
2423
1717 #include "MipsSEInstrInfo.h"
1818 #include "MipsSubtarget.h"
1919 #include "MipsTargetMachine.h"
20 #include "llvm/ADT/BitVector.h"
2120 #include "llvm/ADT/STLExtras.h"
2221 #include "llvm/CodeGen/MachineFrameInfo.h"
2322 #include "llvm/CodeGen/MachineFunction.h"
2726 #include "llvm/IR/DebugInfo.h"
2827 #include "llvm/IR/Function.h"
2928 #include "llvm/IR/Type.h"
30 #include "llvm/Support/CommandLine.h"
3129 #include "llvm/Support/Debug.h"
3230 #include "llvm/Support/ErrorHandling.h"
3331 #include "llvm/Support/raw_ostream.h"
1717 #include "NVPTX.h"
1818 #include "NVPTXSubtarget.h"
1919 #include "NVPTXTargetMachine.h"
20 #include "llvm/ADT/SmallString.h"
2120 #include "llvm/ADT/StringExtras.h"
2221 #include "llvm/CodeGen/AsmPrinter.h"
2322 #include "llvm/CodeGen/MachineLoopInfo.h"
2625 #include "llvm/MC/MCExpr.h"
2726 #include "llvm/MC/MCStreamer.h"
2827 #include "llvm/MC/MCSymbol.h"
29 #include "llvm/Support/CommandLine.h"
3028 #include "llvm/Support/FormattedStream.h"
3129 #include "llvm/Target/TargetMachine.h"
3230 #include
1515 #include "NVPTXRegisterInfo.h"
1616 #include "NVPTXSubtarget.h"
1717 #include "NVPTXTargetMachine.h"
18 #include "llvm/ADT/BitVector.h"
1918 #include "llvm/CodeGen/MachineFrameInfo.h"
2019 #include "llvm/CodeGen/MachineFunction.h"
2120 #include "llvm/CodeGen/MachineInstrBuilder.h"
102102 #include "llvm/IR/InstIterator.h"
103103 #include "llvm/IR/Instructions.h"
104104 #include "llvm/IR/Operator.h"
105