Class GenericValue
LLVM JIT discriminated union for a generic primitive value
Inheritance
GenericValue
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Ubiquity.NET.Llvm.JIT
Assembly: Ubiquity.NET.Llvm.dll
Syntax
public sealed class GenericValue
Constructors
GenericValue(ITypeRef, Double) | Initializes a new instance of the GenericValue class with a floating point value |
GenericValue(ITypeRef, UInt64, Boolean) | Initializes a new instance of the GenericValue class with an integer value |
Properties
IntegerBitWidth | Gets the bit width of the integer value |
ToInt32 | Gets the value as an Int32 |
ToUInt32 | Gets the value as an UInt32 |
Methods
ToDouble(Context) | Gets the value as a Double |
ToFloat(Context) | Gets the value as a Single |