LLVM 19.0.0git
Functions
Collaboration diagram for Module Providers:

Functions

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

Detailed Description

Function Documentation

◆ LLVMCreateModuleProviderForExistingModule()

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

◆ LLVMDisposeModuleProvider()

void LLVMDisposeModuleProvider ( LLVMModuleProviderRef  M)

Destroys the module M.

Definition at line 4248 of file Core.cpp.

References llvm::unwrap().