docc 0.8.3 (0d44999b)
C++ API Reference
Loading...
Searching...
No Matches
memlet_linearization.h File Reference

Pass for linearizing memlet base types. More...

Go to the source code of this file.

Classes

class  sdfg::passes::MemletLinearization
 Linearizes memlet base types by flattening nested arrays. More...

Namespaces

namespace  sdfg
namespace  sdfg::passes

Typedefs

typedef VisitorPass< MemletLinearization > sdfg::passes::MemletLinearizationPass

Detailed Description

Pass for linearizing memlet base types.

This pass converts pointers to nested array types into flat pointers with the element type of the innermost array. The subset is flattened into a linearized access using the num_elements property of the arrays.