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

The matrix Plugin More...

Namespaces

namespace  phase

Enumerations

%matrix.sum
enum class  sum : flags_t
%matrix.map_reduce_aff
enum class  map_reduce_aff : flags_t
%matrix.broadcast
enum class  broadcast : flags_t
%matrix.pad
enum class  pad : flags_t
%matrix.concat
enum class  concat : flags_t
%matrix.map_reduce_prod
enum class  map_reduce_prod : flags_t
%matrix.map_reduce_transpose
enum class  map_reduce_transpose : flags_t
%matrix.map_reduce_sum
enum class  map_reduce_sum : flags_t
%matrix.lower_matrix_high_level_map_reduce
enum class  lower_matrix_high_level_map_reduce : flags_t
%matrix.lower_matrix_medium_level
enum class  lower_matrix_medium_level : flags_t
%matrix.lower_aff
enum class  lower_aff : flags_t

Functions

const Defop_read (const Def *mem, const Def *matrix, const Def *idx)
 Reads element idx from a matrix (represented by a buffer.Buf), threading mem.
void register_normalizers (Normalizers &normalizers)

Variables

static constexpr plugin_t Plugin_Id = 0x3825532990000000

%matrix.prod

enum class  prod : flags_t
const Defnormalize_prod (const Def *, const Def *, const Def *)

%matrix.transpose

enum class  transpose : flags_t
const Defnormalize_transpose (const Def *, const Def *, const Def *)

%matrix.map_reduce

enum class  map_reduce : flags_t
const Defnormalize_map_reduce (const Def *, const Def *, const Def *)

Detailed Description

Enumeration Type Documentation

◆ broadcast

Definition at line 52 of file autogen.h.

◆ concat

enum class mim::plug::matrix::concat : flags_t
strong

Definition at line 66 of file autogen.h.

◆ lower_aff

Definition at line 108 of file autogen.h.

◆ lower_matrix_high_level_map_reduce

Definition at line 94 of file autogen.h.

◆ lower_matrix_medium_level

Definition at line 101 of file autogen.h.

◆ map_reduce

Definition at line 37 of file autogen.h.

◆ map_reduce_aff

Definition at line 45 of file autogen.h.

◆ map_reduce_prod

Definition at line 73 of file autogen.h.

◆ map_reduce_sum

Definition at line 87 of file autogen.h.

◆ map_reduce_transpose

Definition at line 80 of file autogen.h.

◆ pad

enum class mim::plug::matrix::pad : flags_t
strong

Definition at line 59 of file autogen.h.

◆ prod

enum class mim::plug::matrix::prod : flags_t
strong

Definition at line 14 of file autogen.h.

◆ sum

enum class mim::plug::matrix::sum : flags_t
strong

Definition at line 30 of file autogen.h.

◆ transpose

Definition at line 22 of file autogen.h.

Function Documentation

◆ normalize_map_reduce()

const Def * mim::plug::matrix::normalize_map_reduce ( const Def * ,
const Def * ,
const Def *  )

Definition at line 11 of file normalizers.cpp.

◆ normalize_prod()

const Def * mim::plug::matrix::normalize_prod ( const Def * ,
const Def * ,
const Def *  )

Definition at line 12 of file normalizers.cpp.

◆ normalize_transpose()

const Def * mim::plug::matrix::normalize_transpose ( const Def * ,
const Def * ,
const Def *  )

Definition at line 13 of file normalizers.cpp.

◆ op_read()

const Def * mim::plug::matrix::op_read ( const Def * mem,
const Def * matrix,
const Def * idx )
inline

Reads element idx from a matrix (represented by a buffer.Buf), threading mem.

Definition at line 11 of file matrix.h.

References mim::Axm::isa(), and mim::plug::buffer::op_read().

Referenced by mim::plug::matrix::phase::LowerMatrixMediumLevel::rewrite_imm_App().

◆ register_normalizers()

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

Referenced by mim_get_plugin().

Variable Documentation

◆ Plugin_Id

plugin_t mim::plug::matrix::Plugin_Id = 0x3825532990000000
staticconstexpr

Definition at line 10 of file autogen.h.