CppADCodeGen
HEAD
A C++ Algorithmic Differentiation Package with Source Code Generation
|
Public Member Functions | |
LlvmModelLibraryProcessor (ModelLibraryCSourceGen< Base > &librarySourceGen) | |
LlvmModelLibraryProcessor (ModelLibraryCSourceGen< Base > &modelLibraryHelper) | |
const std::string & | getVersion () const |
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) | |
const std::string & | getVersion () const |
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) | |
const std::string & | getVersion () const |
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) | |
const std::string & | getVersion () const |
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) | |
const std::string & | getVersion () const |
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) | |
LlvmModelLibraryProcessor (ModelLibraryCSourceGen< Base > &librarySourceGen) | |
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) |
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 | |
const std::string | _version |
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 |
ModelLibraryCSourceGen< Base > * | modelLibraryHelper_ |
ModelLibraryCSourceGen< Base > * | modelLibraryHelper_ |
Useful class for generating a JIT evaluated model library (LLVM 10.0).
Useful class for generating a JIT evaluated model library.
Useful class for generating a JIT evaluated model library (LLVM 6.0).
Useful class for generating a JIT evaluated model library (LLVM 7.0).
Useful class for generating a JIT evaluated model library (LLVM 8.0).
Useful class for generating a JIT evaluated model library (LLVM 9.0).
Definition at line 29 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 |
modelLibraryHelper |
Definition at line 42 of file llvm_model_library_processor.hpp.
|
inline |
modelLibraryHelper |
Definition at line 42 of file llvm_model_library_processor.hpp.
|
inline |
librarySourceGen |
Definition at line 43 of file llvm_model_library_processor.hpp.
|
inline |
Creates a LLVM model library processor.
librarySourceGen |
Definition at line 44 of file llvm_model_library_processor.hpp.
|
inline |
Creates a LLVM model library processor.
librarySourceGen |
Definition at line 44 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 |
Creates a LLVM model library processor.
librarySourceGen |
Definition at line 37 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 |
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 69 of file llvm_model_library_processor.hpp.
|
inline |
Definition at line 75 of file llvm_model_library_processor.hpp.
|
inline |
Definition at line 76 of file llvm_model_library_processor.hpp.
|
inline |
Definition at line 77 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 115 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 119 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 135 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 67 of file llvm_model_library_processor.hpp.
|
inline |
User defined header paths.
Definition at line 68 of file llvm_model_library_processor.hpp.
|
inline |
User defined header paths.
Definition at line 69 of file llvm_model_library_processor.hpp.
|
inline |
Definition at line 52 of file llvm_model_library_processor.hpp.
|
inline |
Definition at line 52 of file llvm_model_library_processor.hpp.
|
inline |
Definition at line 53 of file llvm_model_library_processor.hpp.
|
inline |
Definition at line 54 of file llvm_model_library_processor.hpp.
|
inline |
Definition at line 54 of file llvm_model_library_processor.hpp.
|
inline |
Define additional header paths.
Definition at line 60 of file llvm_model_library_processor.hpp.
|
inline |
Define additional header paths.
Definition at line 61 of file llvm_model_library_processor.hpp.
|
inline |
Define additional header paths.
Definition at line 62 of file llvm_model_library_processor.hpp.