~bkerensa/ubuntu/raring/valgrind/merge-from-deb

« back to all changes in this revision

Viewing changes to VEX/priv/ir/iropt.h

  • Committer: Bazaar Package Importer
  • Author(s): Andrés Roldán
  • Date: 2008-06-13 02:31:40 UTC
  • mto: (1.4.1 upstream) (2.2.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 24.
  • Revision ID: james.westby@ubuntu.com-20080613023140-iwk33rz9rhvfkr96
Import upstream version 3.3.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
   This file is part of LibVEX, a library for dynamic binary
11
11
   instrumentation and translation.
12
12
 
13
 
   Copyright (C) 2004-2006 OpenWorks LLP.  All rights reserved.
 
13
   Copyright (C) 2004-2007 OpenWorks LLP.  All rights reserved.
14
14
 
15
15
   This library is made available under a dual licensing scheme.
16
16
 
54
54
/* Top level optimiser entry point.  Returns a new BB.  Operates
55
55
   under the control of the global "vex_control" struct. */
56
56
extern 
57
 
IRBB* do_iropt_BB ( IRBB* bb,
 
57
IRSB* do_iropt_BB ( IRSB* bb,
58
58
                    IRExpr* (*specHelper) (HChar*, IRExpr**),
59
59
                    Bool (*preciseMemExnsFn)(Int,Int),
60
60
                    Addr64 guest_addr );
61
61
 
62
62
/* Do a constant folding/propagation pass. */
63
63
extern
64
 
IRBB* cprop_BB ( IRBB* );
 
64
IRSB* cprop_BB ( IRSB* );
65
65
 
66
66
/* Do a dead-code removal pass.  bb is destructively modified. */
67
67
extern
68
 
void do_deadcode_BB ( IRBB* bb );
 
68
void do_deadcode_BB ( IRSB* bb );
69
69
 
70
70
/* The tree-builder.  Make (approximately) maximal safe trees.  bb is
71
71
   destructively modified. */
72
72
extern
73
 
void ado_treebuild_BB ( IRBB* bb );
 
73
void ado_treebuild_BB ( IRSB* bb );
74
74
 
75
75
#endif /* ndef __LIBVEX_IROPT_H */
76
76