ACSE 2.0.3
Advanced Compiler System for Education
Loading...
Searching...
No Matches
reg_alloc.h
Go to the documentation of this file.
1
3
4#ifndef REG_ALLOC_H
5#define REG_ALLOC_H
6
7#include <stdio.h>
8#include "program.h"
9
20
22typedef struct t_regAllocator t_regAllocator;
23
28
32
36void regallocRun(t_regAllocator *regAlloc);
37
41void regallocDump(t_regAllocator *regAlloc, FILE *fout);
42
46
47#endif
t_regAllocator * newRegAllocator(t_program *program)
Definition reg_alloc.c:384
void regallocDump(t_regAllocator *regAlloc, FILE *fout)
Definition reg_alloc.c:935
void deleteRegAllocator(t_regAllocator *regAlloc)
Definition reg_alloc.c:434
void regallocRun(t_regAllocator *regAlloc)
Definition reg_alloc.c:839
Program object definition and management.
t_program * program
The program where register allocation needs to be performed.
Definition reg_alloc.c:51
Structure encapsulating the state of the register allocator.
Definition reg_alloc.c:49