|
LLVM
7.0.0
|
This group contains function that operate on global alias values. More...
Functions | |
| LLVMValueRef | LLVMAddAlias (LLVMModuleRef M, LLVMTypeRef Ty, LLVMValueRef Aliasee, const char *Name) |
| LLVMValueRef | LLVMGetNamedGlobalAlias (LLVMModuleRef M, const char *Name, size_t NameLen) |
| Obtain a GlobalAlias value from a Module by its name. More... | |
| LLVMValueRef | LLVMGetFirstGlobalAlias (LLVMModuleRef M) |
| Obtain an iterator to the first GlobalAlias in a Module. More... | |
| LLVMValueRef | LLVMGetLastGlobalAlias (LLVMModuleRef M) |
| Obtain an iterator to the last GlobalAlias in a Module. More... | |
| LLVMValueRef | LLVMGetNextGlobalAlias (LLVMValueRef GA) |
| Advance a GlobalAlias iterator to the next GlobalAlias. More... | |
| LLVMValueRef | LLVMGetPreviousGlobalAlias (LLVMValueRef GA) |
| Decrement a GlobalAlias iterator to the previous GlobalAlias. More... | |
| LLVMValueRef | LLVMAliasGetAliasee (LLVMValueRef Alias) |
| Retrieve the target value of an alias. More... | |
| void | LLVMAliasSetAliasee (LLVMValueRef Alias, LLVMValueRef Aliasee) |
| Set the target value of an alias. More... | |
This group contains function that operate on global alias values.
| LLVMValueRef LLVMAddAlias | ( | LLVMModuleRef | M, |
| LLVMTypeRef | Ty, | ||
| LLVMValueRef | Aliasee, | ||
| const char * | Name | ||
| ) |
Definition at line 1960 of file Core.cpp.
References llvm::GlobalAlias::create(), llvm::GlobalValue::ExternalLinkage, llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMAliasGetAliasee | ( | LLVMValueRef | Alias | ) |
Retrieve the target value of an alias.
Definition at line 2005 of file Core.cpp.
References llvm::wrap().
| void LLVMAliasSetAliasee | ( | LLVMValueRef | Alias, |
| LLVMValueRef | Aliasee | ||
| ) |
| LLVMValueRef LLVMGetFirstGlobalAlias | ( | LLVMModuleRef | M | ) |
Obtain an iterator to the first GlobalAlias in a Module.
Definition at line 1973 of file Core.cpp.
References llvm::Module::alias_begin(), llvm::Module::alias_end(), I, llvm::Mod, llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMGetLastGlobalAlias | ( | LLVMModuleRef | M | ) |
Obtain an iterator to the last GlobalAlias in a Module.
Definition at line 1981 of file Core.cpp.
References llvm::Module::alias_begin(), llvm::Module::alias_end(), I, llvm::Mod, llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMGetNamedGlobalAlias | ( | LLVMModuleRef | M, |
| const char * | Name, | ||
| size_t | NameLen | ||
| ) |
Obtain a GlobalAlias value from a Module by its name.
The returned value corresponds to a llvm::GlobalAlias value.
Definition at line 1968 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMGetNextGlobalAlias | ( | LLVMValueRef | GA | ) |
Advance a GlobalAlias iterator to the next GlobalAlias.
Returns NULL if the iterator was already at the end and there are no more global aliases.
Definition at line 1989 of file Core.cpp.
References llvm::Module::alias_end(), llvm::GlobalValue::getParent(), I, and llvm::wrap().
| LLVMValueRef LLVMGetPreviousGlobalAlias | ( | LLVMValueRef | GA | ) |
Decrement a GlobalAlias iterator to the previous GlobalAlias.
Returns NULL if the iterator was already at the beginning and there are no previous global aliases.
Definition at line 1997 of file Core.cpp.
References llvm::Module::alias_begin(), llvm::GlobalValue::getParent(), I, and llvm::wrap().
1.8.13