MimIR
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
insn.h File Reference
#include <mim/axm.h>
#include <mim/lam.h>
#include "mim/plug/arm/autogen.h"
Include dependency graph for insn.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  mim
namespace  mim::plug
namespace  mim::plug::arm
 The ARM Plugin
namespace  mim::plug::arm::insn
 Machine facts about the instructions of the arm plugin, shared by arm_isel.gen and the backend.

Functions

u32 mim::plug::arm::insn::latency (flags_t base)
 The latency in cycles of the instruction base, roughly as on recent cores.
u32 mim::plug::arm::insn::cost (const App *app)
 The cost of the instruction app: its latency plus one, so of two equally fast covers the shorter wins.