LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
Collaboration diagram for Module Providers:

Functions

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

Detailed Description

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 2501 of file Core.cpp.

void LLVMDisposeModuleProvider ( LLVMModuleProviderRef  M)

Destroys the module M.

Definition at line 2505 of file Core.cpp.

References llvm::unwrap().