LLVM 20.0.0git
|
This group contains functions that operate on global variable values. More...
This group contains functions that operate on global variable values.
LLVMValueRef LLVMAddGlobal | ( | LLVMModuleRef | M, |
LLVMTypeRef | Ty, | ||
const char * | Name | ||
) |
Definition at line 2199 of file Core.cpp.
References llvm::GlobalValue::ExternalLinkage, Name, unwrap(), and llvm::wrap().
LLVMValueRef LLVMAddGlobalInAddressSpace | ( | LLVMModuleRef | M, |
LLVMTypeRef | Ty, | ||
const char * | Name, | ||
unsigned | AddressSpace | ||
) |
Definition at line 2204 of file Core.cpp.
References llvm::GlobalValue::ExternalLinkage, Name, unwrap(), and llvm::wrap().
void LLVMDeleteGlobal | ( | LLVMValueRef | GlobalVar | ) |
LLVMValueRef LLVMGetFirstGlobal | ( | LLVMModuleRef | M | ) |
LLVMValueRef LLVMGetInitializer | ( | LLVMValueRef | GlobalVar | ) |
Definition at line 2258 of file Core.cpp.
References llvm::GlobalVariable::getInitializer(), llvm::GlobalVariable::hasInitializer(), and llvm::wrap().
LLVMValueRef LLVMGetLastGlobal | ( | LLVMModuleRef | M | ) |
LLVMValueRef LLVMGetNamedGlobal | ( | LLVMModuleRef | M, |
const char * | Name | ||
) |
Definition at line 2213 of file Core.cpp.
References Name, unwrap(), and llvm::wrap().
LLVMValueRef LLVMGetNamedGlobalWithLength | ( | LLVMModuleRef | M, |
const char * | Name, | ||
size_t | Length | ||
) |
Definition at line 2217 of file Core.cpp.
References llvm::Length, Name, unwrap(), and llvm::wrap().
LLVMValueRef LLVMGetNextGlobal | ( | LLVMValueRef | GlobalVar | ) |
Definition at line 2238 of file Core.cpp.
References llvm::GlobalValue::getParent(), llvm::Module::global_end(), I, and llvm::wrap().
LLVMValueRef LLVMGetPreviousGlobal | ( | LLVMValueRef | GlobalVar | ) |
Definition at line 2246 of file Core.cpp.
References llvm::GlobalValue::getParent(), llvm::Module::global_begin(), I, and llvm::wrap().
LLVMThreadLocalMode LLVMGetThreadLocalMode | ( | LLVMValueRef | GlobalVar | ) |
Definition at line 2286 of file Core.cpp.
References llvm_unreachable, LLVMGeneralDynamicTLSModel, LLVMInitialExecTLSModel, LLVMLocalDynamicTLSModel, LLVMLocalExecTLSModel, and LLVMNotThreadLocal.
LLVMBool LLVMIsExternallyInitialized | ( | LLVMValueRef | GlobalVar | ) |
LLVMBool LLVMIsGlobalConstant | ( | LLVMValueRef | GlobalVar | ) |
LLVMBool LLVMIsThreadLocal | ( | LLVMValueRef | GlobalVar | ) |
void LLVMSetExternallyInitialized | ( | LLVMValueRef | GlobalVar, |
LLVMBool | IsExtInit | ||
) |
void LLVMSetGlobalConstant | ( | LLVMValueRef | GlobalVar, |
LLVMBool | IsConstant | ||
) |
void LLVMSetInitializer | ( | LLVMValueRef | GlobalVar, |
LLVMValueRef | ConstantVal | ||
) |
void LLVMSetThreadLocal | ( | LLVMValueRef | GlobalVar, |
LLVMBool | IsThreadLocal | ||
) |
void LLVMSetThreadLocalMode | ( | LLVMValueRef | GlobalVar, |
LLVMThreadLocalMode | Mode | ||
) |
Definition at line 2303 of file Core.cpp.
References LLVMGeneralDynamicTLSModel, LLVMInitialExecTLSModel, LLVMLocalDynamicTLSModel, LLVMLocalExecTLSModel, LLVMNotThreadLocal, and llvm::GlobalValue::setThreadLocalMode().