MimIR
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
affine.h File Reference
#include <mim/lam.h>
#include <mim/world.h>
#include <mim/plug/core/core.h>
#include "mim/plug/affine/autogen.h"
Include dependency graph for affine.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  mim
namespace  mim::plug
namespace  mim::plug::affine
 The affine Plugin

Functions

std::pair< Lam *, const Def * > mim::plug::affine::counting_for (const Def *bound, const Def *acc, const Def *exit, Sym name)
 affine.For (0, bound, 1, acc) over a fresh body: Cn [I64, acc_t, Cn acc_t] named name.
DefVec mim::plug::affine::counting_nest (Lam *&cur, const Def *&exit, const Def *&acc, Defs dims, std::string_view name)
 Nests one counting loop per bound of dims inside cur, threading cur, exit and acc down to the innermost body;.