roadrunner  2.6.0
Fast simulator for SBML models
Public Member Functions | List of all members
rrllvm::LLVMCompiler Class Reference

class LLVMCompiler More...

#include <LLVMCompiler.h>

Inheritance diagram for rrllvm::LLVMCompiler:
rr::Compiler

Public Member Functions

virtual std::string getCompiler () const
 
virtual bool setCompiler (const std::string &compiler)
 
virtual std::string getCompilerLocation () const
 
virtual bool setCompilerLocation (const std::string &path)
 
virtual std::string getSupportCodeFolder () const
 
virtual bool setSupportCodeFolder (const std::string &path)
 
virtual std::string getDefaultTargetTriple ()
 getDefaultTargetTriple() - Return the default target triple the compiler has been configured to produce code for. More...
 
virtual std::string getProcessTriple ()
 getProcessTriple() - Return an appropriate target triple for generating code to be loaded into the current process, e.g. More...
 
virtual std::string getHostCPUName ()
 getHostCPUName - Get the LLVM name for the host CPU. More...
 
virtual std::string getVersion ()
 get the version of the compiler.
 

Additional Inherited Members

- Static Public Member Functions inherited from rr::Compiler
static std::string getDefaultCompiler ()
 implement the couple Compiler methods, this will go, here for source compatiblity.
 
static CompilerNew ()
 

Detailed Description

class LLVMCompiler

Member Function Documentation

◆ getDefaultTargetTriple()

std::string rrllvm::LLVMCompiler::getDefaultTargetTriple ( )
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

Implements rr::Compiler.

◆ getHostCPUName()

std::string rrllvm::LLVMCompiler::getHostCPUName ( )
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.

Returns
- The host CPU name, or empty if the CPU could not be determined.

Implements rr::Compiler.

◆ getProcessTriple()

std::string rrllvm::LLVMCompiler::getProcessTriple ( )
virtual

getProcessTriple() - Return an appropriate target triple for generating code to be loaded into the current process, e.g.

when using the JIT.

Implements rr::Compiler.


The documentation for this class was generated from the following files: