1 #ifndef CPPAD_CG_LLVM_MODEL_INCLUDED 2 #define CPPAD_CG_LLVM_MODEL_INCLUDED 39 if (_dynLib !=
nullptr) {
40 _dynLib->destroyed(
this);
52 const std::string& name) :
56 CPPADCG_ASSERT_UNKNOWN(_dynLib !=
nullptr);
61 void* loadFunction(
const std::string& functionName,
bool required =
true)
override {
65 void modelLibraryClosed()
override {
LlvmModelLibrary< Base > * _dynLib
the dynamic library
LlvmModel(LlvmModelLibrary< Base > *dynLib, const std::string &name)
virtual void * loadFunction(const std::string &functionName, bool required=true)=0