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 2197 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 2202 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 2256 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 2211 of file Core.cpp.
References Name, unwrap(), and llvm::wrap().
LLVMValueRef LLVMGetNamedGlobalWithLength | ( | LLVMModuleRef | M, |
const char * | Name, | ||
size_t | Length | ||
) |
Definition at line 2215 of file Core.cpp.
References llvm::Length, Name, unwrap(), and llvm::wrap().
LLVMValueRef LLVMGetNextGlobal | ( | LLVMValueRef | GlobalVar | ) |
Definition at line 2236 of file Core.cpp.
References llvm::GlobalValue::getParent(), llvm::Module::global_end(), I, and llvm::wrap().
LLVMValueRef LLVMGetPreviousGlobal | ( | LLVMValueRef | GlobalVar | ) |
Definition at line 2244 of file Core.cpp.
References llvm::GlobalValue::getParent(), llvm::Module::global_begin(), I, and llvm::wrap().
LLVMThreadLocalMode LLVMGetThreadLocalMode | ( | LLVMValueRef | GlobalVar | ) |
Definition at line 2284 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 2301 of file Core.cpp.
References LLVMGeneralDynamicTLSModel, LLVMInitialExecTLSModel, LLVMLocalDynamicTLSModel, LLVMLocalExecTLSModel, LLVMNotThreadLocal, and llvm::GlobalValue::setThreadLocalMode().