Table of Contents

Method IntCast

Namespace
Ubiquity.NET.Llvm.Instructions
Assembly
Ubiquity.NET.Llvm.dll

IntCast(Value, ITypeRef, bool)

Creates an integer cast instruction

public Value IntCast(Value valueRef, ITypeRef targetType, bool isSigned)

Parameters

valueRef Value

Operand for the instruction

targetType ITypeRef

Target type for the instruction

isSigned bool

Flag to indicate if the cast is signed or unsigned

Returns

Value

Result Value