Click or drag to resize
Llvm.NET LogoConstant Class

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

Contains an LLVM Constant value
Inheritance Hierarchy

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

The Constant 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
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 propertyUses
Enumerable collection of Uses
(Inherited from User.)
Top
Methods
  NameDescription
Public methodAddExtendedPropertyValue
Adds a value to the container
(Inherited from Value.)
Public methodStatic memberAllOnesValueFor
Creates a constant instance of typeRef with all bits in the instance set to 1
Public methodStatic memberConstPointerToNullFor
Create a constant NULL pointer for a given type
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 methodStatic memberNullValueFor
Create a NULL pointer for a given type
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.)
Public methodStatic memberUndefinedValueFor
Creates an Constant representing an undefined value for typeRef
Top
See Also
Inheritance Hierarchy
SystemObject
  Llvm.NET.ValuesValue
    Llvm.NET.ValuesUser
      Llvm.NET.ValuesConstant
        Llvm.NET.ValuesBlockAddress
        Llvm.NET.ValuesConstantAggregateZero
        Llvm.NET.ValuesConstantArray
        Llvm.NET.ValuesConstantDataSequential
        Llvm.NET.ValuesConstantExpression
        Llvm.NET.ValuesConstantFP
        Llvm.NET.ValuesConstantInt
        Llvm.NET.ValuesConstantPointerNull
        Llvm.NET.ValuesConstantStruct
        Llvm.NET.ValuesConstantTokenNone
        Llvm.NET.ValuesConstantVector
        Llvm.NET.ValuesGlobalValue
        Llvm.NET.ValuesUndefValue