Thorin 1.9.0
The Higher ORder INtermediate representation
Loading...
Searching...
No Matches
autogen.h File Reference
#include <thorin/axiom.h>
#include <thorin/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  thorin::plug::mem
 The mem Plugin
 
namespace  thorin
 
namespace  thorin::plug
 

Macros

#define THORIN_mem_NORMALIZER_IMPL
 

Enumerations

%mem.M
enum  thorin::plug::mem::M : flags_t
 
enum  thorin::plug::mem::m : flags_t
 
%mem.Ptr
enum  thorin::plug::mem::Ptr : flags_t
 
%mem.Ptr0
enum  thorin::plug::mem::Ptr0 : flags_t
 
%mem.alloc
enum  thorin::plug::mem::alloc : flags_t
 
%mem.slot
enum  thorin::plug::mem::slot : flags_t
 
%mem.malloc
enum  thorin::plug::mem::malloc : flags_t
 
%mem.free
enum  thorin::plug::mem::free : flags_t
 
%mem.mslot
enum  thorin::plug::mem::mslot : flags_t
 
%mem.ignore
enum  thorin::plug::mem::ignore : flags_t
 
%mem.rm
enum  thorin::plug::mem::rm : flags_t
 
%mem.reshape_mode
enum  thorin::plug::mem::reshape_mode : flags_t
 
%mem.reshape_flat
enum  thorin::plug::mem::reshape_flat : flags_t
 
%mem.reshape_arg
enum  thorin::plug::mem::reshape_arg : flags_t
 
%mem.ssa_pass
enum  thorin::plug::mem::ssa_pass : flags_t
 
%mem.copy_prop_pass
enum  thorin::plug::mem::copy_prop_pass : flags_t
 
%mem.remem_elim_pass
enum  thorin::plug::mem::remem_elim_pass : flags_t
 
%mem.alloc2malloc_pass
enum  thorin::plug::mem::alloc2malloc_pass : flags_t
 
%mem.reshape_pass
enum  thorin::plug::mem::reshape_pass : flags_t
 
%mem.add_mem_phase
enum  thorin::plug::mem::add_mem_phase : flags_t
 

Functions

void thorin::plug::mem::register_normalizers (Normalizers &normalizers)
 

Variables

static constexpr plugin_t thorin::plug::mem::Plugin_Id = 0x3863800000000000
 

%mem.load

enum  thorin::plug::mem::load : flags_t
 
Ref thorin::plug::mem::normalize_load (Ref type, Ref callee, Ref arg)
 

%mem.store

enum  thorin::plug::mem::store : flags_t
 
Ref thorin::plug::mem::normalize_store (Ref type, Ref callee, Ref arg)
 

%mem.remem

enum  thorin::plug::mem::remem : flags_t
 
Ref thorin::plug::mem::normalize_remem (Ref type, Ref callee, Ref mem)
 

%mem.lea

enum  thorin::plug::mem::lea : flags_t
 
Ref thorin::plug::mem::normalize_lea (Ref type, Ref callee, Ref arg)
 

Macro Definition Documentation

◆ THORIN_mem_NORMALIZER_IMPL

#define THORIN_mem_NORMALIZER_IMPL
Value:
void register_normalizers(Normalizers& normalizers) {\
normalizers[flags_t(Annex::Base<load>)] = &normalize_load; \
normalizers[flags_t(Annex::Base<store>)] = &normalize_store; \
normalizers[flags_t(Annex::Base<remem>)] = &normalize_remem; \
normalizers[flags_t(Annex::Base<lea>)] = &normalize_lea; \
}

Definition at line 282 of file autogen.h.