ILGPU  0.9.0
ILGPU.IR.Types.ITypeConverter< TType > Interface Template Reference

An abstract type converter to convert specific types. More...

Public Member Functions

TypeNode ConvertType< TTypeContext > (TTypeContext typeContext, TType type)
 Converts the given type node. More...
 
int GetNumFields (TType type)
 Resolves the number of element fields per type instance. More...
 

Detailed Description

An abstract type converter to convert specific types.

Template Parameters
TTypeThe type to convert.
Type Constraints
TType :TypeNode 

Member Function Documentation

TypeNode ILGPU.IR.Types.ITypeConverter< TType >.ConvertType< TTypeContext > ( TTypeContext  typeContext,
TType  type 
)

Converts the given type node.

Template Parameters
TTypeContextThe type converter to use.
Parameters
typeContextThe type converter instance to use.
typeThe type to convert.
Returns
The converted type.
Type Constraints
TTypeContext :IIRTypeContext 
int ILGPU.IR.Types.ITypeConverter< TType >.GetNumFields ( TType  type)

Resolves the number of element fields per type instance.

Parameters
typeThe parent type.

The documentation for this interface was generated from the following file: