Returns a registered expr function for id or NULL if it does not exist.
| 340 | |
| 341 | /// Returns a registered expr function for id or NULL if it does not exist. |
| 342 | llvm::Function* GetRegisteredExprFn(int64_t id) { |
| 343 | std::map<int64_t, llvm::Function*>::iterator it = registered_exprs_map_.find(id); |
| 344 | if (it == registered_exprs_map_.end()) return NULL; |
| 345 | return it->second; |
| 346 | } |
| 347 | |
| 348 | /// Optimize and compile the module. This should be called after all functions to JIT |
| 349 | /// have been added to the module via AddFunctionToJit(). If optimizations_enabled_ is |
no test coverage detected