|
LLVM 23.0.0git
|
This group contains function that operate on global alias values. More...
Functions | |
| LLVM_C_ABI LLVMValueRef | LLVMAddAlias2 (LLVMModuleRef M, LLVMTypeRef ValueTy, unsigned AddrSpace, LLVMValueRef Aliasee, const char *Name) |
| Add a GlobalAlias with the given value type, address space and aliasee. | |
| LLVM_C_ABI LLVMValueRef | LLVMGetNamedGlobalAlias (LLVMModuleRef M, const char *Name, size_t NameLen) |
| Obtain a GlobalAlias value from a Module by its name. | |
| LLVM_C_ABI LLVMValueRef | LLVMGetFirstGlobalAlias (LLVMModuleRef M) |
| Obtain an iterator to the first GlobalAlias in a Module. | |
| LLVM_C_ABI LLVMValueRef | LLVMGetLastGlobalAlias (LLVMModuleRef M) |
| Obtain an iterator to the last GlobalAlias in a Module. | |
| LLVM_C_ABI LLVMValueRef | LLVMGetNextGlobalAlias (LLVMValueRef GA) |
| Advance a GlobalAlias iterator to the next GlobalAlias. | |
| LLVM_C_ABI LLVMValueRef | LLVMGetPreviousGlobalAlias (LLVMValueRef GA) |
| Decrement a GlobalAlias iterator to the previous GlobalAlias. | |
| LLVM_C_ABI LLVMValueRef | LLVMAliasGetAliasee (LLVMValueRef Alias) |
| Retrieve the target value of an alias. | |
| LLVM_C_ABI void | LLVMAliasSetAliasee (LLVMValueRef Alias, LLVMValueRef Aliasee) |
| Set the target value of an alias. | |
This group contains function that operate on global alias values.
| LLVM_C_ABI LLVMValueRef LLVMAddAlias2 | ( | LLVMModuleRef | M, |
| LLVMTypeRef | ValueTy, | ||
| unsigned | AddrSpace, | ||
| LLVMValueRef | Aliasee, | ||
| const char * | Name ) |
Add a GlobalAlias with the given value type, address space and aliasee.
Definition at line 2428 of file Core.cpp.
References llvm::GlobalAlias::create(), llvm::GlobalValue::ExternalLinkage, llvm::unwrap(), and llvm::wrap().
Referenced by LLVM_ATTRIBUTE_C_DEPRECATED().
| LLVM_C_ABI LLVMValueRef LLVMAliasGetAliasee | ( | LLVMValueRef | Alias | ) |
Retrieve the target value of an alias.
Definition at line 2473 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
Referenced by LLVM_ATTRIBUTE_C_DEPRECATED().
| LLVM_C_ABI void LLVMAliasSetAliasee | ( | LLVMValueRef | Alias, |
| LLVMValueRef | Aliasee ) |
Set the target value of an alias.
Definition at line 2477 of file Core.cpp.
References llvm::unwrap().
Referenced by LLVM_ATTRIBUTE_C_DEPRECATED().
| LLVM_C_ABI LLVMValueRef LLVMGetFirstGlobalAlias | ( | LLVMModuleRef | M | ) |
Obtain an iterator to the first GlobalAlias in a Module.
Definition at line 2441 of file Core.cpp.
References I, Mod, llvm::unwrap(), and llvm::wrap().
Referenced by LLVM_ATTRIBUTE_C_DEPRECATED().
| LLVM_C_ABI LLVMValueRef LLVMGetLastGlobalAlias | ( | LLVMModuleRef | M | ) |
Obtain an iterator to the last GlobalAlias in a Module.
Definition at line 2449 of file Core.cpp.
References I, Mod, llvm::unwrap(), and llvm::wrap().
Referenced by LLVM_ATTRIBUTE_C_DEPRECATED().
| LLVM_C_ABI 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 2436 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
Referenced by LLVM_ATTRIBUTE_C_DEPRECATED().
| LLVM_C_ABI 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 2457 of file Core.cpp.
References llvm::Module::alias_end(), llvm::GlobalValue::getParent(), I, llvm::unwrap(), and llvm::wrap().
Referenced by LLVM_ATTRIBUTE_C_DEPRECATED().
| LLVM_C_ABI 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 2465 of file Core.cpp.
References llvm::Module::alias_begin(), llvm::GlobalValue::getParent(), I, llvm::unwrap(), and llvm::wrap().
Referenced by LLVM_ATTRIBUTE_C_DEPRECATED().