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
target.hh
Go to the documentation of this file.
1
6
#ifndef TARGET_IA32_TARGET_HH
7
# define TARGET_IA32_TARGET_HH
8
9
# include <
target/target.hh
>
10
# include <
target/ia32/cpu.hh
>
11
# include <
target/ia32/gas-assembly.hh
>
12
# include <target/ia32/codegen.hh>
13
14
namespace
target
15
{
16
namespace
ia32
17
{
18
20
class
Target
:
public
target::Target
21
{
24
public
:
25
Target
(
bool
rule_trace_p =
false
);
26
virtual
~Target
();
29
public
:
31
virtual
const
Cpu
&
cpu_get
()
const override
;
33
virtual
Cpu
&
cpu_get
()
override
;
34
36
virtual
const
Assembly
&
assembly_get
()
const override
;
38
virtual
Assembly
&
assembly_get
()
override
;
39
41
virtual
const
Codegen
&
codegen_get
()
const override
;
43
virtual
Codegen
&
codegen_get
()
override
;
44
45
protected
:
47
ia32::Cpu
cpu_
;
49
ia32::Codegen
codegen_
;
50
51
// This should be a ia32::Assembly, dynamicaly set to
52
// GasAssembly or other.
53
ia32::GasAssembly
assembly_
;
54
};
55
56
}
// namespace ia32
57
}
// namespace target
58
59
#endif // !TARGET_IA32_TARGET_HH
target
ia32
target.hh
Generated on Wed Mar 5 2014 15:47:37 for LRDE Tiger Compiler by
1.8.1.2