roadrunner  2.6.0
Fast simulator for SBML models
LLVMCompiler.h
1 /*
2  * LLVMCompiler.h
3  *
4  * Created on: Jun 3, 2013
5  *
6  * Author: Andy Somogyi,
7  * email decode: V1 = "."; V2 = "@"; V3 = V1;
8  * andy V1 somogyi V2 gmail V3 com
9  */
10 
11 #ifndef LLVMCompilerH
12 #define LLVMCompilerH
13 
14 #include "rrCompiler.h"
15 
16 namespace rrllvm
17 {
22  class RR_DECLSPEC LLVMCompiler : public rr::Compiler
23  {
24  public:
25  LLVMCompiler();
26  virtual ~LLVMCompiler();
27 
28  virtual std::string getCompiler() const;
29  virtual bool setCompiler(const std::string& compiler);
30 
31  virtual std::string getCompilerLocation() const;
32  virtual bool setCompilerLocation(const std::string& path);
33 
34  virtual std::string getSupportCodeFolder() const;
35  virtual bool setSupportCodeFolder(const std::string& path);
36 
37 
47  virtual std::string getDefaultTargetTriple();
48 
53  virtual std::string getProcessTriple();
54 
62  virtual std::string getHostCPUName();
63 
67  virtual std::string getVersion();
68  };
69 
70 } /* namespace rr */
71 #endif /* LLVMCompilerH */
interface to manipulate 'compiler' settings.
Definition: rrCompiler.h:26
class LLVMCompiler
Definition: LLVMCompiler.h:23
C_DECL_SPEC bool rrcCallConv setSupportCodeFolder(RRHandle handle, const char *folder)
Set the path to a folder containing support code for model generation.
C_DECL_SPEC char *rrcCallConv getCompilerLocation(RRHandle handle)
Get the path to a folder containing the compiler being used.
C_DECL_SPEC bool rrcCallConv setCompiler(RRHandle handle, const char *fNameWithPath)
Set the path and filename to the compiler to be used by roadrunner.
C_DECL_SPEC bool rrcCallConv setCompilerLocation(RRHandle handle, const char *folder)
Set the path to a folder containing the compiler to be used.
C_DECL_SPEC char *rrcCallConv getSupportCodeFolder(RRHandle handle)
Get the path to a folder containing support code.
C_DECL_SPEC char *rrcCallConv getCompiler(RRHandle handle)
Get the name of the compiler currently being used by roadrunner.
C_DECL_SPEC int rrcCallConv getVersion()