rewritten
[libfirm] / ir / ana2 / pto_ctx.h
1 /* -*- c -*- */
2
3 /*
4    Project:     libFIRM
5    File name:   ir/ana/pto_ctx.h
6    Purpose:     ...
7    Author:      Florian
8    Modified by:
9    Created:     Sat Nov 13 19:35:27 CET 2004
10    CVS-ID:      $Id$
11    Copyright:   (c) 1999-2004 Universität Karlsruhe
12    Licence:     This file is protected by the GPL -  GNU GENERAL PUBLIC LICENSE.
13 */
14
15
16 # ifndef _PTO_CTX_
17 # define _PTO_CTX_
18
19 # include "ecg.h"
20
21 /* ===================================================
22    Global Defines:
23    =================================================== */
24
25 /* ===================================================
26  Global Data Types:
27  =================================================== */
28
29 /* ===================================================
30    Global Prototypes:
31    =================================================== */
32 /* Find the appropriate ctx for the given call and the given graph */
33 /* ctx_info_t *find_ctx (ir_node*, graph_info_t*, ctx_info_t*); */
34 int find_ctx_idx (ir_node*, graph_info_t*, ctx_info_t*);
35
36 /* Get the current ctx */
37 ctx_info_t *get_curr_ctx (void);
38
39 /* Set the current ctx to the given ctx.  Return the old value */
40 ctx_info_t *set_curr_ctx (ctx_info_t*);
41
42 /* ===================================================
43    Global Variables:
44    =================================================== */
45
46
47 # endif /* not defined _PTO_CTX_ */
48
49
50 \f
51 /*
52   $Log$
53   Revision 1.1  2004/11/18 16:37:34  liekweg
54   rewritten
55
56
57 */