LLVM: Module Providers (original) (raw)

Collaboration diagram for Module Providers:

Functions
LLVM_C_ABI LLVMModuleProviderRef LLVMCreateModuleProviderForExistingModule (LLVMModuleRef M)
Changes the type of M so it can be passed to FunctionPassManagers and the JIT.
LLVM_C_ABI void LLVMDisposeModuleProvider (LLVMModuleProviderRef M)
Destroys the module M.

Detailed Description

Function Documentation

LLVMCreateModuleProviderForExistingModule()

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

LLVMDisposeModuleProvider()

LLVM_C_ABI void LLVMDisposeModuleProvider ( LLVMModuleProviderRef M )

Destroys the module M.

Definition at line 4563 of file Core.cpp.

References llvm::unwrap().