1 //===--- AutoGenerated.h - The LLVM Compiler Driver -------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open
6 // Source License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // Interface to the autogenerated driver code.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_INCLUDE_COMPILER_DRIVER_AUTOGENERATED_H
15 #define LLVM_INCLUDE_COMPILER_DRIVER_AUTOGENERATED_H
19 class CompilationGraph;
21 namespace autogenerated {
23 int PreprocessOptions();
24 int PopulateLanguageMap(LanguageMap& langMap);
25 int PopulateCompilationGraph(CompilationGraph& graph);
27 inline int RunInitialization (LanguageMap& M, CompilationGraph& G) {
28 if (int ret = PreprocessOptions())
30 if (int ret = PopulateLanguageMap(M))
32 if (int ret = PopulateCompilationGraph(G))
40 #endif // LLVM_INCLUDE_COMPILER_DRIVER_AUTOGENERATED_H