Project Alice
Loading...
Searching...
No Matches
Collaboration diagram for Global Aliases:

Functions

LLVMValueRef LLVMAddAlias2 (LLVMModuleRef M, LLVMTypeRef ValueTy, unsigned AddrSpace, LLVMValueRef Aliasee, const char *Name)
 
LLVMValueRef LLVMGetNamedGlobalAlias (LLVMModuleRef M, const char *Name, size_t NameLen)
 
LLVMValueRef LLVMGetFirstGlobalAlias (LLVMModuleRef M)
 
LLVMValueRef LLVMGetLastGlobalAlias (LLVMModuleRef M)
 
LLVMValueRef LLVMGetNextGlobalAlias (LLVMValueRef GA)
 
LLVMValueRef LLVMGetPreviousGlobalAlias (LLVMValueRef GA)
 
LLVMValueRef LLVMAliasGetAliasee (LLVMValueRef Alias)
 
void LLVMAliasSetAliasee (LLVMValueRef Alias, LLVMValueRef Aliasee)
 

Detailed Description

This group contains function that operate on global alias values.

See also
llvm::GlobalAlias

Function Documentation

◆ LLVMAddAlias2()

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.

See also
llvm::GlobalAlias::create()

◆ LLVMAliasGetAliasee()

LLVMValueRef LLVMAliasGetAliasee ( LLVMValueRef  Alias)

Retrieve the target value of an alias.

◆ LLVMAliasSetAliasee()

void LLVMAliasSetAliasee ( LLVMValueRef  Alias,
LLVMValueRef  Aliasee 
)

Set the target value of an alias.

◆ LLVMGetFirstGlobalAlias()

LLVMValueRef LLVMGetFirstGlobalAlias ( LLVMModuleRef  M)

Obtain an iterator to the first GlobalAlias in a Module.

See also
llvm::Module::alias_begin()

◆ LLVMGetLastGlobalAlias()

LLVMValueRef LLVMGetLastGlobalAlias ( LLVMModuleRef  M)

Obtain an iterator to the last GlobalAlias in a Module.

See also
llvm::Module::alias_end()

◆ LLVMGetNamedGlobalAlias()

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.

See also
llvm::Module::getNamedAlias()

◆ LLVMGetNextGlobalAlias()

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.

◆ LLVMGetPreviousGlobalAlias()

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.