LRDE Tiger Compiler  1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
temp::tasks Namespace Reference

Functions

void tempmap_display ()
 Output tempmap on cout.
 TASK_GROUP ("Temporaries")
 TASK_DECLARE ("tempmap-display","display the temporary table", tempmap_display,"targeted")

Variables

std::unique_ptr< TempMaptempmap
 Allocated registers.

Function Documentation

temp::tasks::TASK_DECLARE ( "tempmap-display"  ,
"display the temporary table"  ,
tempmap_display  ,
"targeted"   
)
temp::tasks::TASK_GROUP ( "Temporaries"  )
void temp::tasks::tempmap_display ( )

Output tempmap on cout.

References tempmap.

Variable Documentation

std::unique_ptr< TempMap > temp::tasks::tempmap

Allocated registers.

Its value is changed by register allocation, and it is used whenever INSTR or ASM must be printed: it converts the temporary names.

Implemented as a pointer, because we have a hierarchy of TempMap.

Referenced by regalloc::tasks::asm_compute(), target::tasks::inst_display(), target::instructions_dump(), liveness::tasks::interference_dump(), liveness::tasks::liveness_dump(), and tempmap_display().