ILGPU  0.9.0
ILGPU.IR.Rewriting.IRewriterContextProvider< TContext, T > Interface Template Reference

Provides rewriter context instances. More...

Public Member Functions

TContext CreateContext (BasicBlock.Builder builder, HashSet< Value > converted, T data)
 Creates a new rewriter context. More...
 

Detailed Description

Provides rewriter context instances.

Template Parameters
TContextThe context instance type.
TThe custom data type.
Type Constraints
TContext :struct 
TContext :IRewriterContext 

Member Function Documentation

TContext ILGPU.IR.Rewriting.IRewriterContextProvider< TContext, T >.CreateContext ( BasicBlock.Builder  builder,
HashSet< Value converted,
data 
)

Creates a new rewriter context.

Parameters
builderThe current block builder.
convertedThe set of converted values.
dataThe user defined data instance.
Returns
The created rewriter context.

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