ILGPU  0.9.0
ILGPU.IR.Analyses.TraversalOrders.ITraversalSuccessorsProvider< TDirection > Interface Template Reference

Provides successors for a given basic block. More...

Inheritance diagram for ILGPU.IR.Analyses.TraversalOrders.ITraversalSuccessorsProvider< TDirection >:
ILGPU.IR.BasicBlock.SuccessorsProvider< TDirection >

Public Member Functions

ReadOnlySpan< BasicBlockGetSuccessors (BasicBlock basicBlock)
 Returns or computes successors of the given basic block. More...
 

Detailed Description

Provides successors for a given basic block.

Template Parameters
TDirectionThe control-flow direction.
Type Constraints
TDirection :struct 
TDirection :IControlFlowDirection 

Member Function Documentation

ReadOnlySpan<BasicBlock> ILGPU.IR.Analyses.TraversalOrders.ITraversalSuccessorsProvider< TDirection >.GetSuccessors ( BasicBlock  basicBlock)

Returns or computes successors of the given basic block.

Parameters
basicBlockThe source basic block.
Returns
The returned successor collection.

Implemented in ILGPU.IR.BasicBlock.SuccessorsProvider< TDirection >.


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