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/mem/mem.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

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