LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

llvm::ExistingModuleProvider Struct Reference

#include <ModuleProvider.h>

Inheritance diagram for llvm::ExistingModuleProvider:

Inheritance graph
[legend]
Collaboration diagram for llvm::ExistingModuleProvider:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ExistingModuleProvider (Module *M)
void materializeFunction (Function *F)
ModulematerializeModule ()

Detailed Description

ExistingModuleProvider - Allow conversion from a fully materialized Module into a ModuleProvider, allowing code that expects a ModuleProvider to work if we just have a Module. Note that the ModuleProvider takes ownership of the Module specified.

Definition at line 65 of file ModuleProvider.h.


Constructor & Destructor Documentation

llvm::ExistingModuleProvider::ExistingModuleProvider Module M  )  [inline]
 

Definition at line 66 of file ModuleProvider.h.

References llvm::ModuleProvider::TheModule.


Member Function Documentation

void llvm::ExistingModuleProvider::materializeFunction Function F  )  [inline, virtual]
 

materializeFunction - make sure the given function is fully read. Note that this can throw an exception if the module is corrupt!

Implements llvm::ModuleProvider.

Definition at line 69 of file ModuleProvider.h.

Module* llvm::ExistingModuleProvider::materializeModule  )  [inline, virtual]
 

materializeModule - make sure the entire Module has been completely read. Note that this can throw an exception if the module is corrupt!

Implements llvm::ModuleProvider.

Definition at line 70 of file ModuleProvider.h.

References llvm::ModuleProvider::TheModule.


The documentation for this struct was generated from the following file: