1 #ifndef CPPAD_CG_LLVM_MODEL_INCLUDED
2 #define CPPAD_CG_LLVM_MODEL_INCLUDED
52 const std::string& name) :
56 CPPADCG_ASSERT_UNKNOWN(
_dynLib !=
nullptr);
61 void* loadFunction(
const std::string& functionName,
bool required =
true)
override {
62 return _dynLib->loadFunction(functionName, required);
65 void modelLibraryClosed()
override {
67 FunctorGenericModel<Base>::modelLibraryClosed();
70 friend class LlvmModelLibrary<Base>;
LlvmModel(LlvmModelLibrary< Base > *dynLib, const std::string &name)
LlvmModelLibrary< Base > * _dynLib
the dynamic library