roadrunner  2.6.0
Fast simulator for SBML models
EvalConversionFactorCodeGen.h
1 /*
2  * EvalConversionFactorCodeGen.h
3  *
4  * Created on: Aug 25, 2013
5  * Author: andy
6  */
7 
8 #ifndef EVALCONVERSIONFACTORCODEGEN_H_
9 #define EVALCONVERSIONFACTORCODEGEN_H_
10 
11 #include "CodeGenBase.h"
12 #include "ModelGeneratorContext.h"
13 #include "SymbolForest.h"
14 #include "ASTNodeFactory.h"
15 #include "ModelDataIRBuilder.h"
16 #include <sbml/Model.h>
17 
18 namespace rrllvm
19 {
24  typedef void (*EvalConversionFactorCodeGen_FunctionPtr)(LLVMModelData*);
25 
27  public CodeGenBase<EvalConversionFactorCodeGen_FunctionPtr>
28  {
29  public:
31  virtual ~EvalConversionFactorCodeGen();
32 
33  llvm::Value* codeGen();
34 
35  static const char* FunctionName;
36 
37  };
38 
39 } /* namespace rrllvm */
40 #endif /* EVALCONVERSIONFACTORCODEGEN_H_ */
a convenience class to pull the vars out of a context, and store them as ivars.
Definition: CodeGenBase.h:54
Evaluate conversion factors, which change the units of species objects in SBML.
Definition: EvalConversionFactorCodeGen.h:28
All LLVM code generating objects basically need at a minimum three things to operate:
Definition: ModelGeneratorContext.h:95