MimIR
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
x86.h File Reference
#include <array>
#include <mim/plug/core/core.h>
#include <mim/plug/mach/mach.h>
#include <mim/plug/mem/mem.h>
#include "mim/plug/x86/autogen.h"
Include dependency graph for x86.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::x86
 The x86 Plugin

Functions

constexpr bool mim::plug::x86::reserved (size_t r)
template<class Reg>
constexpr size_t mim::plug::x86::encoding (Reg r)
 The hardware encoding of the register r of a backend's module reg, whose subtags are in encoding order.

Variables

constexpr size_t mim::plug::x86::Num_Regs = Annex::num<reg>()
constexpr size_t mim::plug::x86::Num_Xmm = Annex::num<xmm>()
constexpr std::array< size_t, 6 > mim::plug::x86::Arg_Regs
 System V AMD64 ABI.
constexpr std::array< bool, Num_Regs > mim::plug::x86::Caller_Saved = {1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0}