class GlobalAlias

Declaration

class GlobalAlias : public GlobalIndirectSymbol { /* full declaration omitted */ };

Declared at: llvm/include/llvm/IR/GlobalAlias.h:27

Inherits from: GlobalIndirectSymbol

Member Variables

Inherited from GlobalValue:

protected ValueType
protected Linkage
protected Visibility
protected UnnamedAddrVal
protected DllStorageClass
protected ThreadLocal
protected HasLLVMReservedName
protected IsDSOLocal
protected HasPartition
protected IntID
protected Parent
protected static GlobalValueSubClassDataBits = 16

Inherited from Value:

protected SubclassOptionalData
protected NumUserOperands
protected IsUsedByMD
protected HasName
protected HasHungOffUses
protected HasDescriptor
public static MaxAlignmentExponent = 29
public static MaximumAlignment = 1U << MaxAlignmentExponent

Method Overview

  • public GlobalAlias(const llvm::GlobalAlias &)
  • public static bool classof(const llvm::Value * V)
  • public static llvm::GlobalAlias * create(llvm::Type * Ty, unsigned int AddressSpace, llvm::GlobalValue::LinkageTypes Linkage, const llvm::Twine & Name, llvm::Constant * Aliasee, llvm::Module * Parent)
  • public static llvm::GlobalAlias * create(llvm::Type * Ty, unsigned int AddressSpace, llvm::GlobalValue::LinkageTypes Linkage, const llvm::Twine & Name, llvm::Module * Parent)
  • public static llvm::GlobalAlias * create(llvm::Type * Ty, unsigned int AddressSpace, llvm::GlobalValue::LinkageTypes Linkage, const llvm::Twine & Name, llvm::GlobalValue * Aliasee)
  • public static llvm::GlobalAlias * create(llvm::GlobalValue::LinkageTypes Linkage, const llvm::Twine & Name, llvm::GlobalValue * Aliasee)
  • public static llvm::GlobalAlias * create(const llvm::Twine & Name, llvm::GlobalValue * Aliasee)
  • public void eraseFromParent()
  • public const llvm::Constant * getAliasee() const
  • public llvm::Constant * getAliasee()
  • public static bool isValidLinkage(llvm::GlobalValue::LinkageTypes L)
  • public void removeFromParent()
  • public void setAliasee(llvm::Constant * Aliasee)

Inherited from GlobalIndirectSymbol:

Inherited from GlobalValue:

Inherited from Constant:

Inherited from User:

Inherited from Value:

Methods

GlobalAlias(const llvm::GlobalAlias&)

Declared at: llvm/include/llvm/IR/GlobalAlias.h:35

Parameters

const llvm::GlobalAlias&

static bool classof(const llvm::Value* V)

Declared at: llvm/include/llvm/IR/GlobalAlias.h:86

Parameters

const llvm::Value* V

static llvm::GlobalAlias* create(
    llvm::Type* Ty,
    unsigned int AddressSpace,
    llvm::GlobalValue::LinkageTypes Linkage,
    const llvm::Twine& Name,
    llvm::Constant* Aliasee,
    llvm::Module* Parent)

Description

If a parent module is specified, the alias is automatically inserted into the end of the specified module's alias list.

Declared at: llvm/include/llvm/IR/GlobalAlias.h:40

Parameters

llvm::Type* Ty
unsigned int AddressSpace
llvm::GlobalValue::LinkageTypes Linkage
const llvm::Twine& Name
llvm::Constant* Aliasee
llvm::Module* Parent

static llvm::GlobalAlias* create(
    llvm::Type* Ty,
    unsigned int AddressSpace,
    llvm::GlobalValue::LinkageTypes Linkage,
    const llvm::Twine& Name,
    llvm::Module* Parent)

Declared at: llvm/include/llvm/IR/GlobalAlias.h:45

Parameters

llvm::Type* Ty
unsigned int AddressSpace
llvm::GlobalValue::LinkageTypes Linkage
const llvm::Twine& Name
llvm::Module* Parent

static llvm::GlobalAlias* create(
    llvm::Type* Ty,
    unsigned int AddressSpace,
    llvm::GlobalValue::LinkageTypes Linkage,
    const llvm::Twine& Name,
    llvm::GlobalValue* Aliasee)

Declared at: llvm/include/llvm/IR/GlobalAlias.h:50

Parameters

llvm::Type* Ty
unsigned int AddressSpace
llvm::GlobalValue::LinkageTypes Linkage
const llvm::Twine& Name
llvm::GlobalValue* Aliasee

static llvm::GlobalAlias* create(
    llvm::GlobalValue::LinkageTypes Linkage,
    const llvm::Twine& Name,
    llvm::GlobalValue* Aliasee)

Declared at: llvm/include/llvm/IR/GlobalAlias.h:55

Parameters

llvm::GlobalValue::LinkageTypes Linkage
const llvm::Twine& Name
llvm::GlobalValue* Aliasee

static llvm::GlobalAlias* create(
    const llvm::Twine& Name,
    llvm::GlobalValue* Aliasee)

Declared at: llvm/include/llvm/IR/GlobalAlias.h:59

Parameters

const llvm::Twine& Name
llvm::GlobalValue* Aliasee

void eraseFromParent()

Description

eraseFromParent - This method unlinks 'this' from the containing module and deletes it.

Declared at: llvm/include/llvm/IR/GlobalAlias.h:69

const llvm::Constant* getAliasee() const

Declared at: llvm/include/llvm/IR/GlobalAlias.h:73

llvm::Constant* getAliasee()

Declared at: llvm/include/llvm/IR/GlobalAlias.h:76

static bool isValidLinkage(
    llvm::GlobalValue::LinkageTypes L)

Declared at: llvm/include/llvm/IR/GlobalAlias.h:80

Parameters

llvm::GlobalValue::LinkageTypes L

void removeFromParent()

Description

removeFromParent - This method unlinks 'this' from the containing module, but does not delete it.

Declared at: llvm/include/llvm/IR/GlobalAlias.h:64

void setAliasee(llvm::Constant* Aliasee)

Description

These methods retrieve and set alias target.

Declared at: llvm/include/llvm/IR/GlobalAlias.h:72

Parameters

llvm::Constant* Aliasee