Mikhail Glushenkov | fb37f39 | 2008-05-30 06:20:54 +0000 | [diff] [blame] | 1 | //===--- AutoGenerated.h - The LLVM Compiler Driver -------------*- C++ -*-===// |
Mikhail Glushenkov | b90cd83 | 2008-05-06 16:34:12 +0000 | [diff] [blame] | 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open |
| 6 | // Source License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // Auto-generated tool descriptions - public interface. |
| 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
| 14 | #ifndef LLVM_TOOLS_LLVMC2_AUTOGENERATED_H |
| 15 | #define LLVM_TOOLS_LLVMC2_AUTOGENERATED_H |
| 16 | |
| 17 | #include "llvm/ADT/StringMap.h" |
| 18 | |
| 19 | #include <string> |
| 20 | |
Mikhail Glushenkov | be9d9a1 | 2008-05-06 18:08:59 +0000 | [diff] [blame] | 21 | namespace llvmc { |
Mikhail Glushenkov | b90cd83 | 2008-05-06 16:34:12 +0000 | [diff] [blame] | 22 | |
| 23 | typedef llvm::StringMap<std::string> LanguageMap; |
| 24 | class CompilationGraph; |
| 25 | |
Mikhail Glushenkov | 4561ab5 | 2008-05-07 21:50:19 +0000 | [diff] [blame] | 26 | /// PopulateLanguageMap - The auto-generated function that fills in |
| 27 | /// the language map (map from file extensions to language names). |
Mikhail Glushenkov | 2e73e85 | 2008-05-30 06:19:52 +0000 | [diff] [blame] | 28 | void PopulateLanguageMap(); |
Mikhail Glushenkov | 4561ab5 | 2008-05-07 21:50:19 +0000 | [diff] [blame] | 29 | /// PopulateCompilationGraph - The auto-generated function that |
| 30 | /// populates the compilation graph with nodes and edges. |
Mikhail Glushenkov | b90cd83 | 2008-05-06 16:34:12 +0000 | [diff] [blame] | 31 | void PopulateCompilationGraph(CompilationGraph& tools); |
| 32 | } |
| 33 | |
| 34 | #endif // LLVM_TOOLS_LLVMC2_AUTOGENERATED_H |