MimIR 0.1
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
normalizers.cpp
Go to the documentation of this file.
1#include "mim/world.h"
2
4
6
7const Def* normalize_unwrap_unsafe(const Def*, const Def*, const Def* arg) {
8 if (auto inj = arg->isa<Inj>()) return inj->op(0);
9
10 return nullptr;
11}
12
14
15} // namespace mim::plug::option
Base class for all Defs.
Definition def.h:252
const Def * op(size_t i) const noexcept
Definition def.h:309
Constructs a Join value.
Definition lattice.h:70
The option Plugin
const Def * normalize_unwrap_unsafe(const Def *, const Def *, const Def *arg)
#define MIM_option_NORMALIZER_IMPL
Definition autogen.h:57