Click or drag to resize
Llvm.NET LogoContextCreateConstant Method (UInt32, UInt64, Boolean)

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

Creates a new ConstantInt with a bit length of 64

Namespace:  Llvm.NET
Assembly:  Llvm.NET (in Llvm.NET.dll) Version: 3.8.6158
Syntax
C#
public Constant CreateConstant(
	uint bitWidth,
	ulong constValue,
	bool signExtend
)

Parameters

bitWidth
Type: SystemUInt32
Bit width of the integer
constValue
Type: SystemUInt64
Value for the constant
signExtend
Type: SystemBoolean
flag to indicate if the const value should be sign extended

Return Value

Type: Constant
ConstantInt representing the value
See Also