 | ContextCreateConstant 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
Syntaxpublic 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:
ConstantConstant for the specified value
See Also