1 //===- gccld.h - Utility functions header file ------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file was developed by the LLVM research group and is distributed under
6 // the University of Illinois Open Source License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file contains function prototypes for the functions in util.cpp.
12 //===----------------------------------------------------------------------===//
14 #include "llvm/Module.h"
15 #include "llvm/Linker.h"
24 GenerateBytecode (Module * M,
30 GenerateAssembly (const std::string & OutputFilename,
31 const std::string & InputFilename,
32 const std::string & llc,
35 int GenerateCFile(const std::string &OutputFile, const std::string &InputFile,
36 const std::string &llc, char ** const envp);
38 GenerateNative (const std::string & OutputFilename,
39 const std::string & InputFilename,
40 const std::vector<std::string> & Libraries,
41 const std::vector<std::string> & LibPaths,
42 const std::string & gcc,
45 } // End llvm namespace