MimIR
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
mim::plug::compile Namespace Reference

The compile Plugin More...

Enumerations

<tt>compile.Phase</tt>
enum class  Phase : flags_t
<tt>compile.named</tt>
enum class  named : flags_t
<tt>compile.phases</tt>
enum class  phases : flags_t
<tt>compile.adce</tt>
enum class  adce : flags_t
<tt>compile.beta_red</tt>
enum class  beta_red : flags_t
<tt>compile.cleanup</tt>
enum class  cleanup : flags_t
<tt>compile.dispatch_normalize</tt>
enum class  dispatch_normalize : flags_t
<tt>compile.eta_conv</tt>
enum class  eta_conv : flags_t
<tt>compile.lam_spec</tt>
enum class  lam_spec : flags_t
<tt>compile.nom_erasure</tt>
enum class  nom_erasure : flags_t
<tt>compile.null</tt>
enum class  null : flags_t
<tt>compile.ret_wrap</tt>
enum class  ret_wrap : flags_t
<tt>compile.scalarize</tt>
enum class  scalarize : flags_t
<tt>compile.sccp</tt>
enum class  sccp : flags_t
<tt>compile.single_erasure</tt>
enum class  single_erasure : flags_t
<tt>compile.static_arg_opt</tt>
enum class  static_arg_opt : flags_t

Functions

void register_normalizers (Normalizers &normalizers)

Variables

static constexpr plugin_t Plugin_Id = 0x11039128d1800000

<tt>compile.aggr</tt>

enum class  aggr : flags_t
const Def * normalize_aggr (const Def *, const Def *, const Def *arg)
 compile.aggr fallback ↦ tt/ff if -X compile:aggr/:no-aggr was passed, else fallback.

<tt>compile.cond</tt>

enum class  cond : flags_t
const Def * normalize_cond (const Def *, const Def *callee, const Def *phase)
 compile.cond name phase ↦ phase if name's plugin is loaded, else compile.null.

<tt>compile.is_loaded</tt>

enum class  is_loaded : flags_t
const Def * normalize_is_loaded (const Def *, const Def *, const Def *arg)

Detailed Description

Enumeration Type Documentation

◆ adce

enum class mim::plug::compile::adce : flags_t
strong

Definition at line 59 of file autogen.h.

◆ aggr

enum class mim::plug::compile::aggr : flags_t
strong

Definition at line 21 of file autogen.h.

◆ beta_red

Definition at line 66 of file autogen.h.

◆ cleanup

enum class mim::plug::compile::cleanup : flags_t
strong

Definition at line 73 of file autogen.h.

◆ cond

enum class mim::plug::compile::cond : flags_t
strong

Definition at line 29 of file autogen.h.

◆ dispatch_normalize

Definition at line 80 of file autogen.h.

◆ eta_conv

Definition at line 87 of file autogen.h.

◆ is_loaded

Definition at line 37 of file autogen.h.

◆ lam_spec

Definition at line 94 of file autogen.h.

◆ named

enum class mim::plug::compile::named : flags_t
strong

Definition at line 45 of file autogen.h.

◆ nom_erasure

Definition at line 101 of file autogen.h.

◆ null

enum class mim::plug::compile::null : flags_t
strong

Definition at line 108 of file autogen.h.

◆ Phase

enum class mim::plug::compile::Phase : flags_t
strong

Definition at line 14 of file autogen.h.

◆ phases

enum class mim::plug::compile::phases : flags_t
strong

Definition at line 52 of file autogen.h.

◆ ret_wrap

Definition at line 115 of file autogen.h.

◆ scalarize

Definition at line 122 of file autogen.h.

◆ sccp

enum class mim::plug::compile::sccp : flags_t
strong

Definition at line 129 of file autogen.h.

◆ single_erasure

Definition at line 136 of file autogen.h.

◆ static_arg_opt

Definition at line 143 of file autogen.h.

Function Documentation

◆ normalize_aggr()

const Def * mim::plug::compile::normalize_aggr ( const Def * ,
const Def * ,
const Def * arg )

compile.aggr fallback ↦ tt/ff if -X compile:aggr/:no-aggr was passed, else fallback.

Definition at line 18 of file normalizers.cpp.

References mim::arg_bool(), mim::World::driver(), normalize_aggr(), and mim::Def::world().

Referenced by normalize_aggr().

◆ normalize_cond()

const Def * mim::plug::compile::normalize_cond ( const Def * ,
const Def * callee,
const Def * phase )

compile.cond name phase ↦ phase if name's plugin is loaded, else compile.null.

Definition at line 26 of file normalizers.cpp.

References mim::World::driver(), normalize_cond(), mim::tuple2str(), and mim::Def::world().

Referenced by normalize_cond().

◆ normalize_is_loaded()

const Def * mim::plug::compile::normalize_is_loaded ( const Def * ,
const Def * ,
const Def * arg )

◆ register_normalizers()

void mim::plug::compile::register_normalizers ( Normalizers & normalizers)

Variable Documentation

◆ Plugin_Id

plugin_t mim::plug::compile::Plugin_Id = 0x11039128d1800000
staticconstexpr

Definition at line 10 of file autogen.h.