2008-05-30 06:20:54 +00:00
|
|
|
//===--- AutoGenerated.h - The LLVM Compiler Driver -------------*- C++ -*-===//
|
2008-03-23 08:57:20 +00:00
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open
|
|
|
|
// Source License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
2008-05-06 16:34:12 +00:00
|
|
|
// Auto-generated tool descriptions - public interface.
|
2008-03-23 08:57:20 +00:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2008-05-06 16:34:12 +00:00
|
|
|
#ifndef LLVM_TOOLS_LLVMC2_AUTOGENERATED_H
|
|
|
|
#define LLVM_TOOLS_LLVMC2_AUTOGENERATED_H
|
2008-03-23 08:57:20 +00:00
|
|
|
|
2008-05-06 16:34:12 +00:00
|
|
|
#include "llvm/ADT/StringMap.h"
|
|
|
|
|
|
|
|
#include <string>
|
2008-03-23 08:57:20 +00:00
|
|
|
|
2008-05-06 18:08:59 +00:00
|
|
|
namespace llvmc {
|
2008-03-23 08:57:20 +00:00
|
|
|
|
2008-05-06 16:34:12 +00:00
|
|
|
typedef llvm::StringMap<std::string> LanguageMap;
|
|
|
|
class CompilationGraph;
|
|
|
|
|
2008-05-07 21:50:19 +00:00
|
|
|
/// PopulateLanguageMap - The auto-generated function that fills in
|
|
|
|
/// the language map (map from file extensions to language names).
|
2008-05-30 06:19:52 +00:00
|
|
|
void PopulateLanguageMap();
|
2008-05-07 21:50:19 +00:00
|
|
|
/// PopulateCompilationGraph - The auto-generated function that
|
|
|
|
/// populates the compilation graph with nodes and edges.
|
2008-03-23 08:57:20 +00:00
|
|
|
void PopulateCompilationGraph(CompilationGraph& tools);
|
|
|
|
}
|
|
|
|
|
2008-05-06 16:34:12 +00:00
|
|
|
#endif // LLVM_TOOLS_LLVMC2_AUTOGENERATED_H
|