Added Exception marking support --flo
[libfirm] / ir / st / exc.h
1 /* Copyright (c) 2002 by Universität Karlsruhe (TH).  All Rights Reserved */
2 //
3 // Time-stamp: <02/03/22 17:03:05 liekweg>
4 //
5
6 /***
7    NAME
8      exc
9    PURPOSE
10      Helper functions for exceptions
11    NOTES
12      not quite complete
13    HISTORY
14      liekweg - Mar 4, 2002: Created.
15    CVS:
16      $Id$
17 ***/
18
19 # include "irnode.h"
20
21 # ifndef _EXC_H_
22 # define _EXC_H_
23
24 typedef enum {
25   exc_invalid,                                  /* not yet computed */
26   exc_normal,                                   /* normal CF */
27   exc_entry,                                    /* handler entry */
28   exc_handler,                                  /* handler block */
29   exc_region,                                   /* region entry */
30   exc_cont                                              /* cont block */
31 } exc_t;
32
33 bool is_handler_entry (ir_graph*, ir_node*);
34 bool is_region_entry  (ir_graph*, ir_node*);
35 bool is_handler_block (ir_graph*, ir_node*);
36 bool is_cont_entry    (ir_graph*, ir_node*);
37
38 # endif /* def _EXC_H_ */