Table of Contents

Class IrUnaryOp

Namespace
Xui.GPU.IR
Assembly
Xui.Core.dll

Represents a unary operation.

public class IrUnaryOp : IrExpression
Inheritance
IrUnaryOp
Inherited Members

Constructors

IrUnaryOp(UnaryOperator, IrExpression, IrType)

Initializes a new instance of the IrUnaryOp class.

public IrUnaryOp(UnaryOperator op, IrExpression operand, IrType type)

Parameters

op UnaryOperator
operand IrExpression
type IrType

Properties

Kind

Gets the node kind for this unary operation.

public override IrNodeKind Kind { get; }

Property Value

IrNodeKind

Operand

Gets the operand of the unary operation.

public IrExpression Operand { get; }

Property Value

IrExpression

Operator

Gets the unary operator.

public UnaryOperator Operator { get; }

Property Value

UnaryOperator

Type

Gets the result type of the unary operation.

public override IrType Type { get; }

Property Value

IrType