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 2188 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 2193 of file Core.cpp.
References llvm::GlobalValue::ExternalLinkage, Name, unwrap(), and llvm::wrap().
void LLVMDeleteGlobal | ( | LLVMValueRef | GlobalVar | ) |
LLVMValueRef LLVMGetFirstGlobal | ( | LLVMModuleRef | M | ) |
Definition at line 2206 of file Core.cpp.
References llvm::Module::global_begin(), llvm::Module::global_end(), I, Mod, unwrap(), and llvm::wrap().
LLVMValueRef LLVMGetInitializer | ( | LLVMValueRef | GlobalVar | ) |
Definition at line 2242 of file Core.cpp.
References llvm::GlobalVariable::getInitializer(), llvm::GlobalVariable::hasInitializer(), and llvm::wrap().
LLVMValueRef LLVMGetLastGlobal | ( | LLVMModuleRef | M | ) |
Definition at line 2214 of file Core.cpp.
References llvm::Module::global_begin(), llvm::Module::global_end(), I, Mod, unwrap(), and llvm::wrap().
LLVMValueRef LLVMGetNamedGlobal | ( | LLVMModuleRef | M, |
const char * | Name | ||
) |
Definition at line 2202 of file Core.cpp.
References Name, unwrap(), and llvm::wrap().
LLVMValueRef LLVMGetNextGlobal | ( | LLVMValueRef | GlobalVar | ) |
Definition at line 2222 of file Core.cpp.
References llvm::GlobalValue::getParent(), llvm::Module::global_end(), I, and llvm::wrap().
LLVMValueRef LLVMGetPreviousGlobal | ( | LLVMValueRef | GlobalVar | ) |
Definition at line 2230 of file Core.cpp.
References llvm::GlobalValue::getParent(), llvm::Module::global_begin(), I, and llvm::wrap().
LLVMThreadLocalMode LLVMGetThreadLocalMode | ( | LLVMValueRef | GlobalVar | ) |
Definition at line 2270 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 2287 of file Core.cpp.
References LLVMGeneralDynamicTLSModel, LLVMInitialExecTLSModel, LLVMLocalDynamicTLSModel, LLVMLocalExecTLSModel, LLVMNotThreadLocal, and llvm::GlobalValue::setThreadLocalMode().