LRDE Tiger Compiler  1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
spim-layout.hh
Go to the documentation of this file.
1 
6 #ifndef TARGET_MIPS_SPIM_LAYOUT_HH
7 # define TARGET_MIPS_SPIM_LAYOUT_HH
8 
9 # include <assem/layout.hh>
10 
11 namespace target
12 {
13  namespace mips
14  {
15 
17  class SpimLayout : public assem::Layout
18  {
21  protected:
23  SpimLayout () = default;
24 
25  public:
27  static SpimLayout& instance ();
32  public:
34  virtual void operator() (const assem::ProcFrag& a) override;
36  virtual void operator() (const assem::DataFrag& a) override;
37  public:
39  virtual void operator() (const assem::Fragments& a) override;
41  };
42 
43  } // namespace mips
44 } // namespace target
45 
46 #endif // !TARGET_MIPS_SPIM_LAYOUT_HH