ILGPU  0.9.0
ILGPU.IR.Analyses.ControlFlowDirection.IControlFlowDirection Interface Reference

Defines a control-flow direction. More...

Inheritance diagram for ILGPU.IR.Analyses.ControlFlowDirection.IControlFlowDirection:
ILGPU.IR.Analyses.ControlFlowDirection.Backwards ILGPU.IR.Analyses.ControlFlowDirection.Forwards

Public Member Functions

BasicBlock GetEntryBlock< TSource, TDirection > (in TSource source)
 Returns the entry block for a given source. More...
 

Properties

bool IsForwards [get]
 Returns true if this is a forwards direction. More...
 

Detailed Description

Defines a control-flow direction.

Member Function Documentation

BasicBlock ILGPU.IR.Analyses.ControlFlowDirection.IControlFlowDirection.GetEntryBlock< TSource, TDirection > ( in TSource  source)

Returns the entry block for a given source.

Template Parameters
TSourceThe source base.
TDirectionThe current direction.
Parameters
sourceThe source.
Returns
The entry block.

Implemented in ILGPU.IR.Analyses.ControlFlowDirection.Backwards, and ILGPU.IR.Analyses.ControlFlowDirection.Forwards.

Type Constraints
TSource :IControlFlowAnalysisSource<TDirection> 
TDirection :IControlFlowDirection 

Property Documentation

bool ILGPU.IR.Analyses.ControlFlowDirection.IControlFlowDirection.IsForwards
get

Returns true if this is a forwards direction.


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