1 #/bin/emblua LUAPREFIX=/*|
7 //===-- x86/x86_%(N)_regs.h C++ -----------------------------------------*-===//
9 // Register definitions for %(N)bit x86 code.
11 //===----------------------------------------------------------------------===//
13 #ifndef _JITCS_INT_X86_%(N)_DUMPER_H_
14 #define _JITCS_INT_X86_%(N)_DUMPER_H_
16 #include "jitcs_dumper.h"
17 #include "jitcs_ids.h"
21 class X86_%(N)MachineDumper : public IMachineDumper {
23 using IMachineDumper::write;
24 /*[[override]]*/ virtual void write(IDumper&, Ref<const Instruction>) const;
25 /*[[override]]*/ virtual void write(IDumper&, Ref<const VirtualRegister>) const;
26 /*[[override]]*/ virtual void write(IDumper&, InsId) const;
28 void _write(IDumper&, InsId) const;
29 void _write(IDumper&, RegId) const;
30 void _write(IDumper&, RegClassId) const;
32 } // end of namespace jitcs::x86_%(N)
33 } // end of namespace jitcs
35 // _JITCS_INT_X86_%(N)_REGS_H_