LLVM API Documentation

Modules | Functions
Global Values
Constants
Collaboration diagram for Global Values:

Modules

 Global Variables
 Global Aliases
 Function values

Functions

LLVMModuleRef LLVMGetGlobalParent (LLVMValueRef Global)
LLVMBool LLVMIsDeclaration (LLVMValueRef Global)
LLVMLinkage LLVMGetLinkage (LLVMValueRef Global)
void LLVMSetLinkage (LLVMValueRef Global, LLVMLinkage Linkage)
const char * LLVMGetSection (LLVMValueRef Global)
void LLVMSetSection (LLVMValueRef Global, const char *Section)
LLVMVisibility LLVMGetVisibility (LLVMValueRef Global)
void LLVMSetVisibility (LLVMValueRef Global, LLVMVisibility Viz)
unsigned LLVMGetAlignment (LLVMValueRef Global)
void LLVMSetAlignment (LLVMValueRef Global, unsigned Bytes)

Detailed Description

This group contains functions that operate on global values. Functions in this group relate to functions in the llvm::GlobalValue class tree.

See also:
llvm::GlobalValue

Function Documentation

unsigned LLVMGetAlignment ( LLVMValueRef  Global)

Definition at line 1219 of file Core.cpp.

LLVMModuleRef LLVMGetGlobalParent ( LLVMValueRef  Global)

Definition at line 1095 of file Core.cpp.

References getParent(), and llvm::wrap().

LLVMLinkage LLVMGetLinkage ( LLVMValueRef  Global)
const char* LLVMGetSection ( LLVMValueRef  Global)

Definition at line 1201 of file Core.cpp.

LLVMVisibility LLVMGetVisibility ( LLVMValueRef  Global)

Definition at line 1209 of file Core.cpp.

LLVMBool LLVMIsDeclaration ( LLVMValueRef  Global)

Definition at line 1099 of file Core.cpp.

void LLVMSetAlignment ( LLVMValueRef  Global,
unsigned  Bytes 
)

Definition at line 1223 of file Core.cpp.

void LLVMSetLinkage ( LLVMValueRef  Global,
LLVMLinkage  Linkage 
)
void LLVMSetSection ( LLVMValueRef  Global,
const char *  Section 
)

Definition at line 1205 of file Core.cpp.

void LLVMSetVisibility ( LLVMValueRef  Global,
LLVMVisibility  Viz 
)

Definition at line 1214 of file Core.cpp.