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 2081 of file Core.cpp.
References llvm::GlobalValue::ExternalLinkage, M, llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMAddGlobalInAddressSpace | ( | LLVMModuleRef | M, |
LLVMTypeRef | Ty, | ||
const char * | Name, | ||
unsigned | AddressSpace | ||
) |
Definition at line 2086 of file Core.cpp.
References llvm::GlobalValue::ExternalLinkage, M, llvm::GlobalValue::NotThreadLocal, llvm::unwrap(), and llvm::wrap().
void LLVMDeleteGlobal | ( | LLVMValueRef | GlobalVar | ) |
Definition at line 2131 of file Core.cpp.
References llvm::lltok::GlobalVar.
LLVMValueRef LLVMGetFirstGlobal | ( | LLVMModuleRef | M | ) |
Definition at line 2099 of file Core.cpp.
References llvm::Module::global_begin(), llvm::Module::global_end(), I, M, Mod, llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMGetInitializer | ( | LLVMValueRef | GlobalVar | ) |
Definition at line 2135 of file Core.cpp.
References llvm::GlobalVariable::getInitializer(), llvm::lltok::GlobalVar, llvm::GlobalVariable::hasInitializer(), and llvm::wrap().
LLVMValueRef LLVMGetLastGlobal | ( | LLVMModuleRef | M | ) |
Definition at line 2107 of file Core.cpp.
References llvm::Module::global_begin(), llvm::Module::global_end(), I, M, Mod, llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMGetNamedGlobal | ( | LLVMModuleRef | M, |
const char * | Name | ||
) |
Definition at line 2095 of file Core.cpp.
References M, llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMGetNextGlobal | ( | LLVMValueRef | GlobalVar | ) |
Definition at line 2115 of file Core.cpp.
References llvm::GlobalValue::getParent(), llvm::Module::global_end(), llvm::lltok::GlobalVar, I, and llvm::wrap().
LLVMValueRef LLVMGetPreviousGlobal | ( | LLVMValueRef | GlobalVar | ) |
Definition at line 2123 of file Core.cpp.
References llvm::GlobalValue::getParent(), llvm::Module::global_begin(), llvm::lltok::GlobalVar, I, and llvm::wrap().
LLVMThreadLocalMode LLVMGetThreadLocalMode | ( | LLVMValueRef | GlobalVar | ) |
Definition at line 2163 of file Core.cpp.
References llvm::GlobalValue::GeneralDynamicTLSModel, llvm::lltok::GlobalVar, llvm::GlobalValue::InitialExecTLSModel, llvm_unreachable, LLVMGeneralDynamicTLSModel, LLVMInitialExecTLSModel, LLVMLocalDynamicTLSModel, LLVMLocalExecTLSModel, LLVMNotThreadLocal, llvm::GlobalValue::LocalDynamicTLSModel, llvm::GlobalValue::LocalExecTLSModel, and llvm::GlobalValue::NotThreadLocal.
LLVMBool LLVMIsExternallyInitialized | ( | LLVMValueRef | GlobalVar | ) |
Definition at line 2202 of file Core.cpp.
References llvm::lltok::GlobalVar.
LLVMBool LLVMIsGlobalConstant | ( | LLVMValueRef | GlobalVar | ) |
Definition at line 2155 of file Core.cpp.
References llvm::lltok::GlobalVar.
LLVMBool LLVMIsThreadLocal | ( | LLVMValueRef | GlobalVar | ) |
Definition at line 2147 of file Core.cpp.
References llvm::lltok::GlobalVar.
void LLVMSetExternallyInitialized | ( | LLVMValueRef | GlobalVar, |
LLVMBool | IsExtInit | ||
) |
Definition at line 2206 of file Core.cpp.
References llvm::lltok::GlobalVar.
void LLVMSetGlobalConstant | ( | LLVMValueRef | GlobalVar, |
LLVMBool | IsConstant | ||
) |
Definition at line 2159 of file Core.cpp.
References llvm::lltok::GlobalVar.
void LLVMSetInitializer | ( | LLVMValueRef | GlobalVar, |
LLVMValueRef | ConstantVal | ||
) |
Definition at line 2142 of file Core.cpp.
References llvm::lltok::GlobalVar.
void LLVMSetThreadLocal | ( | LLVMValueRef | GlobalVar, |
LLVMBool | IsThreadLocal | ||
) |
Definition at line 2151 of file Core.cpp.
References llvm::lltok::GlobalVar.
void LLVMSetThreadLocalMode | ( | LLVMValueRef | GlobalVar, |
LLVMThreadLocalMode | Mode | ||
) |
Definition at line 2180 of file Core.cpp.
References llvm::GlobalValue::GeneralDynamicTLSModel, llvm::lltok::GlobalVar, llvm::GlobalValue::InitialExecTLSModel, LLVMGeneralDynamicTLSModel, LLVMInitialExecTLSModel, LLVMLocalDynamicTLSModel, LLVMLocalExecTLSModel, LLVMNotThreadLocal, llvm::GlobalValue::LocalDynamicTLSModel, llvm::GlobalValue::LocalExecTLSModel, Mode, llvm::GlobalValue::NotThreadLocal, and llvm::GlobalValue::setThreadLocalMode().