Click or drag to resize
Llvm.NET LogoGlobalVariable Class

[This is preliminary documentation and is subject to change.]

An LLVM Global Variable
Inheritance Hierarchy

Namespace:  Llvm.NET.Values
Assembly:  Llvm.NET (in Llvm.NET.dll) Version: 3.8.6158
Syntax
C#
public class GlobalVariable : GlobalObject

The GlobalVariable type exposes the following members.

Properties
  NameDescription
Public propertyAlignment
Alignment requirements for this object
(Inherited from GlobalObject.)
Public propertyContext (Inherited from Value.)
Public propertyInitializer
Initial value for the variable
Public propertyIsConstant
Gets or sets if this global is a Constant
Public propertyIsDeclaration
Flag to indicate if this is a declaration
(Inherited from GlobalValue.)
Public propertyIsExternallyInitialized
Flag to indicate if this variable is initialized in an external module
Public propertyIsNull
Determines if the Value represents the NULL value for the values type
(Inherited from Value.)
Public propertyIsThreadLocal
Flag to indicate if this global is stored per thread
Public propertyIsUndefined
Indicates if this value is Undefined
(Inherited from Value.)
Public propertyIsZeroValue
Indicates if the constant is a Zero value for the its type
(Inherited from Constant.)
Public propertyLinkage
Linkage specification for this symbol
(Inherited from GlobalValue.)
Public propertyName
Name of the value (if any)
(Inherited from Value.)
Public propertyNativeType
Type of the value
(Inherited from Value.)
Public propertyOperands
Collection of operands
(Inherited from User.)
Public propertyParentModule
Module containing this global value
(Inherited from GlobalValue.)
Public propertySection
Linker section this object belongs to
(Inherited from GlobalObject.)
Public propertyUnnamedAddress
Flag to indicate if this is an Unnamed address
(Inherited from GlobalValue.)
Public propertyUses
Enumerable collection of Uses
(Inherited from User.)
Public propertyVisibility
Visibility of this global value
(Inherited from GlobalValue.)
Top
Methods
  NameDescription
Public methodAddExtendedPropertyValue
Adds a value to the container
(Inherited from Value.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveFromParent
Removes the value from its parent module, but does not delete it
Public methodReplaceAllUsesWith
Replace all uses of a Value with another one
(Inherited from Value.)
Public methodToString
Generates a string representing the LLVM syntax of the value
(Inherited from Value.)
Public methodTryGetExtendedPropertyValueT
Try to get a value from the container
(Inherited from Value.)
Top
See Also