/*
- * Project: libFIRM
- * File name: ir/ana/irbackedge_t.h
- * Purpose: Access function for backedges -- private header.
- * Author: Goetz Lindenmaier
- * Modified by:
- * Created: 7.2002
- * CVS-ID: $Id$
- * Copyright: (c) 2002-2003 Universität Karlsruhe
- * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE.
+ * This file is part of libFirm.
+ * Copyright (C) 2012 University of Karlsruhe.
*/
-#ifndef _IRBACKEDGE_T_H_
-#define _IRBACKEDGE_T_H_
-
/**
- * Allocate a new backedge array on the obstack for given size.
+ * @file
+ * @brief Access function for backedges -- private header.
+ * @author Goetz Lindenmaier
+ * @date 7.2002
*/
-int *new_backedge_arr(struct obstack *obst, int size);
+#ifndef FIRM_ANA_IRBACKEDGE_T_H
+#define FIRM_ANA_IRBACKEDGE_T_H
+
+#include "bitset.h"
/**
- * allocate new backedge info for nodes.
+ * Allocate a new backedge array on the obstack for given size.
+ *
+ * @param obst the obstack to allocate the array on
+ * @param size the size of the backedge array
*/
-void new_backedge_info(ir_node *n);
+bitset_t *new_backedge_arr(struct obstack *obst, size_t size);
/**
* Adapts backedges array to new size.
- * Must be called if in array of irnode is changed. Else
+ * Must be called if the in array of an IR node is changed. Else
* Segmentation faults might occur.
*/
void fix_backedges(struct obstack *obst, ir_node *n);
-#endif /* _IRBACKEDGE_T_H_ */
+#endif