Click or drag to resize
Llvm.NET LogoConstantInt Class

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

Represents an arbitrary bit width integer constant in LLVM
Inheritance Hierarchy

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

The ConstantInt type exposes the following members.

Properties
  NameDescription
Public propertyContext (Inherited from Value.)
Public propertyIsNull
Determines if the Value represents the NULL value for the values type
(Inherited from Value.)
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 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 propertySignExtendedValue
Sign extends the value to a 64 bit value
Public propertyUses
Enumerable collection of Uses
(Inherited from User.)
Public propertyZeroExtendedValue
Retrieves the value of the constant zero extended to 64 bits
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 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
Remarks
Note - for integers, in LLVM, signed or unsigned is not part of the type of the integer. The distinction between them is determined entirely by the instructions used on the integer values.
See Also