C# Class ILGPU.IR.Types.IRTypeContextExtensions

Extension methods for IIRTypeContext instances.
Show file Open project: m4rs-mt/ILGPU

Public Methods

Method Description
CreateEmptyStructureType ( typeContext ) : ILGPU.IR.Types.TypeNode

Creates an empty structure type.

CreateStructureType ( typeContext ) : StructureType.Builder

Creates a new structure type builder with an initial capacity.

Method Details

CreateEmptyStructureType() public static method

Creates an empty structure type.
public static CreateEmptyStructureType ( typeContext ) : ILGPU.IR.Types.TypeNode
typeContext The type context.
return ILGPU.IR.Types.TypeNode

CreateStructureType() public static method

Creates a new structure type builder with an initial capacity.
public static CreateStructureType ( typeContext ) : StructureType.Builder
typeContext The type context.
return StructureType.Builder