#include <mim/lam.h>#include <mim/world.h>#include <mim/plug/core/core.h>#include "mim/plug/affine/autogen.h"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;. | |