MimIR 0.1
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
normalizers.cpp File Reference
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
 

Macros

#define CODE(i)
 
#define CODE(i)
 
#define M(S, D)
 

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.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.zip
const Defmim::plug::core::normalize_zip (const Def *type, const Def *c, const Def *arg)
 
%core.pe
template<pe id>
const Defmim::plug::core::normalize_pe (const Def *type, const Def *, const Def *arg)
 

Macro Definition Documentation

◆ CODE [1/2]

#define CODE ( i)
Value:
case i: res = fold<Id, id, i>(*la, *lb, nsw, nuw); break;

◆ CODE [2/2]

#define CODE ( i)
Value:
case i: res = fold<Id, i>(*la, nsw, nuw); break;

◆ M