LLVM 17.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 2095 of file Core.cpp.
References llvm::GlobalValue::ExternalLinkage, Name, llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMAddGlobalInAddressSpace | ( | LLVMModuleRef | M, |
LLVMTypeRef | Ty, | ||
const char * | Name, | ||
unsigned | AddressSpace | ||
) |
Definition at line 2100 of file Core.cpp.
References llvm::GlobalValue::ExternalLinkage, Name, llvm::unwrap(), and llvm::wrap().
void LLVMDeleteGlobal | ( | LLVMValueRef | GlobalVar | ) |
LLVMValueRef LLVMGetFirstGlobal | ( | LLVMModuleRef | M | ) |
Definition at line 2113 of file Core.cpp.
References llvm::Module::global_begin(), llvm::Module::global_end(), I, Mod, llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMGetInitializer | ( | LLVMValueRef | GlobalVar | ) |
Definition at line 2149 of file Core.cpp.
References llvm::GlobalVariable::getInitializer(), llvm::GlobalVariable::hasInitializer(), and llvm::wrap().
LLVMValueRef LLVMGetLastGlobal | ( | LLVMModuleRef | M | ) |
Definition at line 2121 of file Core.cpp.
References llvm::Module::global_begin(), llvm::Module::global_end(), I, Mod, llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMGetNamedGlobal | ( | LLVMModuleRef | M, |
const char * | Name | ||
) |
Definition at line 2109 of file Core.cpp.
References Name, llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMGetNextGlobal | ( | LLVMValueRef | GlobalVar | ) |
Definition at line 2129 of file Core.cpp.
References llvm::GlobalValue::getParent(), llvm::Module::global_end(), I, and llvm::wrap().
LLVMValueRef LLVMGetPreviousGlobal | ( | LLVMValueRef | GlobalVar | ) |
Definition at line 2137 of file Core.cpp.
References llvm::GlobalValue::getParent(), llvm::Module::global_begin(), I, and llvm::wrap().
LLVMThreadLocalMode LLVMGetThreadLocalMode | ( | LLVMValueRef | GlobalVar | ) |
Definition at line 2177 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 2194 of file Core.cpp.
References LLVMGeneralDynamicTLSModel, LLVMInitialExecTLSModel, LLVMLocalDynamicTLSModel, LLVMLocalExecTLSModel, LLVMNotThreadLocal, and llvm::GlobalValue::setThreadLocalMode().