| GlobalVariable Class |
[This is preliminary documentation and is subject to change.]
Namespace: Llvm.NET.Values
public class GlobalVariable : GlobalObject
The GlobalVariable type exposes the following members.
| Name | Description | |
|---|---|---|
| Alignment | Alignment requirements for this object (Inherited from GlobalObject.) | |
| Context | (Inherited from Value.) | |
| Initializer | Initial value for the variable | |
| IsConstant | Gets or sets if this global is a Constant | |
| IsDeclaration | Flag to indicate if this is a declaration (Inherited from GlobalValue.) | |
| IsExternallyInitialized | Flag to indicate if this variable is initialized in an external module | |
| IsNull | Determines if the Value represents the NULL value for the values type (Inherited from Value.) | |
| IsThreadLocal | Flag to indicate if this global is stored per thread | |
| IsUndefined | Indicates if this value is Undefined (Inherited from Value.) | |
| IsZeroValue | Indicates if the constant is a Zero value for the its type (Inherited from Constant.) | |
| Linkage | Linkage specification for this symbol (Inherited from GlobalValue.) | |
| Name | Name of the value (if any) (Inherited from Value.) | |
| NativeType | Type of the value (Inherited from Value.) | |
| Operands | Collection of operands (Inherited from User.) | |
| ParentModule | Module containing this global value (Inherited from GlobalValue.) | |
| Section | Linker section this object belongs to (Inherited from GlobalObject.) | |
| UnnamedAddress | Flag to indicate if this is an Unnamed address (Inherited from GlobalValue.) | |
| Uses | Enumerable collection of Uses (Inherited from User.) | |
| Visibility | Visibility of this global value (Inherited from GlobalValue.) |
| Name | Description | |
|---|---|---|
| AddExtendedPropertyValue | Adds a value to the container (Inherited from Value.) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| RemoveFromParent | Removes the value from its parent module, but does not delete it | |
| ReplaceAllUsesWith | Replace all uses of a Value with another one (Inherited from Value.) | |
| ToString | Generates a string representing the LLVM syntax of the value (Inherited from Value.) | |
| TryGetExtendedPropertyValueT | Try to get a value from the container (Inherited from Value.) |