Method IntToPointer
- Namespace
- Ubiquity.NET.Llvm.Instructions
- Assembly
- Ubiquity.NET.Llvm.dll
IntToPointer(Value, IPointerType)
Builds a cast from an integer to a pointer
public Value IntToPointer(Value intValue, IPointerType ptrType)
Parameters
intValue
ValueInteger value to cast
ptrType
IPointerTypepointer type to return
Returns
- Value
Resulting value from the cast
Remarks
The actual type of value returned depends on intValue
and is either a ConstantExpression or an IntToPointer
instruction. Conversion to a constant expression is performed whenever possible.