LLVM  mainline
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 2775 of file Core.cpp.

Destroys the module M.

Definition at line 2779 of file Core.cpp.

References llvm::unwrap().