| 1085 | } |
| 1086 | |
| 1087 | Muxlicer* findHostModulePtr(Module* module) { |
| 1088 | if (module) { |
| 1089 | if (module->leftExpander.module) { |
| 1090 | // if it's Muxlicer, we're done |
| 1091 | if (module->leftExpander.module->model == modelMuxlicer) { |
| 1092 | return reinterpret_cast<Muxlicer*>(module->leftExpander.module); |
| 1093 | } |
| 1094 | // if it's Mex, keep recursing |
| 1095 | else if (module->leftExpander.module->model == modelMex) { |
| 1096 | return findHostModulePtr(module->leftExpander.module); |
| 1097 | } |
| 1098 | } |
| 1099 | } |
| 1100 | |
| 1101 | return nullptr; |
| 1102 | } |
| 1103 | |
| 1104 | void process(const ProcessArgs& args) override { |
| 1105 |
nothing calls this directly
no outgoing calls
no test coverage detected