LLVM API Documentation

Module Providers
LLVM-C: C interface to LLVM
Collaboration diagram for Module Providers:


LLVMModuleProviderRef LLVMCreateModuleProviderForExistingModule (LLVMModuleRef M)
void LLVMDisposeModuleProvider (LLVMModuleProviderRef M)

Function Documentation

Changes the type of M so it can be passed to FunctionPassManagers and the JIT. They take ModuleProviders for historical reasons.

Definition at line 2770 of file Core.cpp.

Destroys the module M.

Definition at line 2774 of file Core.cpp.

References llvm::unwrap().