llvm.org GIT mirror llvm / 3c0d607
Re-sort #include lines for unittests. This uses a slightly modified clang-format (https://reviews.llvm.org/D33932) to keep primary headers at the top and handle new utility headers like 'gmock' consistently with other utility headers. No other change was made. I did no manual edits, all of this is clang-format. This should allow other changes to have more clear and focused diffs, and is especially motivated by moving some headers into more focused libraries. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304786 91177308-0d34-0410-b5e6-96231b3b80d8 Chandler Carruth 2 years ago
94 changed file(s) with 106 addition(s) and 108 deletion(s). Raw diff Collapse all Expand all
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/ADT/DAGDeltaAlgorithm.h"
910 #include "gtest/gtest.h"
10 #include "llvm/ADT/DAGDeltaAlgorithm.h"
1111 #include
1212 #include
1313 using namespace llvm;
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/ADT/DeltaAlgorithm.h"
910 #include "gtest/gtest.h"
10 #include "llvm/ADT/DeltaAlgorithm.h"
1111 #include
1212 #include
1313 using namespace llvm;
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/ADT/DenseMap.h"
910 #include "gtest/gtest.h"
10 #include "llvm/ADT/DenseMap.h"
1111 #include
1212 #include
1313
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/ADT/DepthFirstIterator.h"
910 #include "TestGraph.h"
10 #include "llvm/ADT/DepthFirstIterator.h"
1111 #include "gtest/gtest.h"
1212
1313 using namespace llvm;
1010 //
1111 //===----------------------------------------------------------------------===//
1212
13 #include "llvm/ADT/FoldingSet.h"
1314 #include "gtest/gtest.h"
14 #include "llvm/ADT/FoldingSet.h"
1515 #include
1616
1717 using namespace llvm;
1010 //
1111 //===----------------------------------------------------------------------===//
1212
13 #include "gtest/gtest.h"
1413 #include "llvm/ADT/Hashing.h"
1514 #include "llvm/Support/DataTypes.h"
15 #include "gtest/gtest.h"
1616 #include
1717 #include
1818 #include
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/ADT/ImmutableMap.h"
910 #include "gtest/gtest.h"
10 #include "llvm/ADT/ImmutableMap.h"
1111
1212 using namespace llvm;
1313
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/ADT/ImmutableSet.h"
910 #include "gtest/gtest.h"
10 #include "llvm/ADT/ImmutableSet.h"
1111
1212 using namespace llvm;
1313
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/ADT/iterator.h"
910 #include "llvm/ADT/STLExtras.h"
1011 #include "llvm/ADT/SmallVector.h"
11 #include "llvm/ADT/iterator.h"
1212 #include "gtest/gtest.h"
1313
1414 using namespace llvm;
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "gtest/gtest.h"
109 #include "llvm/ADT/MapVector.h"
1110 #include "llvm/ADT/iterator_range.h"
11 #include "gtest/gtest.h"
1212 #include
1313
1414 using namespace llvm;
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/ADT/Optional.h"
910 #include "gtest/gtest.h"
10 #include "llvm/ADT/Optional.h"
1111
1212 using namespace llvm;
1313
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/ADT/PointerEmbeddedInt.h"
910 #include "gtest/gtest.h"
10 #include "llvm/ADT/PointerEmbeddedInt.h"
1111 using namespace llvm;
1212
1313 namespace {
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/ADT/PointerIntPair.h"
910 #include "gtest/gtest.h"
10 #include "llvm/ADT/PointerIntPair.h"
1111 #include
1212 using namespace llvm;
1313
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/ADT/PointerSumType.h"
910 #include "gtest/gtest.h"
10 #include "llvm/ADT/PointerSumType.h"
1111 using namespace llvm;
1212
1313 namespace {
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/ADT/PointerUnion.h"
910 #include "gtest/gtest.h"
10 #include "llvm/ADT/PointerUnion.h"
1111 using namespace llvm;
1212
1313 namespace {
55 // License. See LICENSE.TXT for details.
66 //
77 //===----------------------------------------------------------------------===//
8 #include "gtest/gtest.h"
98 #include "llvm/ADT/PostOrderIterator.h"
109 #include "llvm/IR/BasicBlock.h"
1110 #include "llvm/IR/CFG.h"
11 #include "gtest/gtest.h"
1212 using namespace llvm;
1313
1414 namespace {
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/ADT/STLExtras.h"
910 #include "llvm/ADT/iterator_range.h"
10 #include "llvm/ADT/STLExtras.h"
1111 #include "gtest/gtest.h"
1212
1313 #include
1010 //
1111 //===----------------------------------------------------------------------===//
1212
13 #include "llvm/ADT/SmallPtrSet.h"
1314 #include "gtest/gtest.h"
14 #include "llvm/ADT/SmallPtrSet.h"
1515
1616 #if LLVM_ENABLE_ABI_BREAKING_CHECKS
1717 using namespace llvm;
77 //===----------------------------------------------------------------------===//
88
99 #include "llvm/ADT/SCCIterator.h"
10 #include "TestGraph.h"
1011 #include "gtest/gtest.h"
11 #include "TestGraph.h"
1212 #include
1313
1414 using namespace llvm;
1010 //
1111 //===----------------------------------------------------------------------===//
1212
13 #include "llvm/ADT/SmallPtrSet.h"
14 #include "llvm/ADT/PointerIntPair.h"
15 #include "llvm/Support/PointerLikeTypeTraits.h"
1316 #include "gtest/gtest.h"
14 #include "llvm/ADT/PointerIntPair.h"
15 #include "llvm/ADT/SmallPtrSet.h"
16 #include "llvm/Support/PointerLikeTypeTraits.h"
1717
1818 using namespace llvm;
1919
1010 //
1111 //===----------------------------------------------------------------------===//
1212
13 #include "llvm/ADT/SmallVector.h"
1314 #include "llvm/ADT/ArrayRef.h"
14 #include "llvm/ADT/SmallVector.h"
1515 #include "llvm/Support/Compiler.h"
1616 #include "gtest/gtest.h"
1717 #include
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/ADT/Triple.h"
910 #include "gtest/gtest.h"
10 #include "llvm/ADT/Triple.h"
1111
1212 using namespace llvm;
1313
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/ADT/Twine.h"
910 #include "llvm/ADT/SmallString.h"
10 #include "llvm/ADT/Twine.h"
1111 #include "llvm/Support/FormatAdapters.h"
1212 #include "llvm/Support/FormatVariadic.h"
1313 #include "llvm/Support/raw_ostream.h"
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/ADT/VariadicFunction.h"
10 #include "llvm/ADT/ArrayRef.h"
911 #include "gtest/gtest.h"
10 #include "llvm/ADT/ArrayRef.h"
11 #include "llvm/ADT/VariadicFunction.h"
1212
1313 using namespace llvm;
1414 namespace {
1212 #include "llvm/IR/BasicBlock.h"
1313 #include "llvm/IR/Constants.h"
1414 #include "llvm/IR/Dominators.h"
15 #include "llvm/IR/Function.h"
1516 #include "llvm/IR/Instructions.h"
16 #include "llvm/IR/Function.h"
1717 #include "llvm/IR/LLVMContext.h"
1818 #include "llvm/IR/Module.h"
1919 #include "llvm/Support/DataTypes.h"
1313 #include "llvm/IR/Function.h"
1414 #include "llvm/IR/InstIterator.h"
1515 #include "llvm/IR/LLVMContext.h"
16 #include "llvm/IR/LegacyPassManager.h"
1617 #include "llvm/IR/Module.h"
1718 #include "llvm/Pass.h"
18 #include "llvm/IR/LegacyPassManager.h"
1919 #include "llvm/Support/ErrorHandling.h"
2020 #include "llvm/Support/SourceMgr.h"
2121 #include "gtest/gtest.h"
88
99 #include "llvm/Analysis/LazyCallGraph.h"
1010 #include "llvm/AsmParser/Parser.h"
11 #include "llvm/IR/Function.h"
1112 #include "llvm/IR/Instructions.h"
12 #include "llvm/IR/Function.h"
1313 #include "llvm/IR/LLVMContext.h"
1414 #include "llvm/IR/Module.h"
1515 #include "llvm/Support/ErrorHandling.h"
55 // License. See LICENSE.TXT for details.
66 //
77 //===----------------------------------------------------------------------===//
8 #include "llvm/Analysis/MemorySSA.h"
89 #include "llvm/Analysis/AliasAnalysis.h"
910 #include "llvm/Analysis/BasicAliasAnalysis.h"
10 #include "llvm/Analysis/MemorySSA.h"
1111 #include "llvm/Analysis/MemorySSAUpdater.h"
1212 #include "llvm/IR/BasicBlock.h"
1313 #include "llvm/IR/DataLayout.h"
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/Analysis/ProfileSummaryInfo.h"
910 #include "llvm/Analysis/BlockFrequencyInfo.h"
1011 #include "llvm/Analysis/BlockFrequencyInfoImpl.h"
1112 #include "llvm/Analysis/BranchProbabilityInfo.h"
1213 #include "llvm/Analysis/LoopInfo.h"
13 #include "llvm/Analysis/ProfileSummaryInfo.h"
1414 #include "llvm/AsmParser/Parser.h"
1515 #include "llvm/IR/BasicBlock.h"
1616 #include "llvm/IR/CallSite.h"
88
99 #include "llvm/ADT/SmallVector.h"
1010 #include "llvm/Analysis/AssumptionCache.h"
11 #include "llvm/Analysis/LoopInfo.h"
1211 #include "llvm/Analysis/LoopInfo.h"
1312 #include "llvm/Analysis/ScalarEvolutionExpander.h"
1413 #include "llvm/Analysis/ScalarEvolutionExpressions.h"
1111 #include "llvm/IR/Constants.h"
1212 #include "llvm/IR/Instructions.h"
1313 #include "llvm/IR/LLVMContext.h"
14 #include "llvm/IR/LegacyPassManager.h"
1415 #include "llvm/IR/MDBuilder.h"
1516 #include "llvm/IR/Module.h"
16 #include "llvm/IR/LegacyPassManager.h"
1717 #include "llvm/IR/Verifier.h"
1818 #include "llvm/Support/CommandLine.h"
1919 #include "gtest/gtest.h"
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/Analysis/LoopUnrollAnalyzer.h"
910 #include "llvm/AsmParser/Parser.h"
11 #include "llvm/IR/Dominators.h"
1012 #include "llvm/IR/LegacyPassManager.h"
1113 #include "llvm/Support/SourceMgr.h"
12 #include "llvm/Analysis/LoopUnrollAnalyzer.h"
13 #include "llvm/IR/Dominators.h"
1414 #include "gtest/gtest.h"
1515
1616 using namespace llvm;
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/Bitcode/BitstreamReader.h"
910 #include "llvm/ADT/STLExtras.h"
10 #include "llvm/Bitcode/BitstreamReader.h"
1111 #include "llvm/Bitcode/BitstreamWriter.h"
1212 #include "gtest/gtest.h"
1313
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/Bitcode/BitstreamWriter.h"
910 #include "llvm/ADT/STLExtras.h"
1011 #include "llvm/ADT/SmallString.h"
11 #include "llvm/Bitcode/BitstreamWriter.h"
1212 #include "gtest/gtest.h"
1313
1414 using namespace llvm;
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/CodeGen/DIE.h"
109 #include "../lib/CodeGen/AsmPrinter/DIEHash.h"
1110 #include "llvm/ADT/STLExtras.h"
11 #include "llvm/CodeGen/DIE.h"
1212 #include "llvm/CodeGen/DwarfStringPoolEntry.h"
1313 #include "llvm/Support/Debug.h"
1414 #include "llvm/Support/Dwarf.h"
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/CodeGen/MachineInstrBundleIterator.h"
910 #include "llvm/ADT/ilist_node.h"
10 #include "llvm/CodeGen/MachineInstrBundleIterator.h"
1111 #include "gtest/gtest.h"
1212
1313 using namespace llvm;
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "DwarfGenerator.h"
910 #include "../lib/CodeGen/AsmPrinter/DwarfStringPool.h"
10 #include "DwarfGenerator.h"
1111 #include "llvm/ADT/Triple.h"
1212 #include "llvm/CodeGen/AsmPrinter.h"
1313 #include "llvm/CodeGen/DIE.h"
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/ADT/STLExtras.h"
910 #include "llvm/ExecutionEngine/Interpreter.h"
1011 #include "llvm/ExecutionEngine/RTDyldMemoryManager.h"
11 #include "llvm/ADT/STLExtras.h"
1212 #include "llvm/IR/DerivedTypes.h"
1313 #include "llvm/IR/GlobalVariable.h"
1414 #include "llvm/IR/LLVMContext.h"
1111 //
1212 //===----------------------------------------------------------------------===//
1313
14 #include "MCJITTestAPICommon.h"
1415 #include "llvm-c/Analysis.h"
15 #include "MCJITTestAPICommon.h"
1616 #include "llvm-c/Core.h"
1717 #include "llvm-c/ExecutionEngine.h"
1818 #include "llvm-c/Target.h"
1111 // modules, accessing global variables, etc.
1212 //===----------------------------------------------------------------------===//
1313
14 #include "MCJITTestBase.h"
1415 #include "llvm/ExecutionEngine/MCJIT.h"
15 #include "MCJITTestBase.h"
1616 #include "gtest/gtest.h"
1717
1818 using namespace llvm;
1212 //===----------------------------------------------------------------------===//
1313
1414 #include "llvm/ExecutionEngine/MCJIT.h"
15 #include "MCJITTestBase.h"
1516 #include "llvm/Support/DynamicLibrary.h"
16 #include "MCJITTestBase.h"
1717 #include "gtest/gtest.h"
1818
1919 using namespace llvm;
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h"
910 #include "OrcTestCommon.h"
10 #include "llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h"
1111 #include "gtest/gtest.h"
1212
1313 using namespace llvm;
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/ExecutionEngine/Orc/IndirectionUtils.h"
910 #include "OrcTestCommon.h"
1011 #include "llvm/ADT/SmallVector.h"
11 #include "llvm/ExecutionEngine/Orc/IndirectionUtils.h"
1212 #include "gtest/gtest.h"
1313
1414 using namespace llvm;
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/ExecutionEngine/Orc/LazyEmittingLayer.h"
910 #include "llvm/ExecutionEngine/RuntimeDyld.h"
10 #include "llvm/ExecutionEngine/Orc/LazyEmittingLayer.h"
1111 #include "gtest/gtest.h"
1212
1313 namespace {
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/ExecutionEngine/Orc/ObjectTransformLayer.h"
910 #include "llvm/ADT/STLExtras.h"
1011 #include "llvm/ADT/SmallVector.h"
1112 #include "llvm/ExecutionEngine/Orc/CompileUtils.h"
1213 #include "llvm/ExecutionEngine/Orc/IRCompileLayer.h"
1314 #include "llvm/ExecutionEngine/Orc/NullResolver.h"
1415 #include "llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h"
15 #include "llvm/ExecutionEngine/Orc/ObjectTransformLayer.h"
1616 #include "llvm/Object/ObjectFile.h"
1717 #include "gtest/gtest.h"
1818
77 //===----------------------------------------------------------------------===//
88
99 #include "OrcTestCommon.h"
10 #include "gtest/gtest.h"
1110 #include "llvm-c/Core.h"
1211 #include "llvm-c/OrcBindings.h"
1312 #include "llvm-c/Target.h"
1413 #include "llvm-c/TargetMachine.h"
14 #include "gtest/gtest.h"
1515
1616 #include
1717 #include
1414 #ifndef LLVM_UNITTESTS_EXECUTIONENGINE_ORC_ORCTESTCOMMON_H
1515 #define LLVM_UNITTESTS_EXECUTIONENGINE_ORC_ORCTESTCOMMON_H
1616
17 #include "llvm/ExecutionEngine/ExecutionEngine.h"
18 #include "llvm/ExecutionEngine/JITSymbol.h"
1719 #include "llvm/IR/Function.h"
1820 #include "llvm/IR/IRBuilder.h"
1921 #include "llvm/IR/LLVMContext.h"
2022 #include "llvm/IR/Module.h"
2123 #include "llvm/IR/TypeBuilder.h"
2224 #include "llvm/Object/ObjectFile.h"
23 #include "llvm/ExecutionEngine/ExecutionEngine.h"
24 #include "llvm/ExecutionEngine/JITSymbol.h"
2525 #include "llvm/Support/TargetSelect.h"
2626 #include
2727
1212 #include "llvm/ExecutionEngine/Orc/RawByteChannel.h"
1313 #include "llvm/Support/Error.h"
1414
15 #include
1516 #include
16 #include
1717
1818 namespace llvm {
1919
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h"
910 #include "OrcTestCommon.h"
1011 #include "llvm/ExecutionEngine/ExecutionEngine.h"
11 #include "llvm/ExecutionEngine/SectionMemoryManager.h"
1212 #include "llvm/ExecutionEngine/Orc/CompileUtils.h"
1313 #include "llvm/ExecutionEngine/Orc/LambdaResolver.h"
1414 #include "llvm/ExecutionEngine/Orc/NullResolver.h"
15 #include "llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h"
15 #include "llvm/ExecutionEngine/SectionMemoryManager.h"
1616 #include "llvm/IR/Constants.h"
1717 #include "llvm/IR/LLVMContext.h"
1818 #include "gtest/gtest.h"
55 // License. See LICENSE.TXT for details.
66 //
77 //===----------------------------------------------------------------------===//
8 #include "llvm/IR/Function.h"
89 #include "llvm/IR/IRBuilder.h"
9 #include "llvm/IR/Function.h"
1010 #include "llvm/IR/LLVMContext.h"
1111 #include "llvm/IR/MDBuilder.h"
1212 #include "llvm/IR/Module.h"
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/IR/Constants.h"
10 #include "llvm-c/Core.h"
911 #include "llvm/AsmParser/Parser.h"
10 #include "llvm/IR/Constants.h"
1112 #include "llvm/IR/DerivedTypes.h"
1213 #include "llvm/IR/InstrTypes.h"
1314 #include "llvm/IR/Instruction.h"
1415 #include "llvm/IR/LLVMContext.h"
1516 #include "llvm/IR/Module.h"
1617 #include "llvm/Support/SourceMgr.h"
17 #include "llvm-c/Core.h"
1818 #include "gtest/gtest.h"
1919
2020 namespace llvm {
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/IR/DebugInfoMetadata.h"
910 #include "llvm/IR/LLVMContext.h"
10 #include "llvm/IR/DebugInfoMetadata.h"
1111 #include "gtest/gtest.h"
1212 using namespace llvm;
1313
88
99 #include "llvm/IR/IRBuilder.h"
1010 #include "llvm/IR/BasicBlock.h"
11 #include "llvm/IR/DIBuilder.h"
1112 #include "llvm/IR/DataLayout.h"
12 #include "llvm/IR/DIBuilder.h"
1313 #include "llvm/IR/Function.h"
1414 #include "llvm/IR/IntrinsicInst.h"
1515 #include "llvm/IR/LLVMContext.h"
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/IR/Metadata.h"
910 #include "llvm/ADT/STLExtras.h"
1011 #include "llvm/IR/Constants.h"
1112 #include "llvm/IR/DebugInfo.h"
1314 #include "llvm/IR/Function.h"
1415 #include "llvm/IR/Instructions.h"
1516 #include "llvm/IR/LLVMContext.h"
16 #include "llvm/IR/Metadata.h"
1717 #include "llvm/IR/Module.h"
1818 #include "llvm/IR/ModuleSlotTracker.h"
1919 #include "llvm/IR/Type.h"
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/IR/Module.h"
910 #include "llvm/IR/GlobalVariable.h"
10 #include "llvm/IR/Module.h"
1111 #include "llvm/Support/RandomNumberGenerator.h"
1212 #include "gtest/gtest.h"
1313
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/IR/PassManager.h"
910 #include "llvm/AsmParser/Parser.h"
1011 #include "llvm/IR/Function.h"
1112 #include "llvm/IR/LLVMContext.h"
1213 #include "llvm/IR/Module.h"
13 #include "llvm/IR/PassManager.h"
1414 #include "llvm/Support/SourceMgr.h"
1515 #include "gtest/gtest.h"
1616
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/IR/PatternMatch.h"
910 #include "llvm/ADT/STLExtras.h"
1011 #include "llvm/Analysis/ValueTracking.h"
1112 #include "llvm/IR/BasicBlock.h"
2021 #include "llvm/IR/Module.h"
2122 #include "llvm/IR/NoFolder.h"
2223 #include "llvm/IR/Operator.h"
23 #include "llvm/IR/PatternMatch.h"
2424 #include "llvm/IR/Type.h"
2525 #include "gtest/gtest.h"
2626
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/IR/User.h"
910 #include "llvm/AsmParser/Parser.h"
1011 #include "llvm/IR/Function.h"
1112 #include "llvm/IR/Instructions.h"
1213 #include "llvm/IR/LLVMContext.h"
1314 #include "llvm/IR/Module.h"
14 #include "llvm/IR/User.h"
1515 #include "llvm/Support/SourceMgr.h"
1616 #include "gtest/gtest.h"
1717 using namespace llvm;
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/IR/Value.h"
910 #include "llvm/AsmParser/Parser.h"
1011 #include "llvm/IR/Function.h"
1112 #include "llvm/IR/LLVMContext.h"
1213 #include "llvm/IR/Module.h"
1314 #include "llvm/IR/ModuleSlotTracker.h"
14 #include "llvm/IR/Value.h"
1515 #include "llvm/Support/SourceMgr.h"
1616 #include "gtest/gtest.h"
1717 using namespace llvm;
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/IR/Verifier.h"
910 #include "llvm/IR/Constants.h"
1011 #include "llvm/IR/DIBuilder.h"
1112 #include "llvm/IR/DerivedTypes.h"
1213 #include "llvm/IR/Function.h"
1314 #include "llvm/IR/GlobalAlias.h"
1415 #include "llvm/IR/GlobalVariable.h"
16 #include "llvm/IR/IRBuilder.h"
1517 #include "llvm/IR/Instructions.h"
16 #include "llvm/IR/IRBuilder.h"
1718 #include "llvm/IR/LLVMContext.h"
1819 #include "llvm/IR/LegacyPassManager.h"
1920 #include "llvm/IR/Module.h"
20 #include "llvm/IR/Verifier.h"
2121 #include "gtest/gtest.h"
2222
2323 namespace llvm {
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm-c/Core.h"
10 #include "llvm-c/Linker.h"
911 #include "llvm/ADT/STLExtras.h"
1012 #include "llvm/AsmParser/Parser.h"
1113 #include "llvm/IR/BasicBlock.h"
1517 #include "llvm/IR/Module.h"
1618 #include "llvm/Linker/Linker.h"
1719 #include "llvm/Support/SourceMgr.h"
18 #include "llvm-c/Core.h"
19 #include "llvm-c/Linker.h"
2020 #include "gtest/gtest.h"
2121
2222 using namespace llvm;
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/Support/Dwarf.h"
109 #include "llvm/ADT/STLExtras.h"
1110 #include "llvm/MC/MCAsmInfo.h"
1211 #include "llvm/MC/MCContext.h"
1312 #include "llvm/MC/MCDwarf.h"
1413 #include "llvm/MC/MCRegisterInfo.h"
14 #include "llvm/Support/Dwarf.h"
1515 #include "llvm/Support/TargetRegistry.h"
1616 #include "llvm/Support/TargetSelect.h"
1717 #include "gtest/gtest.h"
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/MC/StringTableBuilder.h"
910 #include "llvm/ADT/SmallString.h"
10 #include "llvm/MC/StringTableBuilder.h"
1111 #include "llvm/Support/Endian.h"
1212 #include "gtest/gtest.h"
1313 #include
None #include "gtest/gtest.h"
1 #include "llvm/ADT/STLExtras.h"
21 #include "llvm/CodeGen/LiveIntervalAnalysis.h"
32 #include "llvm/CodeGen/MIRParser/MIRParser.h"
54 #include "llvm/CodeGen/MachineModuleInfo.h"
65 #include "llvm/CodeGen/MachineRegisterInfo.h"
76 #include "llvm/CodeGen/Passes.h"
7 #include "llvm/IR/LegacyPassManager.h"
88 #include "llvm/Support/MemoryBuffer.h"
99 #include "llvm/Support/SourceMgr.h"
1010 #include "llvm/Support/TargetRegistry.h"
1212 #include "llvm/Target/TargetMachine.h"
1313 #include "llvm/Target/TargetOptions.h"
1414 #include "llvm/Target/TargetRegisterInfo.h"
15 #include "llvm/IR/LegacyPassManager.h"
15 #include "gtest/gtest.h"
1616
1717 using namespace llvm;
1818
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/ProfileData/SampleProf.h"
910 #include "llvm/ADT/StringMap.h"
1011 #include "llvm/ADT/StringRef.h"
1112 #include "llvm/IR/LLVMContext.h"
1213 #include "llvm/IR/Metadata.h"
1314 #include "llvm/IR/Module.h"
1415 #include "llvm/ProfileData/ProfileCommon.h"
15 #include "llvm/ProfileData/SampleProf.h"
1616 #include "llvm/ProfileData/SampleProfReader.h"
1717 #include "llvm/ProfileData/SampleProfWriter.h"
1818 #include "llvm/Support/Casting.h"
0 #include "llvm/Support/ARMAttributeParser.h"
1 #include "llvm/Support/ARMBuildAttributes.h"
1 #include "llvm/Support/ARMAttributeParser.h"
22 #include "llvm/Support/LEB128.h"
33 #include "gtest/gtest.h"
44 #include
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/Support/CommandLine.h"
10 #include "llvm/ADT/STLExtras.h"
911 #include "llvm/ADT/SmallString.h"
10 #include "llvm/ADT/STLExtras.h"
1112 #include "llvm/Config/config.h"
12 #include "llvm/Support/CommandLine.h"
1313 #include "llvm/Support/FileSystem.h"
1414 #include "llvm/Support/Path.h"
1515 #include "llvm/Support/StringSaver.h"
1111 //===----------------------------------------------------------------------===//
1212
1313 #include "llvm/Support/Compression.h"
14 #include "llvm/Support/Error.h"
1514 #include "llvm/ADT/SmallString.h"
1615 #include "llvm/ADT/StringRef.h"
1716 #include "llvm/Config/config.h"
17 #include "llvm/Support/Error.h"
1818 #include "gtest/gtest.h"
1919
2020 using namespace llvm;
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/Support/Compiler.h"
910 #include "llvm/Support/CrashRecoveryContext.h"
10 #include "llvm/Support/Compiler.h"
1111 #include "gtest/gtest.h"
1212
1313 #ifdef LLVM_ON_WIN32
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/Support/DataExtractor.h"
910 #include "gtest/gtest.h"
10 #include "llvm/Support/DataExtractor.h"
1111 using namespace llvm;
1212
1313 namespace {
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/Support/DynamicLibrary.h"
910 #include "llvm/Config/config.h"
10 #include "llvm/Support/DynamicLibrary.h"
1111 #include "llvm/Support/FileSystem.h"
1212 #include "llvm/Support/ManagedStatic.h"
1313 #include "llvm/Support/Path.h"
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/Support/EndianStream.h"
910 #include "llvm/ADT/SmallString.h"
10 #include "llvm/Support/EndianStream.h"
1111 #include "llvm/Support/DataTypes.h"
1212 #include "gtest/gtest.h"
1313 using namespace llvm;
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/Support/FileOutputBuffer.h"
910 #include "llvm/Support/Errc.h"
1011 #include "llvm/Support/ErrorHandling.h"
11 #include "llvm/Support/FileOutputBuffer.h"
1212 #include "llvm/Support/FileSystem.h"
1313 #include "llvm/Support/Path.h"
1414 #include "llvm/Support/raw_ostream.h"
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/Support/FormatVariadic.h"
910 #include "llvm/Support/FormatAdapters.h"
10 #include "llvm/Support/FormatVariadic.h"
1111 #include "gtest/gtest.h"
1212
1313 using namespace llvm;
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/Support/LEB128.h"
10 #include "llvm/Support/DataTypes.h"
11 #include "llvm/Support/raw_ostream.h"
912 #include "gtest/gtest.h"
10 #include "llvm/Support/DataTypes.h"
11 #include "llvm/Support/LEB128.h"
12 #include "llvm/Support/raw_ostream.h"
1313 #include
1414 using namespace llvm;
1515
1010 //
1111 //===----------------------------------------------------------------------===//
1212
13 #include "llvm/Support/MD5.h"
1314 #include "llvm/ADT/ArrayRef.h"
1415 #include "llvm/ADT/SmallString.h"
15 #include "llvm/Support/MD5.h"
1616 #include "gtest/gtest.h"
1717
1818 using namespace llvm;
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/Support/MathExtras.h"
910 #include "gtest/gtest.h"
10 #include "llvm/Support/MathExtras.h"
1111
1212 using namespace llvm;
1313
1010 //
1111 //===----------------------------------------------------------------------===//
1212
13 #include "llvm/Support/MemoryBuffer.h"
1314 #include "llvm/Support/FileSystem.h"
1415 #include "llvm/Support/FileUtilities.h"
15 #include "llvm/Support/MemoryBuffer.h"
1616 #include "llvm/Support/raw_ostream.h"
1717 #include "gtest/gtest.h"
1818
77 //===----------------------------------------------------------------------===//
88
99 #include "llvm/Support/Path.h"
10 #include "llvm/ADT/STLExtras.h"
1011 #include "llvm/ADT/SmallVector.h"
11 #include "llvm/ADT/STLExtras.h"
1212 #include "llvm/ADT/Triple.h"
1313 #include "llvm/Support/ConvertUTF.h"
1414 #include "llvm/Support/Errc.h"
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/Support/Program.h"
10 #include "llvm/Support/CommandLine.h"
911 #include "llvm/Support/ConvertUTF.h"
10 #include "llvm/Support/CommandLine.h"
1112 #include "llvm/Support/FileSystem.h"
1213 #include "llvm/Support/Path.h"
13 #include "llvm/Support/Program.h"
1414 #include "gtest/gtest.h"
1515 #include
1616 #if defined(__APPLE__)
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/Support/SpecialCaseList.h"
910 #include "llvm/Support/FileSystem.h"
1011 #include "llvm/Support/MemoryBuffer.h"
11 #include "llvm/Support/SpecialCaseList.h"
1212 #include "gtest/gtest.h"
1313
1414 using namespace llvm;
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/Support/SwapByteOrder.h"
910 #include "gtest/gtest.h"
10 #include "llvm/Support/SwapByteOrder.h"
1111 #include
1212 #include
1313 using namespace llvm;
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/Support/TarWriter.h"
910 #include "llvm/Support/FileSystem.h"
1011 #include "llvm/Support/MemoryBuffer.h"
11 #include "llvm/Support/TarWriter.h"
1212 #include "gtest/gtest.h"
1313
1414 using namespace llvm;
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/Support/TargetParser.h"
910 #include "llvm/ADT/STLExtras.h"
1011 #include "llvm/Support/ARMBuildAttributes.h"
11 #include "llvm/Support/TargetParser.h"
1212 #include "gtest/gtest.h"
1313 #include
1414
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/Support/TrigramIndex.h"
910 #include "llvm/ADT/STLExtras.h"
10 #include "llvm/Support/TrigramIndex.h"
1111 #include "gtest/gtest.h"
1212
1313 #include
1212 #include "llvm/Support/Format.h"
1313 #include "llvm/Support/YAMLTraits.h"
1414 #include "gtest/gtest.h"
15
1615
1716 using llvm::yaml::Input;
1817 using llvm::yaml::Output;
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/Support/YAMLParser.h"
910 #include "llvm/ADT/Twine.h"
1011 #include "llvm/Support/Casting.h"
1112 #include "llvm/Support/MemoryBuffer.h"
1213 #include "llvm/Support/SourceMgr.h"
13 #include "llvm/Support/YAMLParser.h"
1414 #include "gtest/gtest.h"
1515
1616 namespace llvm {
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/ADT/SmallString.h"
910 #include "llvm/Support/FormattedStream.h"
10 #include "llvm/ADT/SmallString.h"
1111 #include "llvm/Support/raw_ostream.h"
1212 #include "gtest/gtest.h"
1313
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "gtest/gtest.h"
109 #include "llvm/ADT/SmallString.h"
1110 #include "llvm/Support/FileSystem.h"
1211 #include "llvm/Support/Format.h"
1312 #include "llvm/Support/raw_ostream.h"
13 #include "gtest/gtest.h"
1414
1515 using namespace llvm;
1616
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "gtest/gtest.h"
109 #include "llvm/ADT/SmallString.h"
1110 #include "llvm/Support/FileSystem.h"
1211 #include "llvm/Support/FileUtilities.h"
1312 #include "llvm/Support/raw_ostream.h"
13 #include "gtest/gtest.h"
1414
1515 using namespace llvm;
1616
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "gtest/gtest.h"
109 #include "llvm/Support/Format.h"
1110 #include "llvm/Support/raw_sha1_ostream.h"
11 #include "gtest/gtest.h"
1212
1313 #include
1414
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/Transforms/Scalar/LoopPassManager.h"
910 #include "llvm/Analysis/AliasAnalysis.h"
1011 #include "llvm/Analysis/AssumptionCache.h"
1112 #include "llvm/Analysis/ScalarEvolution.h"
1819 #include "llvm/IR/Module.h"
1920 #include "llvm/IR/PassManager.h"
2021 #include "llvm/Support/SourceMgr.h"
21 #include "llvm/Transforms/Scalar/LoopPassManager.h"
2222 #include "gmock/gmock.h"
2323 #include "gtest/gtest.h"
2424
99 #include "llvm/IR/BasicBlock.h"
1010 #include "llvm/IR/IRBuilder.h"
1111 #include "llvm/IR/Instructions.h"
12 #include "llvm/IR/LLVMContext.h"
1213 #include "llvm/IR/Module.h"
13 #include "llvm/IR/LLVMContext.h"
1414 #include "gtest/gtest.h"
1515
1616 using namespace llvm;
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/Transforms/Utils/ValueMapper.h"
910 #include "llvm/IR/Constants.h"
1011 #include "llvm/IR/Function.h"
1112 #include "llvm/IR/GlobalVariable.h"
1213 #include "llvm/IR/LLVMContext.h"
1314 #include "llvm/IR/Metadata.h"
14 #include "llvm/Transforms/Utils/ValueMapper.h"
1515 #include "gtest/gtest.h"
1616
1717 using namespace llvm;