MimIR
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
scalarize.cpp File Reference
#include "mim/phase/scalarize.h"
#include "mim/lam.h"
#include "mim/tuple.h"
#include "mim/world.h"
Include dependency graph for scalarize.cpp:

Go to the source code of this file.

Namespaces

namespace  mim

Functions

static const Pimim::isa_flattenable (const Def *def)
 The only Pis we ever reshape: immutable (non-dependent) continuations.
static void mim::collect (DefSet &set, const Def *def)
 Collects def's immutable subtree into set; stops at mutables.

Variables

static constexpr auto mim::BitmaskWidth = sizeof(u64) * 8
 Number of params a single u64 keep-bitmask can represent; wider doms fall back to the ⊤ sentinel.