 | Context.CreateConstant Method (UInt32, UInt64, Boolean) |
[This is preliminary documentation and is subject to change.]
Namespace:
Llvm.NET
Assembly:
Llvm.NET (in Llvm.NET.dll) Version: 3.8.6158
Syntaxpublic Constant CreateConstant(
uint bitWidth,
ulong constValue,
bool signExtend
)
Parameters
- bitWidth
- Type: System.UInt32
Bit width of the integer - constValue
- Type: System.UInt64
Value for the constant - signExtend
- Type: System.Boolean
flag to indicate if the const value should be sign extended
Return Value
Type:
ConstantConstantInt representing the value
See Also