cleanup: Remove duplicate MIN/MAX macros.
[libfirm] / ir / ana / irbackedge_t.h
1 /*
2  * This file is part of libFirm.
3  * Copyright (C) 2012 University of Karlsruhe.
4  */
5
6 /**
7  * @file
8  * @brief     Access function for backedges -- private header.
9  * @author    Goetz Lindenmaier
10  * @date      7.2002
11  */
12 #ifndef FIRM_ANA_IRBACKEDGE_T_H
13 #define FIRM_ANA_IRBACKEDGE_T_H
14
15 #include "bitset.h"
16
17 /**
18  * Allocate a new backedge array on the obstack for given size.
19  *
20  * @param obst   the obstack to allocate the array on
21  * @param size   the size of the backedge array
22  */
23 bitset_t *new_backedge_arr(struct obstack *obst, size_t size);
24
25 /**
26  * Adapts backedges array to new size.
27  * Must be called if the in array of an IR node is changed.  Else
28  * Segmentation faults might occur.
29  */
30 void fix_backedges(struct obstack *obst, ir_node *n);
31
32 #endif