LLVM API Documentation
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) |
This group contains functions that operate on global values. Functions in this group relate to functions in the llvm::GlobalValue class tree.
Obtain the preferred alignment of the value.
Definition at line 1357 of file Core.cpp.
References LI, llvm_unreachable, and P.
LLVMModuleRef LLVMGetGlobalParent | ( | LLVMValueRef | Global | ) |
Definition at line 1220 of file Core.cpp.
References getParent(), and llvm::wrap().
LLVMLinkage LLVMGetLinkage | ( | LLVMValueRef | Global | ) |
Definition at line 1228 of file Core.cpp.
References llvm::GlobalValue::AppendingLinkage, llvm::GlobalValue::AvailableExternallyLinkage, llvm::GlobalValue::CommonLinkage, llvm::GlobalValue::ExternalLinkage, llvm::GlobalValue::ExternalWeakLinkage, llvm::GlobalValue::InternalLinkage, llvm::GlobalValue::LinkOnceAnyLinkage, llvm::GlobalValue::LinkOnceODRLinkage, llvm_unreachable, LLVMAppendingLinkage, LLVMAvailableExternallyLinkage, LLVMCommonLinkage, LLVMExternalLinkage, LLVMExternalWeakLinkage, LLVMInternalLinkage, LLVMLinkOnceAnyLinkage, LLVMLinkOnceODRLinkage, LLVMPrivateLinkage, LLVMWeakAnyLinkage, LLVMWeakODRLinkage, llvm::GlobalValue::PrivateLinkage, llvm::GlobalValue::WeakAnyLinkage, and llvm::GlobalValue::WeakODRLinkage.
const char* LLVMGetSection | ( | LLVMValueRef | Global | ) |
LLVMVisibility LLVMGetVisibility | ( | LLVMValueRef | Global | ) |
LLVMBool LLVMHasUnnamedAddr | ( | LLVMValueRef | Global | ) |
LLVMBool LLVMIsDeclaration | ( | LLVMValueRef | Global | ) |
Definition at line 1224 of file Core.cpp.
References isDeclaration().
void LLVMSetAlignment | ( | LLVMValueRef | V, |
unsigned | Bytes | ||
) |
Set the preferred alignment of the value.
Definition at line 1372 of file Core.cpp.
References LI, llvm_unreachable, and P.
void LLVMSetDLLStorageClass | ( | LLVMValueRef | Global, |
LLVMDLLStorageClass | Class | ||
) |
void LLVMSetLinkage | ( | LLVMValueRef | Global, |
LLVMLinkage | Linkage | ||
) |
Definition at line 1257 of file Core.cpp.
References llvm::GlobalValue::AppendingLinkage, llvm::GlobalValue::AvailableExternallyLinkage, llvm::GlobalValue::CommonLinkage, DEBUG, llvm::errs(), llvm::GlobalValue::ExternalLinkage, llvm::GlobalValue::ExternalWeakLinkage, llvm::GlobalValue::InternalLinkage, llvm::GlobalValue::LinkOnceAnyLinkage, llvm::GlobalValue::LinkOnceODRLinkage, LLVMAppendingLinkage, LLVMAvailableExternallyLinkage, LLVMCommonLinkage, LLVMDLLExportLinkage, LLVMDLLImportLinkage, LLVMExternalLinkage, LLVMExternalWeakLinkage, LLVMGhostLinkage, LLVMInternalLinkage, LLVMLinkerPrivateLinkage, LLVMLinkerPrivateWeakLinkage, LLVMLinkOnceAnyLinkage, LLVMLinkOnceODRAutoHideLinkage, LLVMLinkOnceODRLinkage, LLVMPrivateLinkage, LLVMWeakAnyLinkage, LLVMWeakODRLinkage, llvm::GlobalValue::PrivateLinkage, llvm::GlobalValue::setLinkage(), llvm::GlobalValue::WeakAnyLinkage, and llvm::GlobalValue::WeakODRLinkage.
void LLVMSetSection | ( | LLVMValueRef | Global, |
const char * | Section | ||
) |
void LLVMSetUnnamedAddr | ( | LLVMValueRef | Global, |
LLVMBool | HasUnnamedAddr | ||
) |
void LLVMSetVisibility | ( | LLVMValueRef | Global, |
LLVMVisibility | Viz | ||
) |