LLVM  mainline
Modules | Functions
Core
LLVM-C: C interface to LLVM

This modules provide an interface to libLLVMCore, which implements the LLVM intermediate representation as well as other related types and utilities. More...

Collaboration diagram for Core:

Modules

 Types and Enumerations
 Contexts
 

Contexts are execution states for the core LLVM IR system.


 Modules
 

Modules represent the top-level structure in an LLVM program.


 Types
 

Types represent the type of a value.


 Values
 

The bulk of LLVM's object model consists of values, which comprise a very rich type hierarchy.


 Metadata
 Basic Block
 

A basic block represents a single entry single exit section of code.


 Instructions
 

Functions in this group relate to the inspection and manipulation of individual instructions.


Functions

void LLVMInitializeCore (LLVMPassRegistryRef R)
void LLVMShutdown (void)
 Deallocate and destroy all ManagedStatic variables.
char * LLVMCreateMessage (const char *Message)
void LLVMDisposeMessage (char *Message)

Detailed Description

This modules provide an interface to libLLVMCore, which implements the LLVM intermediate representation as well as other related types and utilities.

Many exotic languages can interoperate with C code but have a harder time with C++ due to name mangling. So in addition to C, this interface enables tools written in such languages.


Function Documentation

char* LLVMCreateMessage ( const char *  Message)

Definition at line 65 of file Core.cpp.

Referenced by LLVMGetDiagInfoDescription().

void LLVMDisposeMessage ( char *  Message)

Definition at line 69 of file Core.cpp.

Definition at line 55 of file Core.cpp.

void LLVMShutdown ( void  )

Deallocate and destroy all ManagedStatic variables.

See also:
llvm::llvm_shutdown
ManagedStatic

Definition at line 59 of file Core.cpp.

References llvm::llvm_shutdown().