libfirm
22 years agoFixes (goetz) f"ur PRECISE_EXC_CONTEXT --flo
Florian Liekweg [Mon, 11 Feb 2002 09:55:00 +0000 (09:55 +0000)]
Fixes (goetz) f"ur PRECISE_EXC_CONTEXT --flo

[r309]

22 years ago New directory: ana for analyses. Adapted configure/makefiles
Götz Lindenmaier [Thu, 31 Jan 2002 08:22:01 +0000 (08:22 +0000)]
  New directory: ana for analyses.  Adapted configure/makefiles
  implemented irout: backedges.  Added one field to ir_graph, one to ir_node.
  Implemented state management for irgraphs:  see irgraph.h.
  Must now call finalize_cons() after graph construction!!

[r305]

22 years ago New directory: ana for analyses. Adapted configure/makefiles
Götz Lindenmaier [Thu, 31 Jan 2002 08:05:05 +0000 (08:05 +0000)]
  New directory: ana for analyses.  Adapted configure/makefiles
  implemented irout: backedges.  Added one field to ir_graph, one to ir_node.
  Implemented state management for irgraphs:  see irgraph.h.
  Must now call finalize_cons() after graph construction!!C

[r304]

22 years ago New directory: ana for analyses. Adapted configure/makefiles
Götz Lindenmaier [Thu, 31 Jan 2002 08:04:19 +0000 (08:04 +0000)]
  New directory: ana for analyses.  Adapted configure/makefiles

[r303]

22 years agoImplemented support for endless loops:
Götz Lindenmaier [Wed, 23 Jan 2002 09:55:56 +0000 (09:55 +0000)]
Implemented support for endless loops:
  Adapted End node.
  Adapted Phi constructors so that memory phis are added.
  Adapted Cond optimization: add block to End.
  Adapted dead node elimination: compation of Ends predecessors
  Adapted inlineing:  remember keepalives of inlined graph.
  Added informative strings to asserts in irvrfy.

[r301]

22 years ago*** empty log message ***
Götz Lindenmaier [Wed, 23 Jan 2002 09:55:26 +0000 (09:55 +0000)]
*** empty log message ***

[r300]

22 years agoFixed bug in while_ex
Götz Lindenmaier [Tue, 22 Jan 2002 08:51:52 +0000 (08:51 +0000)]
Fixed bug in while_ex

[r299]

22 years agoa
Götz Lindenmaier [Tue, 22 Jan 2002 08:51:17 +0000 (08:51 +0000)]
a
  Added volatile flag to entity, order flag to array.
  Added a set of assertions.
  Added access function set_class_members()  dded info to type nodes

[r298]

22 years agoadded info to type nodes
Götz Lindenmaier [Tue, 22 Jan 2002 08:50:55 +0000 (08:50 +0000)]
added info to type nodes

[r297]

22 years ago*** empty log message ***
Götz Lindenmaier [Tue, 22 Jan 2002 08:50:40 +0000 (08:50 +0000)]
*** empty log message ***

[r296]

22 years agoAsserts in irvrfy that verify the mode of Proj nodes. For Start,
Götz Lindenmaier [Fri, 21 Dec 2001 12:30:26 +0000 (12:30 +0000)]
Asserts in irvrfy that verify the mode of Proj nodes.  For Start,
  Call, Return they check the corresponding function type!  Corrected
  bugs in testprograms.

[r292]

22 years ago Some access routines for visited flags in entity.h, irnode.h,
Götz Lindenmaier [Thu, 20 Dec 2001 09:47:02 +0000 (09:47 +0000)]
  Some access routines for visited flags in entity.h, irnode.h,
  bug in oo_program_example.

[r291]

22 years ago*** empty log message ***
Boris Boesler [Mon, 17 Dec 2001 18:36:43 +0000 (18:36 +0000)]
*** empty log message ***

[r290]

22 years agothis file is not needed
Boris Boesler [Mon, 17 Dec 2001 18:36:34 +0000 (18:36 +0000)]
this file is not needed

[r289]

22 years agoAdded support for constant entities. A new example program illustrates
Götz Lindenmaier [Mon, 10 Dec 2001 13:20:30 +0000 (13:20 +0000)]
Added support for constant entities.  A new example program illustrates
  their use.  Extended dumper routines to dump constant values.

[r287]

22 years agoextended "coCV
Götz Lindenmaier [Mon, 3 Dec 2001 15:18:57 +0000 (15:18 +0000)]
extended "coCV
mfortable" construction interface by some methods
  serving as simple shortcuts.

  30.11.2001 Goetz
  Added a class type to irgs.  This class type is to be used as owner
  for local entities of the procedure. This are all entities allocated
  for each execution of the procedure.
  The class type is allocated automatically by new_ir_graph().  Access
  routines to get this type are in irgraph.h.
  We chose a class type as this allows to represent "inner" procedures
  as, e.g., in Pascal.
  Adapted array-stack-example.

[r285]

22 years ago*** empty log message ***
Götz Lindenmaier [Mon, 3 Dec 2001 15:17:57 +0000 (15:17 +0000)]
*** empty log message ***

[r284]

22 years agoUse nodeid as label for vcg nodes. Makes graph better readable
Götz Lindenmaier [Thu, 29 Nov 2001 14:59:01 +0000 (14:59 +0000)]
Use nodeid as label for vcg nodes.  Makes graph better readable

[r282]

22 years agoA preprocessor flag to direct output of irdump
Götz Lindenmaier [Thu, 29 Nov 2001 14:58:25 +0000 (14:58 +0000)]
A preprocessor flag to direct output of irdump

[r281]

22 years agoadded Id tag
Boris Boesler [Wed, 28 Nov 2001 20:29:38 +0000 (20:29 +0000)]
added Id tag

[r279]

22 years ago*** empty log message ***
Boris Boesler [Wed, 28 Nov 2001 20:29:10 +0000 (20:29 +0000)]
*** empty log message ***

[r278]

22 years agoLast comitted with wrong flag settings.
Götz Lindenmaier [Tue, 27 Nov 2001 18:31:31 +0000 (18:31 +0000)]
Last comitted with wrong flag settings.

[r277]

22 years agominor imporvements: comments, output
Götz Lindenmaier [Tue, 27 Nov 2001 18:22:36 +0000 (18:22 +0000)]
minor imporvements: comments, output

[r276]

22 years agoremoved a bug
Götz Lindenmaier [Tue, 20 Nov 2001 13:50:45 +0000 (13:50 +0000)]
removed a bug

[r275]

22 years ago 20.11.2001 Goetz
Götz Lindenmaier [Tue, 20 Nov 2001 13:25:29 +0000 (13:25 +0000)]
 20.11.2001 Goetz
  Changed SSA constuction for exception control flow.
  If PRECISE_EXC_CONTEXT is used Phi nodes will use the values
  valid when the execption operation was allocated.  This increases
  the memory consuption of the construction algorithm by
  n_loc * #fragile_ops.

[r274]

22 years ago*** empty log message ***
Götz Lindenmaier [Tue, 20 Nov 2001 13:25:14 +0000 (13:25 +0000)]
*** empty log message ***

[r273]

22 years ago Addded method to replace in array os a node in irnode
Götz Lindenmaier [Mon, 19 Nov 2001 14:09:57 +0000 (14:09 +0000)]
  Addded method to replace in array os a node in irnode
  Added functionality to irgmod:
  * collect all Phi nodes as link-list in th eBlocks link field
  * collect all Proj nodes as link-list in node productin the tuple
  * Seperate a Block into two
  Added inlining transformation in irgopt.h
  Improved output of dump_ir_block_graph.  Now also dumps nodes that
  don't belong to a block.
  Added flag opt_unreachable_code, opt_inline.
  Changed irvrfy so that it accepts nodes with Bad predecessors.

[r272]

22 years ago*** empty log message ***
Götz Lindenmaier [Mon, 19 Nov 2001 14:07:56 +0000 (14:07 +0000)]
*** empty log message ***

[r271]

22 years ago*** empty log message ***
Boris Boesler [Fri, 9 Nov 2001 13:41:11 +0000 (13:41 +0000)]
*** empty log message ***

[r270]

22 years agoirgopt.c, irgwalk.c : bugfix
Boris Boesler [Fri, 9 Nov 2001 13:40:56 +0000 (13:40 +0000)]
irgopt.c, irgwalk.c : bugfix
irmode.c : changed sizes

[r269]

22 years agocomments added
Götz Lindenmaier [Wed, 7 Nov 2001 18:39:22 +0000 (18:39 +0000)]
comments added

[r268]

22 years ago*** empty log message ***
Götz Lindenmaier [Wed, 7 Nov 2001 18:39:02 +0000 (18:39 +0000)]
*** empty log message ***

[r267]

22 years agorenamed get_type_nameid to get_type_ident
Boris Boesler [Fri, 19 Oct 2001 13:24:28 +0000 (13:24 +0000)]
renamed get_type_nameid to get_type_ident

[r263]

22 years ago*** empty log message ***
Boris Boesler [Fri, 19 Oct 2001 13:23:57 +0000 (13:23 +0000)]
*** empty log message ***

[r262]

22 years ago** changed typo in new_r_Raise
Florian Liekweg [Tue, 2 Oct 2001 13:42:06 +0000 (13:42 +0000)]
** changed typo in new_r_Raise
   --flo

[r260]

22 years agoadded usage of libiberty for NT/cygwin compatibility
Boris Boesler [Wed, 19 Sep 2001 08:26:27 +0000 (08:26 +0000)]
added usage of libiberty for NT/cygwin compatibility

[r258]

22 years agoadded new function to traverse the type and entity graph:
Boris Boesler [Wed, 19 Sep 2001 08:25:51 +0000 (08:25 +0000)]
added new function to traverse the type and entity graph:
first super types, the type itself, then the subtypes

[r257]

22 years ago*** empty log message ***
Boris Boesler [Wed, 19 Sep 2001 08:24:47 +0000 (08:24 +0000)]
*** empty log message ***

[r256]

22 years agoadded size and alignment for float and double
Boris Boesler [Tue, 11 Sep 2001 11:15:28 +0000 (11:15 +0000)]
added size and alignment for float and double

[r252]

22 years agoadded more edge to display
Boris Boesler [Tue, 11 Sep 2001 11:15:06 +0000 (11:15 +0000)]
added more edge to display

[r251]

22 years agoanother bug. allocated several start nodes.
Götz Lindenmaier [Mon, 10 Sep 2001 14:06:56 +0000 (14:06 +0000)]
another bug.  allocated several start nodes.

[r250]

22 years agoCBugfix: dead node elimination did not replace the hash table
Götz Lindenmaier [Mon, 10 Sep 2001 09:59:32 +0000 (09:59 +0000)]
CBugfix: dead node elimination did not replace the hash table
  for cse
VS: ----------------------------------------------------------------------

[r249]

22 years ago*** empty log message ***
Götz Lindenmaier [Wed, 29 Aug 2001 15:08:27 +0000 (15:08 +0000)]
*** empty log message ***

[r248]

22 years agoAdded routine remove_irp_irg.
Götz Lindenmaier [Wed, 29 Aug 2001 15:07:44 +0000 (15:07 +0000)]
Added routine remove_irp_irg.
Changed comment to free_ir_graph.

[r247]

22 years agoAdded routine to free irgraphs.
Götz Lindenmaier [Wed, 29 Aug 2001 14:12:27 +0000 (14:12 +0000)]
Added routine to free irgraphs.

[r246]

22 years ago*** empty log message ***
Götz Lindenmaier [Wed, 29 Aug 2001 14:12:09 +0000 (14:12 +0000)]
*** empty log message ***

[r245]

22 years agodump member edges
Boris Boesler [Thu, 26 Jul 2001 14:55:52 +0000 (14:55 +0000)]
dump member edges

[r244]

22 years agominor bugfix
Boris Boesler [Wed, 18 Jul 2001 12:12:47 +0000 (12:12 +0000)]
minor bugfix

[r242]

22 years agoimproved add routinesC
Götz Lindenmaier [Wed, 18 Jul 2001 11:52:25 +0000 (11:52 +0000)]
improved add routinesC

[r241]

22 years agoadded edge OVERWRITES in vcg output
Boris Boesler [Thu, 12 Jul 2001 16:05:14 +0000 (16:05 +0000)]
added edge OVERWRITES in vcg output

[r232]

22 years agoextended vcg output of types
Boris Boesler [Thu, 12 Jul 2001 15:58:17 +0000 (15:58 +0000)]
extended vcg output of types

[r231]

22 years agoadded functions set_type_link and get_type_link
Boris Boesler [Thu, 12 Jul 2001 15:07:14 +0000 (15:07 +0000)]
added functions set_type_link and get_type_link

[r230]

22 years ago*** empty log message ***
Boris Boesler [Thu, 12 Jul 2001 12:57:31 +0000 (12:57 +0000)]
*** empty log message ***

[r229]

22 years agoAdded implementatio of overwrites stuff.
Götz Lindenmaier [Thu, 12 Jul 2001 10:08:17 +0000 (10:08 +0000)]
Added implementatio of overwrites stuff.

[r228]

22 years ago*** empty log message ***
Götz Lindenmaier [Wed, 11 Jul 2001 15:45:07 +0000 (15:45 +0000)]
*** empty log message ***

[r227]

22 years ago*** empty log message ***
Götz Lindenmaier [Wed, 11 Jul 2001 13:30:05 +0000 (13:30 +0000)]
*** empty log message ***

[r226]

22 years agoErrors and Features of type_id stuff
Götz Lindenmaier [Wed, 11 Jul 2001 13:28:09 +0000 (13:28 +0000)]
Errors and Features of type_id stuff
C

[r225]

22 years ago*** empty log message ***
Götz Lindenmaier [Wed, 11 Jul 2001 12:19:09 +0000 (12:19 +0000)]
*** empty log message ***

[r224]

22 years agoAdded new type opcode "id".
Götz Lindenmaier [Wed, 11 Jul 2001 12:17:48 +0000 (12:17 +0000)]
Added new type opcode "id".
Implemented exchange_type similarly to exchange for Ir_nodes.
Added to all type access routines skip_tid so that only real tyeps
are retruned.
the new opcode should never be visible externaly.C

[r223]

22 years agominor bug fix to previous changes
Boris Boesler [Wed, 11 Jul 2001 08:52:44 +0000 (08:52 +0000)]
minor bug fix to previous changes

[r222]

22 years ago+ removed assertion in mangle_type
Boris Boesler [Tue, 10 Jul 2001 16:21:47 +0000 (16:21 +0000)]
+ removed assertion in mangle_type
+ compacted arrays

[r220]

22 years agonew access routines, some documentation/comments,
Götz Lindenmaier [Tue, 10 Jul 2001 13:57:13 +0000 (13:57 +0000)]
new access routines, some documentation/comments,
some new fields.

[r219]

22 years agoremoved a bug in Cond_kind access routines
Götz Lindenmaier [Tue, 10 Jul 2001 13:56:29 +0000 (13:56 +0000)]
removed a bug in Cond_kind access routines

[r218]

23 years agoadded some routines to entity interface.
Götz Lindenmaier [Wed, 4 Jul 2001 12:29:46 +0000 (12:29 +0000)]
added some routines to entity interface.

[r217]

23 years agoset routine for entity mangled name.
Götz Lindenmaier [Wed, 4 Jul 2001 12:02:11 +0000 (12:02 +0000)]
set routine for entity mangled name.

[r216]

23 years agoAdded support for lowering to entites, types.
Götz Lindenmaier [Wed, 4 Jul 2001 07:00:08 +0000 (07:00 +0000)]
Added support for lowering to entites, types.
added support for visibilit of entities, allocation mode

[r215]

23 years agoI don't remember what I changed, should be checked in yesterday?
Götz Lindenmaier [Wed, 4 Jul 2001 06:59:23 +0000 (06:59 +0000)]
I don't remember what I changed, should be checked in yesterday?

[r214]

23 years agoextended entities, types to support lowering.
Götz Lindenmaier [Wed, 4 Jul 2001 06:58:29 +0000 (06:58 +0000)]
extended entities, types to support lowering.
added support for entity visibility and allocation mode

[r213]

23 years agoExtended semantics of Cond node. There are two flavors now.
Götz Lindenmaier [Mon, 25 Jun 2001 12:20:30 +0000 (12:20 +0000)]
Extended semantics of Cond node.  There are two flavors now.
Optimizations during construction are save.  For others first
transform to standard flavor.  Optimization of Cond is
turned of for new flavor.

[r211]

23 years ago*** empty log message ***
Götz Lindenmaier [Mon, 25 Jun 2001 09:05:57 +0000 (09:05 +0000)]
*** empty log message ***

[r210]

23 years ago*** empty log message ***
Götz Lindenmaier [Mon, 25 Jun 2001 09:03:23 +0000 (09:03 +0000)]
*** empty log message ***

[r209]

23 years ago*** empty log message ***
Götz Lindenmaier [Mon, 25 Jun 2001 08:56:32 +0000 (08:56 +0000)]
*** empty log message ***

[r208]

23 years ago*** empty log message ***
Götz Lindenmaier [Mon, 25 Jun 2001 08:54:20 +0000 (08:54 +0000)]
*** empty log message ***

[r207]

23 years ago*** empty log message ***
Götz Lindenmaier [Mon, 25 Jun 2001 08:21:25 +0000 (08:21 +0000)]
*** empty log message ***

[r206]

23 years agoadded DivMod to constant evaluation.
Götz Lindenmaier [Wed, 20 Jun 2001 18:02:58 +0000 (18:02 +0000)]
added DivMod to constant evaluation.

[r190]

23 years ago*** empty log message ***
Götz Lindenmaier [Wed, 20 Jun 2001 18:02:32 +0000 (18:02 +0000)]
*** empty log message ***

[r189]

23 years agoimplemented tarval_abs, tarval_is_negative
Götz Lindenmaier [Wed, 20 Jun 2001 17:48:12 +0000 (17:48 +0000)]
implemented tarval_abs, tarval_is_negative

[r188]

23 years agoExtended constant evaluation: Minus, Abs, Div, Mod, Quot
Götz Lindenmaier [Wed, 20 Jun 2001 17:47:27 +0000 (17:47 +0000)]
Extended constant evaluation: Minus, Abs, Div, Mod, Quot

[r187]

23 years ago*** empty log message ***
Götz Lindenmaier [Wed, 20 Jun 2001 17:46:36 +0000 (17:46 +0000)]
*** empty log message ***

[r186]

23 years ago*** empty log message ***
Götz Lindenmaier [Wed, 20 Jun 2001 16:20:27 +0000 (16:20 +0000)]
*** empty log message ***

[r185]

23 years agousing an undefined variable now ends up using a const with
Götz Lindenmaier [Wed, 20 Jun 2001 16:20:00 +0000 (16:20 +0000)]
using an undefined variable now ends up using a const with
tarval_bad.

[r184]

23 years agoPhi construction for undefined variables runs into start block
Götz Lindenmaier [Wed, 20 Jun 2001 14:59:51 +0000 (14:59 +0000)]
Phi construction for undefined variables runs into start block
and created a cyclic Id there.  Now returns a Const with tarval_bad.

[r183]

23 years agochanged bounds of arrays from plain ints to irnode*s.
Götz Lindenmaier [Tue, 19 Jun 2001 17:19:54 +0000 (17:19 +0000)]
changed bounds of arrays from plain ints to irnode*s.

added some comment: undefined variables

[r177]

23 years agochanged bounds of arrays from plain ints to irnode*s.
Götz Lindenmaier [Tue, 19 Jun 2001 17:19:43 +0000 (17:19 +0000)]
changed bounds of arrays from plain ints to irnode*s.
added some comment: undefined variables

[r176]

23 years agoadded some comment: undefined variables
Götz Lindenmaier [Tue, 19 Jun 2001 17:19:19 +0000 (17:19 +0000)]
added some comment: undefined variables

[r175]

23 years ago*** empty log message ***
Götz Lindenmaier [Tue, 19 Jun 2001 17:19:03 +0000 (17:19 +0000)]
*** empty log message ***

[r174]

23 years agoome comment
Götz Lindenmaier [Mon, 18 Jun 2001 13:27:41 +0000 (13:27 +0000)]
ome comment

[r173]

23 years ago*** empty log message ***
Götz Lindenmaier [Mon, 18 Jun 2001 13:27:32 +0000 (13:27 +0000)]
*** empty log message ***

[r172]

23 years agoadded a preprocessor flag in tv.c so that it can be compiled without
Götz Lindenmaier [Fri, 8 Jun 2001 08:16:04 +0000 (08:16 +0000)]
added a preprocessor flag in tv.c so that it can be compiled without
using a certain set (not without all) of gmp functions.  Hereby
support for mode_Z is reduced, some tv functions will assert if passed
operations with mode_Z.

[r171]

23 years ago*** empty log message ***
Götz Lindenmaier [Fri, 8 Jun 2001 08:14:20 +0000 (08:14 +0000)]
*** empty log message ***

[r170]

23 years agoDminor
Götz Lindenmaier [Thu, 7 Jun 2001 17:16:47 +0000 (17:16 +0000)]
Dminor
okumentation, removed some unusable functions.

[r169]

23 years agoDokumentation, removed some unusable functions.
Götz Lindenmaier [Thu, 7 Jun 2001 17:16:33 +0000 (17:16 +0000)]
Dokumentation, removed some unusable functions.

[r168]

23 years ago*** empty log message ***
Götz Lindenmaier [Thu, 7 Jun 2001 17:16:07 +0000 (17:16 +0000)]
*** empty log message ***

[r167]

23 years agoRadapted to improved interface ofto type array.
Götz Lindenmaier [Mon, 28 May 2001 15:37:51 +0000 (15:37 +0000)]
Radapted to improved interface ofto type array.

emoved bug in xgprintf.c
tav.c.
aFaulty use of va_arg, became visible with new, stricter gcc 2.96.

[r160]

23 years agoRimproved interface to type array.
Götz Lindenmaier [Mon, 28 May 2001 15:37:26 +0000 (15:37 +0000)]
Rimproved interface to type array.

emoved bug in xgprintf.c
tav.c.
aFaulty use of va_arg, became visible with new, stricter gcc 2.96.

[r159]

23 years agoRemoved bug in xgprintf.c
Götz Lindenmaier [Mon, 28 May 2001 15:36:52 +0000 (15:36 +0000)]
Removed bug in xgprintf.c
tav.c.
aFaulty use of va_arg, became visible with new, stricter gcc 2.96.

[r158]

23 years agoRemoved bug in xgprintf.c
Götz Lindenmaier [Mon, 28 May 2001 15:36:25 +0000 (15:36 +0000)]
Removed bug in xgprintf.c
tv.c.
  Faulty use of va_arg, became visible with new, stricter gcc 2.96.

[r157]

23 years ago*** empty log message ***
Götz Lindenmaier [Mon, 28 May 2001 15:35:51 +0000 (15:35 +0000)]
*** empty log message ***

[r156]

23 years ago???
Götz Lindenmaier [Mon, 28 May 2001 13:20:38 +0000 (13:20 +0000)]
???

[r155]

23 years agoaadded commentsdded commentsdded some
Götz Lindenmaier [Fri, 25 May 2001 14:36:52 +0000 (14:36 +0000)]
aadded commentsdded commentsdded some

[r154]