LLVM 22.0.0git
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 4509 of file Core.cpp.

◆ LLVMDisposeModuleProvider()

LLVM_C_ABI void LLVMDisposeModuleProvider ( LLVMModuleProviderRef M)

Destroys the module M.

Definition at line 4513 of file Core.cpp.

References llvm::unwrap().