LLVM API Documentation

Functions
Module Providers
Core
Collaboration diagram for Module Providers:

Functions

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

Function Documentation

LLVMModuleProviderRef LLVMCreateModuleProviderForExistingModule ( LLVMModuleRef  M)

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

Definition at line 2435 of file Core.cpp.

void LLVMDisposeModuleProvider ( LLVMModuleProviderRef  M)

Destroys the module M.

Definition at line 2439 of file Core.cpp.

References llvm::unwrap().