llvm.org GIT mirror llvm / bc65a8d
Move the LLVM IR asm writer header files into the IR directory, as they are part of the core IR library in order to support dumping and other basic functionality. Rename the 'Assembly' include directory to 'AsmParser' to match the library name and the only functionality left their -- printing has been in the core IR library for quite some time. Update all of the #includes to match. All of this started because I wanted to have the layering in good shape before I started adding support for printing LLVM IR using the new pass infrastructure, and commandline support for the new pass infrastructure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198688 91177308-0d34-0410-b5e6-96231b3b80d8 Chandler Carruth 6 years ago
72 changed file(s) with 281 addition(s) and 281 deletion(s). Raw diff Collapse all Expand all
1414 #ifndef LLVM_ANALYSIS_CFGPRINTER_H
1515 #define LLVM_ANALYSIS_CFGPRINTER_H
1616
17 #include "llvm/Assembly/Writer.h"
1817 #include "llvm/IR/Constants.h"
1918 #include "llvm/IR/Function.h"
2019 #include "llvm/IR/Instructions.h"
20 #include "llvm/IR/Writer.h"
2121 #include "llvm/Support/CFG.h"
2222 #include "llvm/Support/GraphWriter.h"
2323
0 //===-- Parser.h - Parser for LLVM IR text assembly files -------*- C++ -*-===//
1 //
2 // The LLVM Compiler Infrastructure
3 //
4 // This file is distributed under the University of Illinois Open Source
5 // License. See LICENSE.TXT for details.
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // These classes are implemented by the lib/AsmParser library.
10 //
11 //===----------------------------------------------------------------------===//
12
13 #ifndef LLVM_ASMPARSER_PARSER_H
14 #define LLVM_ASMPARSER_PARSER_H
15
16 #include
17
18 namespace llvm {
19
20 class Module;
21 class MemoryBuffer;
22 class SMDiagnostic;
23 class LLVMContext;
24
25 /// This function is the main interface to the LLVM Assembly Parser. It parses
26 /// an ASCII file that (presumably) contains LLVM Assembly code. It returns a
27 /// Module (intermediate representation) with the corresponding features. Note
28 /// that this does not verify that the generated Module is valid, so you should
29 /// run the verifier after parsing the file to check that it is okay.
30 /// @brief Parse LLVM Assembly from a file
31 Module *ParseAssemblyFile(
32 const std::string &Filename, ///< The name of the file to parse
33 SMDiagnostic &Error, ///< Error result info.
34 LLVMContext &Context ///< Context in which to allocate globals info.
35 );
36
37 /// The function is a secondary interface to the LLVM Assembly Parser. It parses
38 /// an ASCII string that (presumably) contains LLVM Assembly code. It returns a
39 /// Module (intermediate representation) with the corresponding features. Note
40 /// that this does not verify that the generated Module is valid, so you should
41 /// run the verifier after parsing the file to check that it is okay.
42 /// @brief Parse LLVM Assembly from a string
43 Module *ParseAssemblyString(
44 const char *AsmString, ///< The string containing assembly
45 Module *M, ///< A module to add the assembly too.
46 SMDiagnostic &Error, ///< Error result info.
47 LLVMContext &Context
48 );
49
50 /// This function is the low-level interface to the LLVM Assembly Parser.
51 /// ParseAssemblyFile and ParseAssemblyString are wrappers around this function.
52 /// @brief Parse LLVM Assembly from a MemoryBuffer. This function *always*
53 /// takes ownership of the MemoryBuffer.
54 Module *ParseAssembly(
55 MemoryBuffer *F, ///< The MemoryBuffer containing assembly
56 Module *M, ///< A module to add the assembly too.
57 SMDiagnostic &Err, ///< Error result info.
58 LLVMContext &Context
59 );
60
61 } // End llvm namespace
62
63 #endif
+0
-63
include/llvm/Assembly/AssemblyAnnotationWriter.h less more
None //===-- AssemblyAnnotationWriter.h - Annotation .ll files -------*- C++ -*-===//
1 //
2 // The LLVM Compiler Infrastructure
3 //
4 // This file is distributed under the University of Illinois Open Source
5 // License. See LICENSE.TXT for details.
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // Clients of the assembly writer can use this interface to add their own
10 // special-purpose annotations to LLVM assembly language printouts. Note that
11 // the assembly parser won't be able to parse these, in general, so
12 // implementations are advised to print stuff as LLVM comments.
13 //
14 //===----------------------------------------------------------------------===//
15
16 #ifndef LLVM_ASSEMBLY_ASMANNOTATIONWRITER_H
17 #define LLVM_ASSEMBLY_ASMANNOTATIONWRITER_H
18
19 namespace llvm {
20
21 class Function;
22 class BasicBlock;
23 class Instruction;
24 class Value;
25 class formatted_raw_ostream;
26
27 class AssemblyAnnotationWriter {
28 public:
29
30 virtual ~AssemblyAnnotationWriter();
31
32 /// emitFunctionAnnot - This may be implemented to emit a string right before
33 /// the start of a function.
34 virtual void emitFunctionAnnot(const Function *,
35 formatted_raw_ostream &) {}
36
37 /// emitBasicBlockStartAnnot - This may be implemented to emit a string right
38 /// after the basic block label, but before the first instruction in the
39 /// block.
40 virtual void emitBasicBlockStartAnnot(const BasicBlock *,
41 formatted_raw_ostream &) {
42 }
43
44 /// emitBasicBlockEndAnnot - This may be implemented to emit a string right
45 /// after the basic block.
46 virtual void emitBasicBlockEndAnnot(const BasicBlock *,
47 formatted_raw_ostream &) {
48 }
49
50 /// emitInstructionAnnot - This may be implemented to emit a string right
51 /// before an instruction is emitted.
52 virtual void emitInstructionAnnot(const Instruction *,
53 formatted_raw_ostream &) {}
54
55 /// printInfoComment - This may be implemented to emit a comment to the
56 /// right of an instruction or global value.
57 virtual void printInfoComment(const Value &, formatted_raw_ostream &) {}
58 };
59
60 } // End llvm namespace
61
62 #endif
+0
-64
include/llvm/Assembly/Parser.h less more
None //===-- llvm/Assembly/Parser.h - Parser for VM assembly files ---*- C++ -*-===//
1 //
2 // The LLVM Compiler Infrastructure
3 //
4 // This file is distributed under the University of Illinois Open Source
5 // License. See LICENSE.TXT for details.
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // These classes are implemented by the lib/AsmParser library.
10 //
11 //===----------------------------------------------------------------------===//
12
13 #ifndef LLVM_ASSEMBLY_PARSER_H
14 #define LLVM_ASSEMBLY_PARSER_H
15
16 #include
17
18 namespace llvm {
19
20 class Module;
21 class MemoryBuffer;
22 class SMDiagnostic;
23 class LLVMContext;
24
25 /// This function is the main interface to the LLVM Assembly Parser. It parses
26 /// an ASCII file that (presumably) contains LLVM Assembly code. It returns a
27 /// Module (intermediate representation) with the corresponding features. Note
28 /// that this does not verify that the generated Module is valid, so you should
29 /// run the verifier after parsing the file to check that it is okay.
30 /// @brief Parse LLVM Assembly from a file
31 Module *ParseAssemblyFile(
32 const std::string &Filename, ///< The name of the file to parse
33 SMDiagnostic &Error, ///< Error result info.
34 LLVMContext &Context ///< Context in which to allocate globals info.
35 );
36
37 /// The function is a secondary interface to the LLVM Assembly Parser. It parses
38 /// an ASCII string that (presumably) contains LLVM Assembly code. It returns a
39 /// Module (intermediate representation) with the corresponding features. Note
40 /// that this does not verify that the generated Module is valid, so you should
41 /// run the verifier after parsing the file to check that it is okay.
42 /// @brief Parse LLVM Assembly from a string
43 Module *ParseAssemblyString(
44 const char *AsmString, ///< The string containing assembly
45 Module *M, ///< A module to add the assembly too.
46 SMDiagnostic &Error, ///< Error result info.
47 LLVMContext &Context
48 );
49
50 /// This function is the low-level interface to the LLVM Assembly Parser.
51 /// ParseAssemblyFile and ParseAssemblyString are wrappers around this function.
52 /// @brief Parse LLVM Assembly from a MemoryBuffer. This function *always*
53 /// takes ownership of the MemoryBuffer.
54 Module *ParseAssembly(
55 MemoryBuffer *F, ///< The MemoryBuffer containing assembly
56 Module *M, ///< A module to add the assembly too.
57 SMDiagnostic &Err, ///< Error result info.
58 LLVMContext &Context
59 );
60
61 } // End llvm namespace
62
63 #endif
+0
-48
include/llvm/Assembly/PrintModulePass.h less more
None //===- llvm/Assembly/PrintModulePass.h - Printing Pass ----------*- C++ -*-===//
1 //
2 // The LLVM Compiler Infrastructure
3 //
4 // This file is distributed under the University of Illinois Open Source
5 // License. See LICENSE.TXT for details.
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file defines two passes to print out a module. The PrintModulePass pass
10 // simply prints out the entire module when it is executed. The
11 // PrintFunctionPass class is designed to be pipelined with other
12 // FunctionPass's, and prints out the functions of the module as they are
13 // processed.
14 //
15 //===----------------------------------------------------------------------===//
16
17 #ifndef LLVM_ASSEMBLY_PRINTMODULEPASS_H
18 #define LLVM_ASSEMBLY_PRINTMODULEPASS_H
19
20 #include
21
22 namespace llvm {
23 class FunctionPass;
24 class ModulePass;
25 class BasicBlockPass;
26 class raw_ostream;
27
28 /// createPrintModulePass - Create and return a pass that writes the
29 /// module to the specified raw_ostream.
30 ModulePass *createPrintModulePass(raw_ostream *OS,
31 bool DeleteStream=false,
32 const std::string &Banner = "");
33
34 /// createPrintFunctionPass - Create and return a pass that prints
35 /// functions to the specified raw_ostream as they are processed.
36 FunctionPass *createPrintFunctionPass(const std::string &Banner,
37 raw_ostream *OS,
38 bool DeleteStream=false);
39
40 /// createPrintBasicBlockPass - Create and return a pass that writes the
41 /// BB to the specified raw_ostream.
42 BasicBlockPass *createPrintBasicBlockPass(raw_ostream *OS,
43 bool DeleteStream=false,
44 const std::string &Banner = "");
45 } // End llvm namespace
46
47 #endif
+0
-37
include/llvm/Assembly/Writer.h less more
None //===-- llvm/Assembly/Writer.h - Printer for LLVM assembly files --*- C++ -*-=//
1 //
2 // The LLVM Compiler Infrastructure
3 //
4 // This file is distributed under the University of Illinois Open Source
5 // License. See LICENSE.TXT for details.
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This functionality is implemented by lib/VMCore/AsmWriter.cpp.
10 // This library is used to print LLVM assembly language files to an iostream. It
11 // can print LLVM code at a variety of granularities, including Modules,
12 // BasicBlocks, and Instructions. This makes it useful for debugging.
13 //
14 //===----------------------------------------------------------------------===//
15
16 #ifndef LLVM_ASSEMBLY_WRITER_H
17 #define LLVM_ASSEMBLY_WRITER_H
18
19 namespace llvm {
20
21 class Module;
22 class Value;
23 class raw_ostream;
24
25 // WriteAsOperand - Write the name of the specified value out to the specified
26 // ostream. This can be useful when you just want to print int %reg126, not the
27 // whole instruction that generated it. If you specify a Module for context,
28 // then even constants get pretty-printed; for example, the type of a null
29 // pointer is printed symbolically.
30 //
31 void WriteAsOperand(raw_ostream &, const Value *, bool PrintTy = true,
32 const Module *Context = 0);
33
34 } // End llvm namespace
35
36 #endif
0 //===-- AssemblyAnnotationWriter.h - Annotation .ll files -------*- C++ -*-===//
1 //
2 // The LLVM Compiler Infrastructure
3 //
4 // This file is distributed under the University of Illinois Open Source
5 // License. See LICENSE.TXT for details.
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // Clients of the assembly writer can use this interface to add their own
10 // special-purpose annotations to LLVM assembly language printouts. Note that
11 // the assembly parser won't be able to parse these, in general, so
12 // implementations are advised to print stuff as LLVM comments.
13 //
14 //===----------------------------------------------------------------------===//
15
16 #ifndef LLVM_IR_ASMANNOTATIONWRITER_H
17 #define LLVM_IR_ASMANNOTATIONWRITER_H
18
19 namespace llvm {
20
21 class Function;
22 class BasicBlock;
23 class Instruction;
24 class Value;
25 class formatted_raw_ostream;
26
27 class AssemblyAnnotationWriter {
28 public:
29
30 virtual ~AssemblyAnnotationWriter();
31
32 /// emitFunctionAnnot - This may be implemented to emit a string right before
33 /// the start of a function.
34 virtual void emitFunctionAnnot(const Function *,
35 formatted_raw_ostream &) {}
36
37 /// emitBasicBlockStartAnnot - This may be implemented to emit a string right
38 /// after the basic block label, but before the first instruction in the
39 /// block.
40 virtual void emitBasicBlockStartAnnot(const BasicBlock *,
41 formatted_raw_ostream &) {
42 }
43
44 /// emitBasicBlockEndAnnot - This may be implemented to emit a string right
45 /// after the basic block.
46 virtual void emitBasicBlockEndAnnot(const BasicBlock *,
47 formatted_raw_ostream &) {
48 }
49
50 /// emitInstructionAnnot - This may be implemented to emit a string right
51 /// before an instruction is emitted.
52 virtual void emitInstructionAnnot(const Instruction *,
53 formatted_raw_ostream &) {}
54
55 /// printInfoComment - This may be implemented to emit a comment to the
56 /// right of an instruction or global value.
57 virtual void printInfoComment(const Value &, formatted_raw_ostream &) {}
58 };
59
60 } // End llvm namespace
61
62 #endif
0 //===- PrintModulePass.h - IR Printing Passes -------------------*- C++ -*-===//
1 //
2 // The LLVM Compiler Infrastructure
3 //
4 // This file is distributed under the University of Illinois Open Source
5 // License. See LICENSE.TXT for details.
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file defines two passes to print out a module. The PrintModulePass pass
10 // simply prints out the entire module when it is executed. The
11 // PrintFunctionPass class is designed to be pipelined with other
12 // FunctionPass's, and prints out the functions of the module as they are
13 // processed.
14 //
15 //===----------------------------------------------------------------------===//
16
17 #ifndef LLVM_IR_PRINTMODULEPASS_H
18 #define LLVM_IR_PRINTMODULEPASS_H
19
20 #include
21
22 namespace llvm {
23 class FunctionPass;
24 class ModulePass;
25 class BasicBlockPass;
26 class raw_ostream;
27
28 /// createPrintModulePass - Create and return a pass that writes the
29 /// module to the specified raw_ostream.
30 ModulePass *createPrintModulePass(raw_ostream *OS,
31 bool DeleteStream=false,
32 const std::string &Banner = "");
33
34 /// createPrintFunctionPass - Create and return a pass that prints
35 /// functions to the specified raw_ostream as they are processed.
36 FunctionPass *createPrintFunctionPass(const std::string &Banner,
37 raw_ostream *OS,
38 bool DeleteStream=false);
39
40 /// createPrintBasicBlockPass - Create and return a pass that writes the
41 /// BB to the specified raw_ostream.
42 BasicBlockPass *createPrintBasicBlockPass(raw_ostream *OS,
43 bool DeleteStream=false,
44 const std::string &Banner = "");
45 } // End llvm namespace
46
47 #endif
0 //===-- Writer.h - Printer for LLVM IR assembly files -------------*- C++ -*-=//
1 //
2 // The LLVM Compiler Infrastructure
3 //
4 // This file is distributed under the University of Illinois Open Source
5 // License. See LICENSE.TXT for details.
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This functionality is implemented by lib/IR/AsmWriter.cpp.
10 // This library is used to print LLVM assembly language files to an iostream. It
11 // can print LLVM code at a variety of granularities, including Modules,
12 // BasicBlocks, and Instructions. This makes it useful for debugging.
13 //
14 //===----------------------------------------------------------------------===//
15
16 #ifndef LLVM_IR_WRITER_H
17 #define LLVM_IR_WRITER_H
18
19 namespace llvm {
20
21 class Module;
22 class Value;
23 class raw_ostream;
24
25 // WriteAsOperand - Write the name of the specified value out to the specified
26 // ostream. This can be useful when you just want to print int %reg126, not the
27 // whole instruction that generated it. If you specify a Module for context,
28 // then even constants get pretty-printed; for example, the type of a null
29 // pointer is printed symbolically.
30 //
31 void WriteAsOperand(raw_ostream &, const Value *, bool PrintTy = true,
32 const Module *Context = 0);
33
34 } // End llvm namespace
35
36 #endif
2525 #include "llvm/Analysis/RegionPass.h"
2626 #include "llvm/Analysis/RegionPrinter.h"
2727 #include "llvm/Analysis/ScalarEvolution.h"
28 #include "llvm/Assembly/PrintModulePass.h"
2928 #include "llvm/CodeGen/Passes.h"
3029 #include "llvm/IR/Function.h"
30 #include "llvm/IR/PrintModulePass.h"
3131 #include "llvm/Transforms/IPO.h"
3232 #include "llvm/Transforms/Instrumentation.h"
3333 #include "llvm/Transforms/ObjCARC.h"
1313
1414 #include "llvm/Analysis/Passes.h"
1515 #include "llvm/Analysis/AliasAnalysis.h"
16 #include "llvm/Assembly/Writer.h"
16 #include "llvm/IR/Writer.h"
1717 #include "llvm/Pass.h"
1818 #include "llvm/Support/CommandLine.h"
1919 #include "llvm/Support/Debug.h"
1919 #include "llvm/Analysis/Passes.h"
2020 #include "llvm/ADT/SetVector.h"
2121 #include "llvm/Analysis/AliasAnalysis.h"
22 #include "llvm/Assembly/Writer.h"
2322 #include "llvm/IR/Constants.h"
2423 #include "llvm/IR/DerivedTypes.h"
2524 #include "llvm/IR/Function.h"
2625 #include "llvm/IR/Instructions.h"
26 #include "llvm/IR/Writer.h"
2727 #include "llvm/Pass.h"
2828 #include "llvm/Support/CommandLine.h"
2929 #include "llvm/Support/Debug.h"
1212
1313 #include "llvm/Analysis/AliasSetTracker.h"
1414 #include "llvm/Analysis/AliasAnalysis.h"
15 #include "llvm/Assembly/Writer.h"
1615 #include "llvm/IR/DataLayout.h"
1716 #include "llvm/IR/Instructions.h"
1817 #include "llvm/IR/IntrinsicInst.h"
1918 #include "llvm/IR/LLVMContext.h"
2019 #include "llvm/IR/Type.h"
20 #include "llvm/IR/Writer.h"
2121 #include "llvm/Pass.h"
2222 #include "llvm/Support/Debug.h"
2323 #include "llvm/Support/ErrorHandling.h"
88
99 #include "llvm/Analysis/DominanceFrontier.h"
1010 #include "llvm/ADT/SmallPtrSet.h"
11 #include "llvm/Assembly/Writer.h"
11 #include "llvm/IR/Writer.h"
1212 #include "llvm/Support/Debug.h"
1313 #include "llvm/Support/raw_ostream.h"
1414 using namespace llvm;
1313 //===----------------------------------------------------------------------===//
1414
1515 #include "llvm/Analysis/FindUsedTypes.h"
16 #include "llvm/Assembly/Writer.h"
1716 #include "llvm/IR/Constants.h"
1817 #include "llvm/IR/DerivedTypes.h"
1918 #include "llvm/IR/Module.h"
19 #include "llvm/IR/Writer.h"
2020 #include "llvm/Support/InstIterator.h"
2121 #include "llvm/Support/raw_ostream.h"
2222 using namespace llvm;
1818 #include "llvm/Analysis/LoopPass.h"
1919 #include "llvm/Analysis/ScalarEvolutionExpressions.h"
2020 #include "llvm/Analysis/ValueTracking.h"
21 #include "llvm/Assembly/Writer.h"
2221 #include "llvm/IR/Constants.h"
2322 #include "llvm/IR/DataLayout.h"
2423 #include "llvm/IR/DerivedTypes.h"
2524 #include "llvm/IR/Instructions.h"
2625 #include "llvm/IR/Type.h"
26 #include "llvm/IR/Writer.h"
2727 #include "llvm/Support/Debug.h"
2828 #include "llvm/Support/raw_ostream.h"
2929 #include
4242 #include "llvm/Analysis/Loads.h"
4343 #include "llvm/Analysis/Passes.h"
4444 #include "llvm/Analysis/ValueTracking.h"
45 #include "llvm/Assembly/Writer.h"
4645 #include "llvm/IR/DataLayout.h"
4746 #include "llvm/IR/Function.h"
4847 #include "llvm/IR/IntrinsicInst.h"
48 #include "llvm/IR/Writer.h"
4949 #include "llvm/InstVisitor.h"
5050 #include "llvm/Pass.h"
5151 #include "llvm/PassManager.h"
2020 #include "llvm/Analysis/LoopInfoImpl.h"
2121 #include "llvm/Analysis/LoopIterator.h"
2222 #include "llvm/Analysis/ValueTracking.h"
23 #include "llvm/Assembly/Writer.h"
2423 #include "llvm/IR/Constants.h"
2524 #include "llvm/IR/Instructions.h"
2625 #include "llvm/IR/Metadata.h"
26 #include "llvm/IR/Writer.h"
2727 #include "llvm/Support/CFG.h"
2828 #include "llvm/Support/CommandLine.h"
2929 #include "llvm/Support/Debug.h"
1313 //===----------------------------------------------------------------------===//
1414
1515 #include "llvm/Analysis/LoopPass.h"
16 #include "llvm/Assembly/PrintModulePass.h"
16 #include "llvm/IR/PrintModulePass.h"
1717 #include "llvm/Support/Debug.h"
1818 #include "llvm/Support/Timer.h"
1919 using namespace llvm;
1212 #include "llvm/Analysis/Passes.h"
1313 #include "llvm/ADT/SetVector.h"
1414 #include "llvm/Analysis/MemoryDependenceAnalysis.h"
15 #include "llvm/Assembly/Writer.h"
1615 #include "llvm/IR/LLVMContext.h"
16 #include "llvm/IR/Writer.h"
1717 #include "llvm/Support/CallSite.h"
1818 #include "llvm/Support/ErrorHandling.h"
1919 #include "llvm/Support/InstIterator.h"
1616
1717 #include "llvm/Analysis/Passes.h"
1818 #include "llvm/ADT/Statistic.h"
19 #include "llvm/Assembly/Writer.h"
2019 #include "llvm/DebugInfo.h"
2120 #include "llvm/IR/Function.h"
21 #include "llvm/IR/Writer.h"
2222 #include "llvm/Pass.h"
2323 #include "llvm/Support/ErrorHandling.h"
2424 #include "llvm/Support/raw_ostream.h"
1616 #include "llvm/ADT/DepthFirstIterator.h"
1717 #include "llvm/ADT/SetOperations.h"
1818 #include "llvm/Analysis/DominatorInternals.h"
19 #include "llvm/Assembly/Writer.h"
2019 #include "llvm/IR/Instructions.h"
20 #include "llvm/IR/Writer.h"
2121 #include "llvm/Support/CFG.h"
2222 #include "llvm/Support/Debug.h"
2323 using namespace llvm;
1414 #include "llvm/ADT/Statistic.h"
1515 #include "llvm/Analysis/LoopInfo.h"
1616 #include "llvm/Analysis/RegionIterator.h"
17 #include "llvm/Assembly/Writer.h"
17 #include "llvm/IR/Writer.h"
1818 #include "llvm/Support/CommandLine.h"
1919 #include "llvm/Support/Debug.h"
2020 #include "llvm/Support/ErrorHandling.h"
6868 #include "llvm/Analysis/LoopInfo.h"
6969 #include "llvm/Analysis/ScalarEvolutionExpressions.h"
7070 #include "llvm/Analysis/ValueTracking.h"
71 #include "llvm/Assembly/Writer.h"
7271 #include "llvm/IR/Constants.h"
7372 #include "llvm/IR/DataLayout.h"
7473 #include "llvm/IR/DerivedTypes.h"
7776 #include "llvm/IR/Instructions.h"
7877 #include "llvm/IR/LLVMContext.h"
7978 #include "llvm/IR/Operator.h"
79 #include "llvm/IR/Writer.h"
8080 #include "llvm/Support/CommandLine.h"
8181 #include "llvm/Support/ConstantRange.h"
8282 #include "llvm/Support/Debug.h"
1515 //===----------------------------------------------------------------------===//
1616
1717 #include "llvm/Analysis/Trace.h"
18 #include "llvm/Assembly/Writer.h"
1918 #include "llvm/IR/Function.h"
19 #include "llvm/IR/Writer.h"
2020 #include "llvm/Support/Debug.h"
2121 #include "llvm/Support/raw_ostream.h"
2222 using namespace llvm;
1313 #include "LLLexer.h"
1414 #include "llvm/ADT/StringExtras.h"
1515 #include "llvm/ADT/Twine.h"
16 #include "llvm/Assembly/Parser.h"
16 #include "llvm/AsmParser/Parser.h"
1717 #include "llvm/IR/DerivedTypes.h"
1818 #include "llvm/IR/Instruction.h"
1919 #include "llvm/IR/LLVMContext.h"
66 //
77 //===----------------------------------------------------------------------===//
88 //
9 // This library implements the functionality defined in llvm/Assembly/Parser.h
9 // This library implements the functionality defined in llvm/AsmParser/Parser.h
1010 //
1111 //===----------------------------------------------------------------------===//
1212
13 #include "llvm/Assembly/Parser.h"
13 #include "llvm/AsmParser/Parser.h"
1414 #include "LLParser.h"
1515 #include "llvm/ADT/OwningPtr.h"
1616 #include "llvm/IR/Module.h"
1717 #include "llvm/ADT/SmallString.h"
1818 #include "llvm/ADT/Statistic.h"
1919 #include "llvm/Analysis/ConstantFolding.h"
20 #include "llvm/Assembly/Writer.h"
2120 #include "llvm/CodeGen/GCMetadataPrinter.h"
2221 #include "llvm/CodeGen/MachineConstantPool.h"
2322 #include "llvm/CodeGen/MachineFrameInfo.h"
2928 #include "llvm/IR/DataLayout.h"
3029 #include "llvm/IR/Module.h"
3130 #include "llvm/IR/Operator.h"
31 #include "llvm/IR/Writer.h"
3232 #include "llvm/MC/MCAsmInfo.h"
3333 #include "llvm/MC/MCContext.h"
3434 #include "llvm/MC/MCExpr.h"
1212
1313 #include "llvm/Target/TargetMachine.h"
1414 #include "llvm/ADT/OwningPtr.h"
15 #include "llvm/Assembly/PrintModulePass.h"
1615 #include "llvm/CodeGen/AsmPrinter.h"
1716 #include "llvm/CodeGen/MachineFunctionAnalysis.h"
1817 #include "llvm/CodeGen/MachineModuleInfo.h"
1918 #include "llvm/CodeGen/Passes.h"
19 #include "llvm/IR/PrintModulePass.h"
2020 #include "llvm/MC/MCAsmInfo.h"
2121 #include "llvm/MC/MCContext.h"
2222 #include "llvm/MC/MCInstrInfo.h"
1313 #include "llvm/CodeGen/MachineBasicBlock.h"
1414 #include "llvm/ADT/SmallPtrSet.h"
1515 #include "llvm/ADT/SmallString.h"
16 #include "llvm/Assembly/Writer.h"
1716 #include "llvm/CodeGen/LiveIntervalAnalysis.h"
1817 #include "llvm/CodeGen/LiveVariables.h"
1918 #include "llvm/CodeGen/MachineDominators.h"
2423 #include "llvm/CodeGen/SlotIndexes.h"
2524 #include "llvm/IR/BasicBlock.h"
2625 #include "llvm/IR/DataLayout.h"
26 #include "llvm/IR/Writer.h"
2727 #include "llvm/MC/MCAsmInfo.h"
2828 #include "llvm/MC/MCContext.h"
2929 #include "llvm/Support/Debug.h"
1616 #include "llvm/ADT/STLExtras.h"
1717 #include "llvm/ADT/SmallString.h"
1818 #include "llvm/Analysis/ConstantFolding.h"
19 #include "llvm/Assembly/Writer.h"
2019 #include "llvm/CodeGen/MachineConstantPool.h"
2120 #include "llvm/CodeGen/MachineFrameInfo.h"
2221 #include "llvm/CodeGen/MachineFunctionPass.h"
2827 #include "llvm/DebugInfo.h"
2928 #include "llvm/IR/DataLayout.h"
3029 #include "llvm/IR/Function.h"
30 #include "llvm/IR/Writer.h"
3131 #include "llvm/MC/MCAsmInfo.h"
3232 #include "llvm/MC/MCContext.h"
3333 #include "llvm/Support/Debug.h"
1414 #include "llvm/ADT/FoldingSet.h"
1515 #include "llvm/ADT/Hashing.h"
1616 #include "llvm/Analysis/AliasAnalysis.h"
17 #include "llvm/Assembly/Writer.h"
1817 #include "llvm/CodeGen/MachineConstantPool.h"
1918 #include "llvm/CodeGen/MachineFunction.h"
2019 #include "llvm/CodeGen/MachineMemOperand.h"
3029 #include "llvm/IR/Module.h"
3130 #include "llvm/IR/Type.h"
3231 #include "llvm/IR/Value.h"
32 #include "llvm/IR/Writer.h"
3333 #include "llvm/MC/MCInstrDesc.h"
3434 #include "llvm/MC/MCSymbol.h"
3535 #include "llvm/Support/Debug.h"
1414 #include "llvm/CodeGen/Passes.h"
1515 #include "llvm/Analysis/Passes.h"
1616 #include "llvm/Analysis/Verifier.h"
17 #include "llvm/Assembly/PrintModulePass.h"
1817 #include "llvm/CodeGen/GCStrategy.h"
1918 #include "llvm/CodeGen/MachineFunctionPass.h"
2019 #include "llvm/CodeGen/RegAllocRegistry.h"
20 #include "llvm/IR/PrintModulePass.h"
2121 #include "llvm/MC/MCAsmInfo.h"
2222 #include "llvm/PassManager.h"
2323 #include "llvm/Support/CommandLine.h"
1313 #include "llvm/CodeGen/ScheduleDAG.h"
1414 #include "llvm/ADT/DenseSet.h"
1515 #include "llvm/ADT/StringExtras.h"
16 #include "llvm/Assembly/Writer.h"
1716 #include "llvm/CodeGen/MachineConstantPool.h"
1817 #include "llvm/CodeGen/MachineFunction.h"
1918 #include "llvm/CodeGen/MachineModuleInfo.h"
2019 #include "llvm/IR/Constants.h"
20 #include "llvm/IR/Writer.h"
2121 #include "llvm/Support/Debug.h"
2222 #include "llvm/Support/GraphWriter.h"
2323 #include "llvm/Support/raw_ostream.h"
1919 #include "llvm/ADT/StringExtras.h"
2020 #include "llvm/Analysis/TargetTransformInfo.h"
2121 #include "llvm/Analysis/ValueTracking.h"
22 #include "llvm/Assembly/Writer.h"
2322 #include "llvm/CodeGen/MachineBasicBlock.h"
2423 #include "llvm/CodeGen/MachineConstantPool.h"
2524 #include "llvm/CodeGen/MachineFrameInfo.h"
3332 #include "llvm/IR/GlobalAlias.h"
3433 #include "llvm/IR/GlobalVariable.h"
3534 #include "llvm/IR/Intrinsics.h"
35 #include "llvm/IR/Writer.h"
3636 #include "llvm/Support/CommandLine.h"
3737 #include "llvm/Support/Debug.h"
3838 #include "llvm/Support/ErrorHandling.h"
1313 #include "llvm/CodeGen/SelectionDAG.h"
1414 #include "ScheduleDAGSDNodes.h"
1515 #include "llvm/ADT/StringExtras.h"
16 #include "llvm/Assembly/Writer.h"
1716 #include "llvm/CodeGen/MachineConstantPool.h"
1817 #include "llvm/CodeGen/MachineFunction.h"
1918 #include "llvm/CodeGen/MachineModuleInfo.h"
2019 #include "llvm/DebugInfo.h"
2120 #include "llvm/IR/Function.h"
2221 #include "llvm/IR/Intrinsics.h"
22 #include "llvm/IR/Writer.h"
2323 #include "llvm/Support/Debug.h"
2424 #include "llvm/Support/GraphWriter.h"
2525 #include "llvm/Support/raw_ostream.h"
1414 #include "ScheduleDAGSDNodes.h"
1515 #include "llvm/ADT/DenseSet.h"
1616 #include "llvm/ADT/StringExtras.h"
17 #include "llvm/Assembly/Writer.h"
1817 #include "llvm/CodeGen/MachineConstantPool.h"
1918 #include "llvm/CodeGen/MachineFunction.h"
2019 #include "llvm/CodeGen/MachineModuleInfo.h"
2120 #include "llvm/DebugInfo.h"
2221 #include "llvm/IR/Constants.h"
22 #include "llvm/IR/Writer.h"
2323 #include "llvm/Support/Debug.h"
2424 #include "llvm/Support/GraphWriter.h"
2525 #include "llvm/Support/raw_ostream.h"
66 //
77 //===----------------------------------------------------------------------===//
88 //
9 // This library implements the functionality defined in llvm/Assembly/Writer.h
9 // This library implements the functionality defined in llvm/IR/Writer.h
1010 //
1111 // Note that these routines must be extremely tolerant of various errors in the
1212 // LLVM code, because it can be used for debugging transformations.
1818 #include "llvm/ADT/STLExtras.h"
1919 #include "llvm/ADT/SmallString.h"
2020 #include "llvm/ADT/StringExtras.h"
21 #include "llvm/Assembly/AssemblyAnnotationWriter.h"
22 #include "llvm/Assembly/PrintModulePass.h"
23 #include "llvm/Assembly/Writer.h"
2421 #include "llvm/DebugInfo.h"
22 #include "llvm/IR/AssemblyAnnotationWriter.h"
2523 #include "llvm/IR/CallingConv.h"
2624 #include "llvm/IR/Constants.h"
2725 #include "llvm/IR/DerivedTypes.h"
3028 #include "llvm/IR/LLVMContext.h"
3129 #include "llvm/IR/Module.h"
3230 #include "llvm/IR/Operator.h"
31 #include "llvm/IR/PrintModulePass.h"
3332 #include "llvm/IR/TypeFinder.h"
3433 #include "llvm/IR/ValueSymbolTable.h"
34 #include "llvm/IR/Writer.h"
3535 #include "llvm/Support/CFG.h"
3636 #include "llvm/Support/Debug.h"
3737 #include "llvm/Support/Dwarf.h"
1818 #include "llvm/ADT/SmallPtrSet.h"
1919 #include "llvm/ADT/SmallVector.h"
2020 #include "llvm/Analysis/DominatorInternals.h"
21 #include "llvm/Assembly/Writer.h"
2221 #include "llvm/IR/Instructions.h"
22 #include "llvm/IR/Writer.h"
2323 #include "llvm/Support/CFG.h"
2424 #include "llvm/Support/CommandLine.h"
2525 #include "llvm/Support/Compiler.h"
1111 //===----------------------------------------------------------------------===//
1212
1313
14 #include "llvm/Assembly/PrintModulePass.h"
15 #include "llvm/Assembly/Writer.h"
14 #include "llvm/IR/PrintModulePass.h"
1615 #include "llvm/IR/LegacyPassManager.h"
1716 #include "llvm/IR/LegacyPassManagers.h"
1817 #include "llvm/IR/Module.h"
18 #include "llvm/IR/Writer.h"
1919 #include "llvm/Support/CommandLine.h"
2020 #include "llvm/Support/Debug.h"
2121 #include "llvm/Support/ErrorHandling.h"
1313 //===----------------------------------------------------------------------===//
1414
1515 #include "llvm/Pass.h"
16 #include "llvm/Assembly/PrintModulePass.h"
16 #include "llvm/IR/PrintModulePass.h"
1717 #include "llvm/PassRegistry.h"
1818 #include "llvm/Support/Debug.h"
1919 #include "llvm/Support/PassNameParser.h"
1010 //
1111 //===----------------------------------------------------------------------===//
1212
13 #include "llvm/Assembly/PrintModulePass.h"
13 #include "llvm/IR/PrintModulePass.h"
1414 #include "llvm/IR/Function.h"
1515 #include "llvm/IR/Module.h"
1616 #include "llvm/Pass.h"
5151 #include "llvm/ADT/SmallVector.h"
5252 #include "llvm/ADT/StringExtras.h"
5353 #include "llvm/Analysis/Dominators.h"
54 #include "llvm/Assembly/Writer.h"
5554 #include "llvm/DebugInfo.h"
5655 #include "llvm/IR/CallingConv.h"
5756 #include "llvm/IR/Constants.h"
6261 #include "llvm/IR/LLVMContext.h"
6362 #include "llvm/IR/Metadata.h"
6463 #include "llvm/IR/Module.h"
64 #include "llvm/IR/Writer.h"
6565 #include "llvm/InstVisitor.h"
6666 #include "llvm/Pass.h"
6767 #include "llvm/PassManager.h"
1010 #include "llvm-c/Core.h"
1111 #include "llvm-c/IRReader.h"
1212 #include "llvm/ADT/OwningPtr.h"
13 #include "llvm/Assembly/Parser.h"
13 #include "llvm/AsmParser/Parser.h"
1414 #include "llvm/Bitcode/ReaderWriter.h"
1515 #include "llvm/IR/LLVMContext.h"
1616 #include "llvm/IR/Module.h"
2525 #include "MCTargetDesc/ARMMCExpr.h"
2626 #include "llvm/ADT/SetVector.h"
2727 #include "llvm/ADT/SmallString.h"
28 #include "llvm/Assembly/Writer.h"
2928 #include "llvm/CodeGen/MachineFunctionPass.h"
3029 #include "llvm/CodeGen/MachineJumpTableInfo.h"
3130 #include "llvm/CodeGen/MachineModuleInfoImpls.h"
3433 #include "llvm/IR/DataLayout.h"
3534 #include "llvm/IR/Module.h"
3635 #include "llvm/IR/Type.h"
36 #include "llvm/IR/Writer.h"
3737 #include "llvm/MC/MCAsmInfo.h"
3838 #include "llvm/MC/MCAssembler.h"
3939 #include "llvm/MC/MCContext.h"
19171917
19181918 Out << "#include \n";
19191919 Out << "#include \n";
1920 Out << "#include \n";
19211920 Out << "#include \n";
19221921 Out << "#include \n";
19231922 Out << "#include \n";
19281927 Out << "#include \n";
19291928 Out << "#include \n";
19301929 Out << "#include \n";
1930 Out << "#include \n";
19311931 Out << "#include \n";
19321932 Out << "#include \n";
19331933 Out << "#include \n";
2424 #include "llvm/ADT/SmallVector.h"
2525 #include "llvm/ADT/StringExtras.h"
2626 #include "llvm/Analysis/ConstantFolding.h"
27 #include "llvm/Assembly/Writer.h"
2827 #include "llvm/CodeGen/AsmPrinter.h"
2928 #include "llvm/CodeGen/MachineFunctionPass.h"
3029 #include "llvm/CodeGen/MachineInstr.h"
3433 #include "llvm/IR/DataLayout.h"
3534 #include "llvm/IR/DerivedTypes.h"
3635 #include "llvm/IR/Module.h"
36 #include "llvm/IR/Writer.h"
3737 #include "llvm/MC/MCAsmInfo.h"
3838 #include "llvm/MC/MCContext.h"
3939 #include "llvm/MC/MCExpr.h"
1717 #include "MSP430InstrInfo.h"
1818 #include "MSP430MCInstLower.h"
1919 #include "MSP430TargetMachine.h"
20 #include "llvm/Assembly/Writer.h"
2120 #include "llvm/CodeGen/AsmPrinter.h"
2221 #include "llvm/CodeGen/MachineConstantPool.h"
2322 #include "llvm/CodeGen/MachineFunctionPass.h"
2625 #include "llvm/IR/Constants.h"
2726 #include "llvm/IR/DerivedTypes.h"
2827 #include "llvm/IR/Module.h"
28 #include "llvm/IR/Writer.h"
2929 #include "llvm/MC/MCAsmInfo.h"
3030 #include "llvm/MC/MCInst.h"
3131 #include "llvm/MC/MCStreamer.h"
2323 #include "cl_common_defines.h"
2424 #include "llvm/ADT/StringExtras.h"
2525 #include "llvm/Analysis/ConstantFolding.h"
26 #include "llvm/Assembly/Writer.h"
2726 #include "llvm/CodeGen/Analysis.h"
2827 #include "llvm/CodeGen/MachineFrameInfo.h"
2928 #include "llvm/CodeGen/MachineModuleInfo.h"
3433 #include "llvm/IR/GlobalVariable.h"
3534 #include "llvm/IR/Module.h"
3635 #include "llvm/IR/Operator.h"
36 #include "llvm/IR/Writer.h"
3737 #include "llvm/MC/MCStreamer.h"
3838 #include "llvm/MC/MCSymbol.h"
3939 #include "llvm/Support/CommandLine.h"
1919 #include "llvm/ADT/OwningPtr.h"
2020 #include "llvm/Analysis/Passes.h"
2121 #include "llvm/Analysis/Verifier.h"
22 #include "llvm/Assembly/PrintModulePass.h"
2322 #include "llvm/CodeGen/AsmPrinter.h"
2423 #include "llvm/CodeGen/MachineFunctionAnalysis.h"
2524 #include "llvm/CodeGen/MachineModuleInfo.h"
2625 #include "llvm/CodeGen/Passes.h"
2726 #include "llvm/IR/DataLayout.h"
27 #include "llvm/IR/PrintModulePass.h"
2828 #include "llvm/MC/MCAsmInfo.h"
2929 #include "llvm/MC/MCInstrInfo.h"
3030 #include "llvm/MC/MCStreamer.h"
2626 #include "llvm/ADT/MapVector.h"
2727 #include "llvm/ADT/SmallString.h"
2828 #include "llvm/ADT/StringExtras.h"
29 #include "llvm/Assembly/Writer.h"
3029 #include "llvm/CodeGen/AsmPrinter.h"
3130 #include "llvm/CodeGen/MachineFunctionPass.h"
3231 #include "llvm/CodeGen/MachineInstr.h"
3736 #include "llvm/IR/Constants.h"
3837 #include "llvm/IR/DerivedTypes.h"
3938 #include "llvm/IR/Module.h"
39 #include "llvm/IR/Writer.h"
4040 #include "llvm/MC/MCAsmInfo.h"
4141 #include "llvm/MC/MCContext.h"
4242 #include "llvm/MC/MCExpr.h"
1818 #include "X86MachineFunctionInfo.h"
1919 #include "X86TargetMachine.h"
2020 #include "llvm/ADT/SmallString.h"
21 #include "llvm/Assembly/Writer.h"
2221 #include "llvm/CodeGen/MachineJumpTableInfo.h"
2322 #include "llvm/CodeGen/MachineModuleInfoImpls.h"
2423 #include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
2726 #include "llvm/IR/DerivedTypes.h"
2827 #include "llvm/IR/Module.h"
2928 #include "llvm/IR/Type.h"
29 #include "llvm/IR/Writer.h"
3030 #include "llvm/MC/MCAsmInfo.h"
3131 #include "llvm/MC/MCContext.h"
3232 #include "llvm/MC/MCExpr.h"
1919
2020 #include "llvm/ADT/ValueMap.h"
2121 #include "DebugIR.h"
22 #include "llvm/Assembly/AssemblyAnnotationWriter.h"
2322 #include "llvm/DIBuilder.h"
2423 #include "llvm/DebugInfo.h"
24 #include "llvm/IR/AssemblyAnnotationWriter.h"
2525 #include "llvm/IR/DataLayout.h"
2626 #include "llvm/IR/Instruction.h"
2727 #include "llvm/IR/LLVMContext.h"
2121 #include "llvm/Analysis/DominatorInternals.h"
2222 #include "llvm/Analysis/Dominators.h"
2323 #include "llvm/Analysis/InstructionSimplify.h"
24 #include "llvm/Assembly/Writer.h"
2524 #include "llvm/IR/Constants.h"
2625 #include "llvm/IR/DataLayout.h"
2726 #include "llvm/IR/DerivedTypes.h"
3029 #include "llvm/IR/InlineAsm.h"
3130 #include "llvm/IR/Instructions.h"
3231 #include "llvm/IR/IntrinsicInst.h"
32 #include "llvm/IR/Writer.h"
3333 #include "llvm/Pass.h"
3434 #include "llvm/Support/CallSite.h"
3535 #include "llvm/Support/CommandLine.h"
3232 #include "llvm/Analysis/MemoryDependenceAnalysis.h"
3333 #include "llvm/Analysis/PHITransAddr.h"
3434 #include "llvm/Analysis/ValueTracking.h"
35 #include "llvm/Assembly/Writer.h"
3635 #include "llvm/IR/DataLayout.h"
3736 #include "llvm/IR/GlobalVariable.h"
3837 #include "llvm/IR/IRBuilder.h"
3938 #include "llvm/IR/IntrinsicInst.h"
4039 #include "llvm/IR/LLVMContext.h"
4140 #include "llvm/IR/Metadata.h"
41 #include "llvm/IR/Writer.h"
4242 #include "llvm/Support/Allocator.h"
4343 #include "llvm/Support/CommandLine.h"
4444 #include "llvm/Support/Debug.h"
6363 #include "llvm/Analysis/LoopPass.h"
6464 #include "llvm/Analysis/ScalarEvolutionExpander.h"
6565 #include "llvm/Analysis/TargetTransformInfo.h"
66 #include "llvm/Assembly/Writer.h"
6766 #include "llvm/IR/Constants.h"
6867 #include "llvm/IR/DerivedTypes.h"
6968 #include "llvm/IR/Instructions.h"
7069 #include "llvm/IR/IntrinsicInst.h"
70 #include "llvm/IR/Writer.h"
7171 #include "llvm/Support/CommandLine.h"
7272 #include "llvm/Support/Debug.h"
7373 #include "llvm/Support/ValueHandle.h"
2626 #include "llvm/ADT/STLExtras.h"
2727 #include "llvm/ADT/SetVector.h"
2828 #include "llvm/ADT/Statistic.h"
29 #include "llvm/Assembly/Writer.h"
3029 #include "llvm/IR/Constants.h"
3130 #include "llvm/IR/DerivedTypes.h"
3231 #include "llvm/IR/Function.h"
3332 #include "llvm/IR/IRBuilder.h"
3433 #include "llvm/IR/Instructions.h"
3534 #include "llvm/IR/IntrinsicInst.h"
35 #include "llvm/IR/Writer.h"
3636 #include "llvm/Pass.h"
3737 #include "llvm/Support/CFG.h"
3838 #include "llvm/Support/Debug.h"
1818 #include "llvm/Analysis/Dominators.h"
1919 #include "llvm/Analysis/LoopInfo.h"
2020 #include "llvm/Analysis/ValueTracking.h"
21 #include "llvm/Assembly/Writer.h"
2221 #include "llvm/IR/IntrinsicInst.h"
22 #include "llvm/IR/Writer.h"
2323 #include "llvm/Support/CFG.h"
2424 #include "llvm/Support/Debug.h"
2525 #include "llvm/Support/raw_ostream.h"
1313
1414 #include "BugDriver.h"
1515 #include "llvm/Analysis/Verifier.h"
16 #include "llvm/Assembly/Writer.h"
1716 #include "llvm/IR/Constants.h"
1817 #include "llvm/IR/DataLayout.h"
1918 #include "llvm/IR/DerivedTypes.h"
2019 #include "llvm/IR/LLVMContext.h"
2120 #include "llvm/IR/Module.h"
21 #include "llvm/IR/Writer.h"
2222 #include "llvm/Pass.h"
2323 #include "llvm/PassManager.h"
2424 #include "llvm/Support/CommandLine.h"
1515
1616 #include "llvm/IR/LLVMContext.h"
1717 #include "llvm/ADT/Triple.h"
18 #include "llvm/Assembly/PrintModulePass.h"
18 #include "llvm/IR/PrintModulePass.h"
1919 #include "llvm/CodeGen/CommandFlags.h"
2020 #include "llvm/CodeGen/LinkAllAsmWriterComponents.h"
2121 #include "llvm/CodeGen/LinkAllCodegenComponents.h"
1616
1717 #include "llvm/IR/LLVMContext.h"
1818 #include "llvm/Analysis/Verifier.h"
19 #include "llvm/Assembly/Parser.h"
19 #include "llvm/AsmParser/Parser.h"
2020 #include "llvm/Bitcode/ReaderWriter.h"
2121 #include "llvm/IR/Module.h"
2222 #include "llvm/Support/CommandLine.h"
1616 //===----------------------------------------------------------------------===//
1717
1818 #include "llvm/IR/LLVMContext.h"
19 #include "llvm/Assembly/AssemblyAnnotationWriter.h"
2019 #include "llvm/Bitcode/ReaderWriter.h"
2120 #include "llvm/DebugInfo.h"
21 #include "llvm/IR/AssemblyAnnotationWriter.h"
2222 #include "llvm/IR/IntrinsicInst.h"
2323 #include "llvm/IR/Module.h"
2424 #include "llvm/IR/Type.h"
1414 #include "llvm/IR/LLVMContext.h"
1515 #include "llvm/ADT/SetVector.h"
1616 #include "llvm/ADT/SmallPtrSet.h"
17 #include "llvm/Assembly/PrintModulePass.h"
17 #include "llvm/IR/PrintModulePass.h"
1818 #include "llvm/Bitcode/ReaderWriter.h"
1919 #include "llvm/IR/DataLayout.h"
2020 #include "llvm/IR/Module.h"
1414 #include "llvm/ADT/OwningPtr.h"
1515 #include "llvm/Analysis/CallGraphSCCPass.h"
1616 #include "llvm/Analysis/Verifier.h"
17 #include "llvm/Assembly/PrintModulePass.h"
17 #include "llvm/IR/PrintModulePass.h"
1818 #include "llvm/IR/Constants.h"
1919 #include "llvm/IR/Instruction.h"
2020 #include "llvm/IR/Module.h"
1919 #include "llvm/Analysis/LoopPass.h"
2020 #include "llvm/Analysis/RegionPass.h"
2121 #include "llvm/Analysis/Verifier.h"
22 #include "llvm/Assembly/PrintModulePass.h"
2322 #include "llvm/Bitcode/ReaderWriter.h"
2423 #include "llvm/CodeGen/CommandFlags.h"
2524 #include "llvm/DebugInfo.h"
2625 #include "llvm/IR/DataLayout.h"
2726 #include "llvm/IR/Module.h"
27 #include "llvm/IR/PrintModulePass.h"
2828 #include "llvm/IRReader/IRReader.h"
2929 #include "llvm/LinkAllIR.h"
3030 #include "llvm/LinkAllPasses.h"
1010 #include "llvm/ADT/OwningPtr.h"
1111 #include "llvm/Analysis/Dominators.h"
1212 #include "llvm/Analysis/LoopInfo.h"
13 #include "llvm/Assembly/Parser.h"
13 #include "llvm/AsmParser/Parser.h"
1414 #include "llvm/IR/Function.h"
1515 #include "llvm/IR/LLVMContext.h"
1616 #include "llvm/IR/Module.h"
99 #include "llvm/ExecutionEngine/JIT.h"
1010 #include "llvm/ADT/OwningPtr.h"
1111 #include "llvm/ADT/SmallPtrSet.h"
12 #include "llvm/Assembly/Parser.h"
12 #include "llvm/AsmParser/Parser.h"
1313 #include "llvm/Bitcode/ReaderWriter.h"
1414 #include "llvm/ExecutionEngine/JITMemoryManager.h"
1515 #include "llvm/IR/BasicBlock.h"
77 //===----------------------------------------------------------------------===//
88
99 #include "llvm/ExecutionEngine/JIT.h"
10 #include "llvm/Assembly/Parser.h"
10 #include "llvm/AsmParser/Parser.h"
1111 #include "llvm/ExecutionEngine/GenericValue.h"
1212 #include "llvm/IR/LLVMContext.h"
1313 #include "llvm/IR/Module.h"
88
99 #include "llvm/Analysis/Dominators.h"
1010 #include "llvm/Analysis/PostDominators.h"
11 #include "llvm/Assembly/Parser.h"
11 #include "llvm/AsmParser/Parser.h"
1212 #include "llvm/IR/Instructions.h"
1313 #include "llvm/IR/LLVMContext.h"
1414 #include "llvm/IR/Module.h"
1919 #include "llvm/Analysis/LoopInfo.h"
2020 #include "llvm/Analysis/LoopPass.h"
2121 #include "llvm/Analysis/Verifier.h"
22 #include "llvm/Assembly/PrintModulePass.h"
2322 #include "llvm/IR/BasicBlock.h"
2423 #include "llvm/IR/CallingConv.h"
2524 #include "llvm/IR/Constants.h"
3130 #include "llvm/IR/Instructions.h"
3231 #include "llvm/IR/LLVMContext.h"
3332 #include "llvm/IR/Module.h"
33 #include "llvm/IR/PrintModulePass.h"
3434 #include "llvm/Pass.h"
3535 #include "llvm/Support/MathExtras.h"
3636 #include "llvm/Support/raw_ostream.h"
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/Assembly/Parser.h"
9 #include "llvm/AsmParser/Parser.h"
1010 #include "llvm/IR/Function.h"
1111 #include "llvm/IR/LLVMContext.h"
1212 #include "llvm/IR/Module.h"
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/Assembly/Parser.h"
9 #include "llvm/AsmParser/Parser.h"
1010 #include "llvm/IR/Function.h"
1111 #include "llvm/IR/LLVMContext.h"
1212 #include "llvm/IR/Module.h"