MimIR
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
normalizers.cpp File Reference
#include <type_traits>
#include <mim/plug/math/math.h>
#include "mim/plug/core/core.h"
Include dependency graph for normalizers.cpp:

Go to the source code of this file.

Namespaces

namespace  mim
namespace  mim::plug
namespace  mim::plug::core
 The core Plugin

Functions

<tt>core.nat</tt>
template<nat id>
const Def * mim::plug::core::normalize_nat (const Def *type, const Def *callee, const Def *arg)
<tt>core.ncmp</tt>
template<ncmp id>
const Def * mim::plug::core::normalize_ncmp (const Def *type, const Def *callee, const Def *arg)
<tt>core.icmp</tt>
template<icmp id>
const Def * mim::plug::core::normalize_icmp (const Def *type, const Def *c, const Def *arg)
<tt>core.extrema</tt>
template<extrema id>
const Def * mim::plug::core::normalize_extrema (const Def *type, const Def *c, const Def *arg)
<tt>core.abs</tt>
const Def * mim::plug::core::normalize_abs (const Def *type, const Def *, const Def *arg)
<tt>core.bit1</tt>
template<bit1 id>
const Def * mim::plug::core::normalize_bit1 (const Def *type, const Def *c, const Def *a)
<tt>core.bit2</tt>
template<bit2 id>
const Def * mim::plug::core::normalize_bit2 (const Def *type, const Def *c, const Def *arg)
<tt>core.idx</tt>
const Def * mim::plug::core::normalize_idx (const Def *type, const Def *c, const Def *arg)
<tt>core.shr</tt>
template<shr id>
const Def * mim::plug::core::normalize_shr (const Def *type, const Def *c, const Def *arg)
<tt>core.wrap</tt>
template<wrap id>
const Def * mim::plug::core::normalize_wrap (const Def *type, const Def *c, const Def *arg)
<tt>core.div</tt>
template<div id>
const Def * mim::plug::core::normalize_div (const Def *full_type, const Def *, const Def *arg)
<tt>core.conv</tt>
template<conv id>
const Def * mim::plug::core::normalize_conv (const Def *dst_t, const Def *, const Def *x)
<tt>core.idx2nat</tt>
const Def * mim::plug::core::normalize_idx2nat (const Def *type, const Def *, const Def *x)
<tt>core.bitcast</tt>
const Def * mim::plug::core::normalize_bitcast (const Def *dst_t, const Def *, const Def *src)
<tt>core.trait</tt>
template<trait id>
const Def * mim::plug::core::normalize_trait (const Def *, const Def *, const Def *type)
<tt>core.pe</tt>
template<pe id>
const Def * mim::plug::core::normalize_pe (const Def *type, const Def *, const Def *arg)