MimIR
0.6-dev
MimIR is my Intermediate Representation
Toggle main menu visibility
Loading...
Searching...
No Matches
gen.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
mim/plug/mach/gen.h
>
4
5
namespace
mim::plug::arm_isel
{
6
7
/// Writes the closed rules among the annexes of this plugin as the C++ matchers and builders of mim::plug::arm::rules.
8
class
Gen
:
public
mach::Gen
{
9
public
:
10
Gen
(
World
&
world
,
flags_t
annex
);
11
12
u32
cost
(
const
App
* insn)
const
final
;
13
};
14
15
}
// namespace mim::plug::arm_isel
mim::App
Definition
lam.h:215
mim::Phase::annex
flags_t annex() const
Definition
phase.h:64
mim::Phase::world
World & world()
Definition
phase.h:60
mim::World
The World represents the whole program and manages creation of MimIR nodes (Defs).
Definition
world.h:43
mim::plug::arm_isel::Gen::Gen
Gen(World &world, flags_t annex)
Definition
gen.cpp:11
mim::plug::arm_isel::Gen::cost
u32 cost(const App *insn) const final
Definition
gen.cpp:26
mim::plug::mach::Gen
Writes the closed rules among the annexes of a backend's isel plugin as the C++ matchers and builders...
Definition
gen.h:21
gen.h
mim::plug::arm_isel
The arm_isel Plugin
Definition
gen.h:5
mim::flags_t
u64 flags_t
Definition
types.h:39
mim::u32
uint32_t u32
Definition
types.h:27
include
mim
plug
arm_isel
gen.h
Generated by
1.18.0