mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
b3d36293c2
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111094 91177308-0d34-0410-b5e6-96231b3b80d8
41 lines
1.1 KiB
C++
41 lines
1.1 KiB
C++
//===--- AutoGenerated.h - The LLVM Compiler Driver -------------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open
|
|
// Source License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// Interface to the autogenerated driver code.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_INCLUDE_COMPILER_DRIVER_AUTOGENERATED_H
|
|
#define LLVM_INCLUDE_COMPILER_DRIVER_AUTOGENERATED_H
|
|
|
|
namespace llvmc {
|
|
class LanguageMap;
|
|
class CompilationGraph;
|
|
|
|
namespace autogenerated {
|
|
|
|
int PreprocessOptions();
|
|
int PopulateLanguageMap(LanguageMap& langMap);
|
|
int PopulateCompilationGraph(CompilationGraph& graph);
|
|
|
|
inline int RunInitialization (LanguageMap& M, CompilationGraph& G) {
|
|
if (int ret = PreprocessOptions())
|
|
return ret;
|
|
if (int ret = PopulateLanguageMap(M))
|
|
return ret;
|
|
if (int ret = PopulateCompilationGraph(G))
|
|
return ret;
|
|
|
|
return 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
#endif // LLVM_INCLUDE_COMPILER_DRIVER_AUTOGENERATED_H
|