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

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

Create a constant value of the specified integer type

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

Parameters

intType
Type: Llvm.NET.TypesITypeRef
Integer type
constValue
Type: SystemUInt64
value
signExtend
Type: SystemBoolean
flag to indicate if constValue is sign extended

Return Value

Type: Constant
Constant for the specified value
See Also