MimIR
0.6-dev
MimIR is my Intermediate Representation
Toggle main menu visibility
Loading...
Searching...
No Matches
emit.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
mim/plug/mach/asm.h
>
4
5
#include "
mim/plug/arm/target.h
"
6
7
namespace
mim::plug::arm
{
8
9
/// Writes GNU assembler code (AArch64 syntax) for the scheduled world; see AsmEmit for the output file.
10
/// Values live in the registers `mach.regalloc` assigned; jumps, calls, returns, and the entry are parallel copies.
11
class
Emit
:
public
mach::AsmEmit
{
12
public
:
13
using
mach::AsmEmit::AsmEmit;
14
15
private
:
16
void
emit
(std::ostream& os,
Lam
* fun,
bool
global)
final
;
17
};
18
19
}
// namespace mim::plug::arm
asm.h
mim::Lam
A function.
Definition
lam.h:91
mim::plug::arm::Emit
Writes GNU assembler code (AArch64 syntax) for the scheduled world; see AsmEmit for the output file.
Definition
emit.h:11
mim::plug::arm::Emit::emit
void emit(std::ostream &os, Lam *fun, bool global) final
Definition
emit.cpp:322
mim::plug::mach::AsmEmit
The emit Phase of a native backend: writes GNU assembler code for each external function and each fun...
Definition
asm.h:19
mim::plug::arm
The ARM Plugin
Definition
arm.h:11
target.h
include
mim
plug
arm
emit.h
Generated by
1.18.0