MimIR 0.1
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
autogen.h File Reference
#include <mim/axiom.h>
#include <mim/plugin.h>
Include dependency graph for autogen.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  mim::plug::matrix
 The matrix Plugin
 
namespace  mim
 
namespace  mim::plug
 

Macros

#define MIM_matrix_NORMALIZER_IMPL
 

Enumerations

%matrix.Mat
enum class  mim::plug::matrix::Mat : flags_t
 
%matrix.constMat
enum class  mim::plug::matrix::constMat : flags_t
 
%matrix.init
enum class  mim::plug::matrix::init : flags_t
 
%matrix.sum
enum class  mim::plug::matrix::sum : flags_t
 
%matrix.lower_matrix_high_level_map_reduce
enum class  mim::plug::matrix::lower_matrix_high_level_map_reduce : flags_t
 
%matrix.lower_matrix_medium_level
enum class  mim::plug::matrix::lower_matrix_medium_level : flags_t
 
%matrix.internal_map_reduce_cleanup
enum class  mim::plug::matrix::internal_map_reduce_cleanup : flags_t
 
%matrix.lower_matrix_low_level
enum class  mim::plug::matrix::lower_matrix_low_level : flags_t
 

Functions

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

Variables

static constexpr plugin_t mim::plug::matrix::Plugin_Id = 0x3825532990000000
 

%matrix.shape

enum class  mim::plug::matrix::shape : flags_t
 
Ref mim::plug::matrix::normalize_shape (Ref type, Ref callee, Ref arg)
 Normalizer for transpose operations.
 

%matrix.read

enum class  mim::plug::matrix::read : flags_t
 
Ref mim::plug::matrix::normalize_read (Ref type, Ref callee, Ref arg)
 Normalizer for read opertions.
 

%matrix.insert

enum class  mim::plug::matrix::insert : flags_t
 
Ref mim::plug::matrix::normalize_insert (Ref type, Ref callee, Ref arg)
 Normalizer for write operations TODO: implement.
 

%matrix.prod

enum class  mim::plug::matrix::prod : flags_t
 
Ref mim::plug::matrix::normalize_prod (Ref type, Ref callee, Ref arg)
 

%matrix.transpose

enum class  mim::plug::matrix::transpose : flags_t
 
Ref mim::plug::matrix::normalize_transpose (Ref type, Ref callee, Ref arg)
 

%matrix.map_reduce

enum class  mim::plug::matrix::map_reduce : flags_t
 
Ref mim::plug::matrix::normalize_map_reduce (Ref type, Ref callee, Ref arg)
 map_reduce normalizers
 

Macro Definition Documentation

◆ MIM_matrix_NORMALIZER_IMPL

#define MIM_matrix_NORMALIZER_IMPL
Value:
void register_normalizers(Normalizers& normalizers) {\
normalizers[flags_t(Annex::Base<shape>)] = &normalize_shape; \
normalizers[flags_t(Annex::Base<read>)] = &normalize_read; \
normalizers[flags_t(Annex::Base<insert>)] = &normalize_insert; \
normalizers[flags_t(Annex::Base<prod>)] = &normalize_prod; \
normalizers[flags_t(Annex::Base<transpose>)] = &normalize_transpose; \
normalizers[flags_t(Annex::Base<map_reduce>)] = &normalize_map_reduce; \
}

Definition at line 118 of file autogen.h.