Add the function to the list of IR functions that need to be compiled. Compiling only the functions that are used by the module saves time.
| 67 | /// Add the function to the list of IR functions that need to be compiled. |
| 68 | /// Compiling only the functions that are used by the module saves time. |
| 69 | void AddFunctionToCompile(const std::string& fname) { |
| 70 | ARROW_DCHECK(!module_finalized_); |
| 71 | functions_to_compile_.push_back(fname); |
| 72 | } |
| 73 | |
| 74 | /// Optimise and compile the module. |
| 75 | Status FinalizeModule(); |