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

◆ LLVMDisposeModuleProvider()

void LLVMDisposeModuleProvider ( LLVMModuleProviderRef  M)

Destroys the module M.

Definition at line 4487 of file Core.cpp.

References unwrap().