roadrunner
2.6.0
Fast simulator for SBML models
|
Not thread safe – but perfectly fine if stack allocated. More...
#include <FunctionResolver.h>
Public Member Functions | |
FunctionResolver (LoadSymbolResolver &parentResolver, llvm::Value *modelData, const ModelGeneratorContext &ctx) | |
virtual llvm::Value * | loadSymbolValue (const std::string &symbol, const llvm::ArrayRef< llvm::Value * > &args=llvm::ArrayRef< llvm::Value * >()) |
generate an LLVM load instruction. More... | |
virtual void | recursiveSymbolPush (const std::string &symbol) |
virtual void | recursiveSymbolPop () |
virtual bool | isLocalParameter (const std::string &symbol) |
![]() | |
virtual size_t | pushCacheBlock () |
nested conditionals (or functions?) can push a local cache block, where symbols would be chached. More... | |
virtual size_t | popCacheBlock () |
Pop a scoped cache block, this clears these values, and any subsequent reads re-evaluate the requested symbol. More... | |
Not thread safe – but perfectly fine if stack allocated.
|
virtual |
generate an LLVM load instruction.
symbol | the symbol name to resolve |
args | function argument list |
Implements rrllvm::LoadSymbolResolver.