LLVM API Documentation

Modules | Functions
Global Values
Constants
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)
LLVMDLLStorageClass LLVMGetDLLStorageClass (LLVMValueRef Global)
void LLVMSetDLLStorageClass (LLVMValueRef Global, LLVMDLLStorageClass Class)
LLVMBool LLVMHasUnnamedAddr (LLVMValueRef Global)
void LLVMSetUnnamedAddr (LLVMValueRef Global, LLVMBool HasUnnamedAddr)
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

Obtain the preferred alignment of the value.

See also:
llvm::AllocaInst::getAlignment()
llvm::LoadInst::getAlignment()
llvm::StoreInst::getAlignment()
llvm::GlobalValue::getAlignment()

Definition at line 1465 of file Core.cpp.

References LI, llvm_unreachable, P, and llvm::SI.

Definition at line 1445 of file Core.cpp.

References llvm::Global.

Definition at line 1328 of file Core.cpp.

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

const char* LLVMGetSection ( LLVMValueRef  Global)

Definition at line 1427 of file Core.cpp.

References llvm::Global.

Definition at line 1435 of file Core.cpp.

References llvm::Global.

Definition at line 1455 of file Core.cpp.

References llvm::Global.

Definition at line 1332 of file Core.cpp.

References llvm::Global.

void LLVMSetAlignment ( LLVMValueRef  V,
unsigned  Bytes 
)

Set the preferred alignment of the value.

See also:
llvm::AllocaInst::setAlignment()
llvm::LoadInst::setAlignment()
llvm::StoreInst::setAlignment()
llvm::GlobalValue::setAlignment()

Definition at line 1480 of file Core.cpp.

References LI, llvm_unreachable, P, and llvm::SI.

Definition at line 1450 of file Core.cpp.

References llvm::Global.

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

Definition at line 1431 of file Core.cpp.

References llvm::Global.

void LLVMSetUnnamedAddr ( LLVMValueRef  Global,
LLVMBool  HasUnnamedAddr 
)

Definition at line 1459 of file Core.cpp.

References llvm::Global.

void LLVMSetVisibility ( LLVMValueRef  Global,
LLVMVisibility  Viz 
)

Definition at line 1440 of file Core.cpp.

References llvm::Global.