MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / LLVMOrcThreadSafeModuleWithModuleDo

Function LLVMOrcThreadSafeModuleWithModuleDo

lib/llvm/llvm.h:2621–2629  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2619}
2620
2621LLVMErrorRef
2622LLVMOrcThreadSafeModuleWithModuleDo(LLVMOrcThreadSafeModuleRef TSM,
2623 LLVMOrcGenericIRModuleOperationFunction F,
2624 void *Ctx) noexcept {
2625 using llvm::unwrap;
2626 using llvm::wrap;
2627 return wrap(unwrap(TSM)->withModuleDo(
2628 [&](llvm::Module &M) { return unwrap(F(Ctx, wrap(&M))); }));
2629}
2630#endif

Callers 1

withModuleDoMethod · 0.85

Calls 3

wrapFunction · 0.85
FClass · 0.85
withModuleDoMethod · 0.80

Tested by

no test coverage detected