MimIR
MimIR is my Intermediate Representation
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
6
7namespace 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.
11class Emit : public mach::AsmEmit {
12public:
13 using mach::AsmEmit::AsmEmit;
14
15private:
16 void emit(std::ostream& os, Lam* fun, bool global) final;
17};
18
19} // namespace mim::plug::arm
A function.
Definition lam.h:91
Writes GNU assembler code (AArch64 syntax) for the scheduled world; see AsmEmit for the output file.
Definition emit.h:11
void emit(std::ostream &os, Lam *fun, bool global) final
Definition emit.cpp:322
The emit Phase of a native backend: writes GNU assembler code for each external function and each fun...
Definition asm.h:19
The ARM Plugin
Definition arm.h:11