| 584 | } |
| 585 | |
| 586 | Result GraphModule::addForwardDeclarations(llvm::Module& module) const { |
| 587 | // create prototypes |
| 588 | for (auto& graph : mFunctions) { |
| 589 | module.getOrInsertFunction(mangleFunctionName(fullName(), graph->name()), |
| 590 | graph->functionType()); |
| 591 | } |
| 592 | |
| 593 | return {}; |
| 594 | } |
| 595 | |
| 596 | Result GraphModule::generateModule(llvm::Module& module) { |
| 597 | Result res = {}; |
nothing calls this directly
no test coverage detected