SBMLInitialValueSymbolResolver

class SBMLInitialValueSymbolResolver : public rrllvm::LoadSymbolResolverBase

pulls values from the original sbml document.

Public Functions

SBMLInitialValueSymbolResolver(llvm::Value *modelData, const ModelGeneratorContext &ctx)

need a modelData ptr because it holds state needed from the random number generators, could be used for init assignmnets.

inline virtual ~SBMLInitialValueSymbolResolver()
virtual llvm::Value *loadSymbolValue(const std::string &symbol, const llvm::ArrayRef<llvm::Value*> &args = llvm::ArrayRef<llvm::Value*>())

generate an LLVM load instruction.

Parameters:
  • symbol – the symbol name to resolve

  • args – function argument list

Private Members

llvm::Value *modelData