CppADCodeGen
2.3.0
A C++ Algorithmic Differentiation Package with Source Code Generation
|
Public Member Functions | |
LlvmModelLibraryProcessor (ModelLibraryCSourceGen< Base > &modelLibraryHelper) | |
void | setIncludePaths (const std::vector< std::string > &includePaths) |
const std::vector< std::string > & | getIncludePaths () const |
std::unique_ptr< LlvmModelLibrary< Base > > | create () |
LlvmModelLibraryProcessor (ModelLibraryCSourceGen< Base > &modelLibraryHelper) | |
void | setIncludePaths (const std::vector< std::string > &includePaths) |
const std::vector< std::string > & | getIncludePaths () const |
std::unique_ptr< LlvmModelLibrary< Base > > | create () |
std::unique_ptr< LlvmModelLibrary< Base > > | create (ClangCompiler< Base > &clang) |
LlvmModelLibraryProcessor (ModelLibraryCSourceGen< Base > &librarySourceGen) | |
void | setIncludePaths (const std::vector< std::string > &includePaths) |
const std::vector< std::string > & | getIncludePaths () const |
std::unique_ptr< LlvmModelLibrary< Base > > | create () |
std::unique_ptr< LlvmModelLibrary< Base > > | create (ClangCompiler< Base > &clang) |
LlvmModelLibraryProcessor (ModelLibraryCSourceGen< Base > &librarySourceGen) | |
void | setIncludePaths (const std::vector< std::string > &includePaths) |
const std::vector< std::string > & | getIncludePaths () const |
std::unique_ptr< LlvmModelLibrary< Base > > | create () |
std::unique_ptr< LlvmModelLibrary< Base > > | create (ClangCompiler< Base > &clang) |
LlvmModelLibraryProcessor (ModelLibraryCSourceGen< Base > &librarySourceGen) | |
void | setIncludePaths (const std::vector< std::string > &includePaths) |
const std::vector< std::string > & | getIncludePaths () const |
std::unique_ptr< LlvmModelLibrary< Base > > | create () |
std::unique_ptr< LlvmModelLibrary< Base > > | create (ClangCompiler< Base > &clang) |
LlvmModelLibraryProcessor (ModelLibraryCSourceGen< Base > &librarySourceGen) | |
LlvmModelLibraryProcessor (ModelLibraryCSourceGen< Base > &librarySourceGen) | |
Static Public Member Functions | |
static std::unique_ptr< LlvmModelLibrary< Base > > | create (ModelLibraryCSourceGen< Base > &modelLibraryHelper) |
static std::unique_ptr< LlvmModelLibrary< Base > > | create (ModelLibraryCSourceGen< Base > &modelLibraryHelper) |
static std::unique_ptr< LlvmModelLibrary< Base > > | create (ModelLibraryCSourceGen< Base > &modelLibraryHelper) |
static std::unique_ptr< LlvmModelLibrary< Base > > | create (ModelLibraryCSourceGen< Base > &modelLibraryHelper) |
static std::unique_ptr< LlvmModelLibrary< Base > > | create (ModelLibraryCSourceGen< Base > &modelLibraryHelper) |
static std::unique_ptr< LlvmModelLibrary< Base > > | create (ModelLibraryCSourceGen< Base > &modelLibraryHelper) |
static std::unique_ptr< LlvmModelLibrary< Base > > | create (ModelLibraryCSourceGen< Base > &modelLibraryHelper) |
Protected Member Functions | |
virtual void | createLlvmModules (const std::map< std::string, std::string > &sources) |
virtual void | createLlvmModule (const std::string &filename, const std::string &source) |
llvm::Module * | mergeModules (const std::vector< llvm::Module *> &modules) |
virtual void | createLlvmModules (const std::map< std::string, std::string > &sources) |
virtual void | createLlvmModule (const std::string &filename, const std::string &source) |
virtual void | createLlvmModules (const std::map< std::string, std::string > &sources) |
virtual void | createLlvmModule (const std::string &filename, const std::string &source) |
virtual void | createLlvmModules (const std::map< std::string, std::string > &sources) |
virtual void | createLlvmModule (const std::string &filename, const std::string &source) |
const std::set< std::string > & | createBitCode (ClangCompiler< Base > &clang, const std::string &version) |
const std::map< std::string, std::string > & | getLibrarySources () |
const std::map< std::string, std::string > & | getSources (ModelCSourceGen< Base > &model) |
const std::set< std::string > & | createBitCode (ClangCompiler< Base > &clang, const std::string &version) |
const std::map< std::string, std::string > & | getLibrarySources () |
const std::map< std::string, std::string > & | getSources (ModelCSourceGen< Base > &model) |
Protected Attributes | |
std::vector< std::string > | _includePaths |
std::unique_ptr< llvm::Linker > | _linker |
std::unique_ptr< llvm::LLVMContext > | _context |
std::shared_ptr< llvm::LLVMContext > | _context |
std::unique_ptr< llvm::Module > | _module |
const std::string | _version |
ModelLibraryCSourceGen< Base > * | modelLibraryHelper_ |
ModelLibraryCSourceGen< Base > * | modelLibraryHelper_ |
Useful class for generating a JIT evaluated model library.
Useful class for generating a JIT evaluated model library (LLVM 6.0).
Definition at line 29 of file llvm_model_library_processor.hpp.
|
inline |
modelLibraryHelper |
Definition at line 40 of file llvm_model_library_processor.hpp.
|
inline |
modelLibraryHelper |
Definition at line 40 of file llvm_model_library_processor.hpp.
|
inline |
librarySourceGen |
Definition at line 41 of file llvm_model_library_processor.hpp.
|
inline |
Creates a LLVM model library processor.
librarySourceGen |
Definition at line 42 of file llvm_model_library_processor.hpp.
|
inline |
Creates a LLVM model library processor.
librarySourceGen |
Definition at line 42 of file llvm_model_library_processor.hpp.
|
inline |
Creates a LLVM model library processor.
librarySourceGen |
Definition at line 38 of file llvm_model_library_processor.hpp.
|
inline |
Creates a LLVM model library processor.
librarySourceGen |
Definition at line 37 of file llvm_model_library_processor.hpp.
|
inline |
generate bit code
Load bit code and create a single module
Definition at line 60 of file llvm_model_library_processor.hpp.
|
inline |
Definition at line 66 of file llvm_model_library_processor.hpp.
|
inline |
Definition at line 67 of file llvm_model_library_processor.hpp.
|
inline |
Definition at line 67 of file llvm_model_library_processor.hpp.
|
inline |
clang | the external compiler |
generate bit code
Load bit code and create a single module
Definition at line 106 of file llvm_model_library_processor.hpp.
|
inline |
Creates a LLVM model library using an external Clang compiler to generate the bitcode.
clang | the external compiler |
generate bit code
Load bit code and create a single module
Definition at line 109 of file llvm_model_library_processor.hpp.
|
inline |
clang | the external compiler |
generate bit code
Load bit code and create a single module
Definition at line 126 of file llvm_model_library_processor.hpp.
|
inlineprotectedinherited |
generate bit code
Definition at line 59 of file llvm_base_model_library_processor.hpp.
Referenced by CppAD::cg::LlvmModelLibraryProcessor< Base >::create(), and CppAD::cg::LlvmBaseModelLibraryProcessorImpl< Base >::create().
|
inlineprotectedinherited |
generate bit code
Definition at line 59 of file llvm_base_model_library_processor.hpp.
Referenced by CppAD::cg::LlvmModelLibraryProcessor< Base >::create(), and CppAD::cg::LlvmBaseModelLibraryProcessorImpl< Base >::create().
|
inline |
User defined header paths.
Definition at line 58 of file llvm_model_library_processor.hpp.
|
inline |
User defined header paths.
Definition at line 59 of file llvm_model_library_processor.hpp.
|
inline |
User defined header paths.
Definition at line 59 of file llvm_model_library_processor.hpp.
|
inline |
Define additional header paths.
Definition at line 51 of file llvm_model_library_processor.hpp.
|
inline |
Define additional header paths.
Definition at line 52 of file llvm_model_library_processor.hpp.
|
inline |
Define additional header paths.
Definition at line 52 of file llvm_model_library_processor.hpp.