public interface GlobalVariable extends GlobalObject
GlobalValue.Library, GlobalValue.LinkageTypes, GlobalValue.VisibilityTypes| Modifier and Type | Method and Description |
|---|---|
static GlobalVariable |
cast(Value value) |
static GlobalVariable |
dyn_cast(Value value) |
Constant |
getInitializer() |
boolean |
hasInitializer() |
static boolean |
isa(Value value) |
boolean |
isConstant() |
getLinkage, getType, getValueType, getVisibility, hasAtLeastLocalUnnamedAddr, hasDefaultVisibility, hasExactDefinition, hasExternalLinkage, isDeclaration, toJavaStringgetNumOperands, getOperandgetName, getNameOriginal, getTypeOriginal, getValueID, useEmptyisNullstatic boolean isa(Value value)
isa in interface Constantisa in interface GlobalObjectisa in interface GlobalValueisa in interface Userstatic GlobalVariable cast(Value value)
cast in interface Constantcast in interface GlobalObjectcast in interface GlobalValuecast in interface Userstatic GlobalVariable dyn_cast(Value value)
dyn_cast in interface Constantdyn_cast in interface GlobalObjectdyn_cast in interface GlobalValuedyn_cast in interface Userboolean hasInitializer()
Constant getInitializer()
boolean isConstant()
Copyright © 2022 Alibaba Group Holding Ltd.. All rights reserved.