LRDE Tiger Compiler
1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
cpu.hh
Go to the documentation of this file.
1
6
#ifndef TARGET_MIPS_CPU_HH
7
# define TARGET_MIPS_CPU_HH
8
9
# include <
target/fwd.hh
>
10
# include <
target/cpu.hh
>
11
12
namespace
target
13
{
14
namespace
mips
15
{
16
18
class
Cpu
:
public
target::Cpu
19
{
22
public
:
24
Cpu
(
const
CpuLimits
&
limits
);
27
public
:
28
virtual
size_t
word_size_get
()
const override
;
29
31
virtual
const
temp::Temp
&
fp_reg
()
const override
;
32
34
virtual
const
temp::Temp
&
sp_reg
()
const
;
35
37
virtual
const
temp::Temp
&
result_reg
()
const override
;
38
40
virtual
const
temp::Temp
&
return_reg
()
const
;
41
43
const
temp::Temp
&
zero_reg
()
const
;
44
};
45
46
}
// namespace mips
47
}
// namespace target
48
49
#endif // !TARGET_MIPS_CPU_HH
target
mips
cpu.hh
Generated on Wed Mar 5 2014 15:47:37 for LRDE Tiger Compiler by
1.8.1.2