bechordal: Remove the write-only attribute pressure from struct border_t.
[libfirm] / ir / be / bestack.h
1 /*
2  * This file is part of libFirm.
3  * Copyright (C) 2012 University of Karlsruhe.
4  */
5
6 /**
7  * @file
8  * @brief       Helper functions for handling offsets into stack frames/
9  *              activation records.
10  * @author      Matthias Braun
11  */
12 #ifndef FIRM_BE_BESTACK_H
13 #define FIRM_BE_BESTACK_H
14
15 #include "firm_types.h"
16 #include "be_types.h"
17
18 /**
19  * Rewire all stack modifying nodes and their users to assure SSA property.
20  * @param env   The abi
21  */
22 void be_abi_fix_stack_nodes(ir_graph *irg);
23
24 /**
25  * Fix the stack bias for all nodes accessing the stack frame using the
26  * stack pointer.
27  */
28 void be_abi_fix_stack_bias(ir_graph *irg);
29
30 int be_get_stack_entity_offset(be_stack_layout_t *frame, ir_entity *ent,
31                                int bias);
32
33 #endif