Table of Contents

Class ConstantInt

Namespace
Ubiquity.NET.Llvm.Values
Assembly
Ubiquity.NET.Llvm.dll

Represents an arbitrary bit width integer constant in LLVM

public sealed class ConstantInt : ConstantData, IEquatable<Value>
Inheritance
ConstantInt
Implements
Inherited Members
Extension Methods

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