Class GenericValue
LLVM JIT discriminated union for a generic primitive value
Inheritance
GenericValue
Namespace: Llvm.NET.JIT
Assembly: Llvm.NET.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 |