Click or drag to resize
Llvm.NET LogoInstructionBuilderIntToPointer Method

[This is preliminary documentation and is subject to change.]

Builds a cast from an integer to a pointer

Namespace:  Llvm.NET.Instructions
Assembly:  Llvm.NET (in Llvm.NET.dll) Version: 3.8.6158
Syntax
C#
public Value IntToPointer(
	Value intValue,
	IPointerType ptrType
)

Parameters

intValue
Type: Llvm.NET.ValuesValue
Integer value to cast
ptrType
Type: Llvm.NET.TypesIPointerType
pointer type to return

Return Value

Type: 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.
See Also