roadrunner
2.6.0
Fast simulator for SBML models
|
interface to manipulate 'compiler' settings. More...
#include <rrCompiler.h>
Public Member Functions | |
virtual std::string | getCompiler () const =0 |
virtual bool | setCompiler (const std::string &compiler)=0 |
virtual std::string | getCompilerLocation () const =0 |
virtual bool | setCompilerLocation (const std::string &path)=0 |
virtual std::string | getSupportCodeFolder () const =0 |
virtual bool | setSupportCodeFolder (const std::string &path)=0 |
virtual std::string | getDefaultTargetTriple ()=0 |
getDefaultTargetTriple() - Return the default target triple the compiler has been configured to produce code for. More... | |
virtual std::string | getProcessTriple ()=0 |
getProcessTriple() - Return an appropriate target triple for generating code to be loaded into the current process, e.g. More... | |
virtual std::string | getHostCPUName ()=0 |
getHostCPUName - Get the LLVM name for the host CPU. More... | |
virtual std::string | getVersion ()=0 |
get the version of the compiler. | |
Static Public Member Functions | |
static std::string | getDefaultCompiler () |
implement the couple Compiler methods, this will go, here for source compatiblity. | |
static Compiler * | New () |
interface to manipulate 'compiler' settings.
In the C generating model sytem, an external C compiler is used to compile generated C code. However, in the LLVM system, there is no code generation nor compilation, so this interface is not really usefull, but is implemented for compatiblity with the C system.
|
pure virtual |
getDefaultTargetTriple() - Return the default target triple the compiler has been configured to produce code for.
The target triple is a std::string in the format of: CPU_TYPE-VENDOR-OPERATING_SYSTEM or CPU_TYPE-VENDOR-KERNEL-OPERATING_SYSTEM
Implemented in rrllvm::LLVMCompiler, and rr::CCompiler.
|
pure virtual |
getHostCPUName - Get the LLVM name for the host CPU.
The particular format of the name is target dependent, and suitable for passing as -mcpu to the target which matches the host.
Implemented in rrllvm::LLVMCompiler, and rr::CCompiler.
|
pure virtual |
getProcessTriple() - Return an appropriate target triple for generating code to be loaded into the current process, e.g.
when using the JIT.
Implemented in rrllvm::LLVMCompiler, and rr::CCompiler.