LLVM 20.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 4443 of file Core.cpp.

◆ LLVMDisposeModuleProvider()

void LLVMDisposeModuleProvider ( LLVMModuleProviderRef  M)

Destroys the module M.

Definition at line 4447 of file Core.cpp.

References unwrap().