LLVM API Documentation
#include <ToolRunner.h>
Inheritance diagram for llvm::AbstractInterpreter:
Public Member Functions | |
virtual | ~AbstractInterpreter () |
virtual void | compileProgram (const std::string &Bytecode) |
virtual int | ExecuteProgram (const std::string &Bytecode, const std::vector< std::string > &Args, const std::string &InputFile, const std::string &OutputFile, const std::vector< std::string > &SharedLibs=std::vector< std::string >(), unsigned Timeout=0)=0 |
Static Public Member Functions | |
static CBE * | createCBE (const std::string &ProgramPath, std::string &Message, const std::vector< std::string > *Args=0) |
static LLC * | createLLC (const std::string &ProgramPath, std::string &Message, const std::vector< std::string > *Args=0) |
static AbstractInterpreter * | createLLI (const std::string &ProgramPath, std::string &Message, const std::vector< std::string > *Args=0) |
static AbstractInterpreter * | createJIT (const std::string &ProgramPath, std::string &Message, const std::vector< std::string > *Args=0) |
Definition at line 82 of file ToolRunner.h.
|
Definition at line 97 of file ToolRunner.h. |
|
compileProgram - Compile the specified program from bytecode to executable code. This does not produce any output, it is only used when debugging the code generator. If the code generator fails, an exception should be thrown, otherwise, this function will just return. Reimplemented in llvm::CBE, and llvm::LLC. Definition at line 103 of file ToolRunner.h. |
|
createCBE - Try to find the 'llc' executable Definition at line 317 of file ToolRunner.cpp. References llvm::GCC::create(), and llvm::FindExecutable(). |
|
createJIT - Try to find the LLI executable Definition at line 254 of file ToolRunner.cpp. References llvm::FindExecutable(). |
|
createLLC - Try to find the LLC executable Definition at line 175 of file ToolRunner.cpp. References llvm::GCC::create(), and llvm::FindExecutable(). |
|
Definition at line 109 of file ToolRunner.cpp. References llvm::FindExecutable(). |
|
ExecuteProgram - Run the specified bytecode file, emitting output to the specified filename. This returns the exit code of the program. |