Class ConstantInt
Represents an arbitrary bit width integer constant in LLVM
Namespace: Ubiquity.NET.Llvm.Values
Assembly: Ubiquity.NET.Llvm.dll
Syntax
public sealed class ConstantInt : ConstantData, IExtensiblePropertyContainer, IOperandContainer<Value>
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.
Properties
BitWidth | Gets the number of bits in this integer constant |
SignExtendedValue | Gets the value of the constant sign extended to a 64 bit value |
ZeroExtendedValue | Gets the value of the constant zero extended to a 64 bit value |