 | ContextCreateConstant 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: 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:
ConstantConstantInt representing the value
See Also