blob: a8689a60976ced471a70340161b3a048bae6792f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
/*
* This file is part of libFirm.
* Copyright (C) 2012 University of Karlsruhe.
*/
/**
* @file
* @brief Common functions for creating listscheduling algorithms
* @author Sebastian Hack, Matthias Braun
* @date 20.10.2004
*/
#ifndef FIRM_BE_BELISTSCHED_H
#define FIRM_BE_BELISTSCHED_H
#include "firm_types.h"
#include "irnodeset.h"
#include "be.h"
#include "be_types.h"
/**
* Begin list scheduling for a graph.
*/
void be_list_sched_begin(ir_graph *irg);
/**
* Free memory used by list scheduler.
*/
void be_list_sched_finish(void);
/**
* Begin list scheduling for a block.
* Returns the readyset used by the listscheduler.
*/
ir_nodeset_t *be_list_sched_begin_block(ir_node *block);
/**
* Free memory used for scheduling the last block.
*/
void be_list_sched_end_block(void);
/**
* Schedule @p node from the ready set.
*/
void be_list_sched_schedule(ir_node *node);
#endif
|