Table of Contents

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 Value

Integer value to cast

ptrType IPointerType

pointer 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.