ILGPU  0.9.0
ILGPU.Backends.PointerViews.LowerPointerViews Class Reference

Lowers view instances into pointer view implementations. More...

Inheritance diagram for ILGPU.Backends.PointerViews.LowerPointerViews:
ILGPU.IR.Transformations.LowerViews ILGPU.IR.Transformations.LowerTypes< ViewType >

Public Member Functions

 LowerPointerViews ()
 Constructs a new pointer view lowering transformation. More...
 
- Public Member Functions inherited from ILGPU.IR.Transformations.LowerViews
 LowerViews ()
 Constructs a new view conversion pass. More...
 
- Public Member Functions inherited from ILGPU.IR.Transformations.LowerTypes< ViewType >
 LowerTypes ()
 Constructs a new type conversion pass. More...
 

Protected Member Functions

override TypeLowering< ViewTypeCreateLoweringConverter (Method.Builder builder)
 Creates a new PointerViewLowering converter. More...
 
override bool PerformTransformation (Method.Builder builder)
 Applies the pointer view lowering transformation. More...
 
- Protected Member Functions inherited from ILGPU.IR.Transformations.LowerTypes< ViewType >
bool PerformTransformation (Method.Builder builder, Rewriter< TypeLowering< TType >> rewriter)
 Performs a complete type lowering transformation. More...
 

Additional Inherited Members

- Static Protected Member Functions inherited from ILGPU.IR.Transformations.LowerViews
static void AddRewriters (Rewriter< TypeLowering< ViewType >> rewriter, RewriteConverter< TypeLowering< ViewType >, NewView > newViewConverter, RewriteConverter< TypeLowering< ViewType >, GetViewLength > getViewLengthConverter, RewriteConverter< TypeLowering< ViewType >, SubViewValue > subViewConverter, RewriteConverter< TypeLowering< ViewType >, AddressSpaceCast > addressSpaceCastConverter, RewriteConverter< TypeLowering< ViewType >, ViewCast > viewCastConverter, RewriteConverter< TypeLowering< ViewType >, LoadElementAddress > leaConverter)
 Adds a set of rewriters specialized for a general view-type lowering. More...
 
- Static Protected Member Functions inherited from ILGPU.IR.Transformations.LowerTypes< ViewType >
static void Lower (RewriterContext context, TypeLowering< TType > typeConverter, NullValue value)
 Lowers null values with nested types. More...
 
static void Lower (RewriterContext context, TypeLowering< TType > typeConverter, StructureValue value)
 Lowers structure values with nested types. More...
 
static void Lower (RewriterContext context, TypeLowering< TType > typeConverter, GetField getValue)
 Lowers set field operations into separate SSA values. More...
 
static void Lower (RewriterContext context, TypeLowering< TType > typeConverter, SetField setValue)
 Lowers set field operations into separate SSA values. More...
 
static void Lower (RewriterContext context, TypeLowering< TType > typeConverter, Alloca alloca)
 Lowers alloca values into their appropriate counter parts. More...
 
static void Lower (RewriterContext context, TypeLowering< TType > typeConverter, PointerCast cast)
 Lowers pointer cast values into their appropriate counter parts. More...
 
static void Lower (RewriterContext context, TypeLowering< TType > typeConverter, LoadFieldAddress lfa)
 Lowers LFA operations into an adapted version. More...
 
static void Lower (RewriterContext context, TypeLowering< TType > typeConverter, PhiValue phi)
 Lowers Phi nodes into an adapted version. More...
 
static bool Register< TValue > (TypeLowering< TType > typeConverter, TValue value)
 Registers a type-mapping entry and returns always true. More...
 
static bool Register< TValue > (TypeLowering< TType > typeConverter, TValue value, TypeNode type)
 Registers a type-mapping entry and returns always true. More...
 
static void AddRewriters (Rewriter< TypeLowering< TType >> rewriter)
 Adds all internal type rewriters to the given rewriter instance. More...
 

Detailed Description

Lowers view instances into pointer view implementations.

Constructor & Destructor Documentation

ILGPU.Backends.PointerViews.LowerPointerViews.LowerPointerViews ( )

Constructs a new pointer view lowering transformation.

Member Function Documentation

override TypeLowering<ViewType> ILGPU.Backends.PointerViews.LowerPointerViews.CreateLoweringConverter ( Method.Builder  builder)
protectedvirtual

Creates a new PointerViewLowering converter.

Implements ILGPU.IR.Transformations.LowerTypes< ViewType >.

override bool ILGPU.Backends.PointerViews.LowerPointerViews.PerformTransformation ( Method.Builder  builder)
protected

Applies the pointer view lowering transformation.


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