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