LRDE Tiger Compiler
1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
|
Target tasks. More...
#include <task/libtask.hh>
#include <assem/fragment.hh>
#include <target/fwd.hh>
#include <target/cpu-limits.hh>
Go to the source code of this file.
Namespaces | |
namespace | target |
Multiple target support. | |
namespace | target::tasks |
Functions | |
target::tasks::TASK_GROUP ("7. Target selection") | |
target::tasks::TASK_DECLARE ("i|inst-compute","select the instructions", inst_compute,"lir-compute targeted") | |
Perform the instruction selection. | |
target::tasks::TASK_DECLARE ("R|runtime-display","display the runtime", runtime_display,"targeted") | |
Display the runtime. | |
target::tasks::BOOLEAN_TASK_DECLARE ("inst-debug","enable instructions verbose display", inst_debug_p,"") | |
Report def, use and jump lists. | |
target::tasks::BOOLEAN_TASK_DECLARE ("rule-trace","enable rule reducing display", rule_trace_p,"") | |
Report rule reducing. | |
target::tasks::BOOLEAN_TASK_DECLARE ("garbage-collection","enable garbage collection", gc_p,"") | |
Enable support for the Boehm-Demers-Weiser garbage collector. | |
target::tasks::TASK_DECLARE ("I|inst-display","display the instructions", inst_display,"inst-compute") | |
Display the result of the instruction selection. | |
target::tasks::TASK_DECLARE ("Y|nolimips-display","display Nolimips compatible instructions (i.e., allocate ""the frames and then display the instructions", nolimips_display,"inst-compute") | |
Display the result of the instruction selection. | |
target::tasks::DISJUNCTIVE_TASK_DECLARE ("targeted","default the target to MIPS","target-mips target-ia32") | |
Make sure the target is defined. | |
target::tasks::TASK_DECLARE ("target-mips","select MIPS as target", target_mips,"") | |
Select MIPS target. | |
target::tasks::TASK_DECLARE ("target-ia32","select IA-32 as target", target_ia32,"") | |
Select IA-32 target. | |
target::tasks::TASK_DECLARE ("target-display","display the current target", target_display,"targeted") | |
Describe the current target. | |
target::tasks::INT_TASK_DECLARE ("callee-save", 0, 99,"max number of callee save registers", limits.callee_save_max,"") | |
The maximum number of callee save registers. | |
target::tasks::INT_TASK_DECLARE ("caller-save", 0, 99,"max number of caller save registers", limits.caller_save_max,"") | |
The maximum number of callee save registers. | |
target::tasks::INT_TASK_DECLARE ("argument", 0, 99,"max number of argument registers", limits.argument_max,"") | |
The maximum number of callee save registers. |
Variables | |
std::unique_ptr< Target > | target::tasks::target |
Global target pointer (default is MIPS). |
Target tasks.