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

Perform the register allocation. More...

Namespaces

namespace  tasks
 Tasks for register allocation..

Classes

class  Color
 Just color the graph itself. More...
class  UselessMove
 Predicate (object function) checking whether an instruction is a useless MOVE according to the TEMPMAP, and deleting it. More...
class  RegisterAllocator
 "Allocate-registers" functor. More...

Functions

temp::TempMap allocate_registers (assem::Fragments &fragments, const target::Target &target, const temp::TempMap &tempmap, misc::timer &t, bool coalesce_enable_p=true, bool regalloc_trace_p=false)
 Color each member of fragments and return the register allocation.

Detailed Description

Perform the register allocation.

Function Documentation

temp::TempMap regalloc::allocate_registers ( assem::Fragments fragments,
const target::Target target,
const temp::TempMap tempmap,
misc::timer t,
bool  coalesce_enable_p,
bool  regalloc_trace_p 
)

Color each member of fragments and return the register allocation.

References regalloc::RegisterAllocator::allocation_get(), and regalloc::RegisterAllocator::timer_get().

Referenced by regalloc::tasks::asm_compute().