LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Modules | Functions
Global Values
Collaboration diagram for Global Values:

Modules

 Values with alignment
 

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 V)
 
void LLVMSetAlignment (LLVMValueRef V, 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  V)

Obtain the preferred alignment of the value.

See Also
llvm::LoadInst::getAlignment()
llvm::StoreInst::getAlignment()
llvm::GlobalValue::getAlignment()

Definition at line 1260 of file Core.cpp.

References LI, llvm_unreachable, and P.

LLVMModuleRef LLVMGetGlobalParent ( LLVMValueRef  Global)

Definition at line 1135 of file Core.cpp.

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

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

Definition at line 1240 of file Core.cpp.

LLVMVisibility LLVMGetVisibility ( LLVMValueRef  Global)

Definition at line 1248 of file Core.cpp.

LLVMBool LLVMIsDeclaration ( LLVMValueRef  Global)

Definition at line 1139 of file Core.cpp.

References isDeclaration().

void LLVMSetAlignment ( LLVMValueRef  V,
unsigned  Bytes 
)

Set the preferred alignment of the value.

See Also
llvm::LoadInst::setAlignment()
llvm::StoreInst::setAlignment()
llvm::GlobalValue::setAlignment()

Definition at line 1272 of file Core.cpp.

References LI, llvm_unreachable, and P.

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

Definition at line 1244 of file Core.cpp.

void LLVMSetVisibility ( LLVMValueRef  Global,
LLVMVisibility  Viz 
)

Definition at line 1253 of file Core.cpp.