libfirm
16 years agoreset timers after emitting them
Matthias Braun [Wed, 16 Jan 2008 12:29:01 +0000 (12:29 +0000)]
reset timers after emitting them

[r17399]

16 years agorenamed pmap_foreach to foreach_pmap, like other foreach_* macros
Michael Beck [Tue, 15 Jan 2008 14:54:56 +0000 (14:54 +0000)]
renamed pmap_foreach to foreach_pmap, like other foreach_* macros

[r17391]

16 years agoReplaced bitsets with O(|nodes|^2) memory requirement by ordered lists
Michael Beck [Tue, 15 Jan 2008 07:57:38 +0000 (07:57 +0000)]
Replaced bitsets with O(|nodes|^2) memory requirement by ordered lists

[r17390]

16 years agomichael said I should commit this fix
Matthias Braun [Mon, 14 Jan 2008 18:47:37 +0000 (18:47 +0000)]
michael said I should commit this fix

[r17388]

16 years agoC99 features removed
Michael Beck [Mon, 14 Jan 2008 18:29:06 +0000 (18:29 +0000)]
C99 features removed

[r17386]

16 years agoforgot to add new files
Matthias Braun [Mon, 14 Jan 2008 18:26:08 +0000 (18:26 +0000)]
forgot to add new files

[r17385]

16 years agouse new hashset for edges, making the compiler 5% faster in my benchmarks
Matthias Braun [Mon, 14 Jan 2008 16:24:00 +0000 (16:24 +0000)]
use new hashset for edges, making the compiler 5% faster in my benchmarks

[r17384]

16 years agoImplement get_irg_graph_nr in release mode
Matthias Braun [Mon, 14 Jan 2008 16:23:35 +0000 (16:23 +0000)]
Implement get_irg_graph_nr in release mode

[r17383]

16 years agoavoid warnings in release mode
Matthias Braun [Mon, 14 Jan 2008 16:21:25 +0000 (16:21 +0000)]
avoid warnings in release mode

[r17382]

16 years agobug fix for new initializers
Matthias Braun [Mon, 14 Jan 2008 16:20:52 +0000 (16:20 +0000)]
bug fix for new initializers

[r17381]

16 years agomake be_transform_node slightly more efficient
Matthias Braun [Mon, 14 Jan 2008 16:20:29 +0000 (16:20 +0000)]
make be_transform_node slightly more efficient

[r17380]

16 years agoavoid warning in release mode
Matthias Braun [Mon, 14 Jan 2008 16:20:10 +0000 (16:20 +0000)]
avoid warning in release mode

[r17379]

16 years agomeasure chrodal constraints with constraint timer
Matthias Braun [Mon, 14 Jan 2008 16:19:56 +0000 (16:19 +0000)]
measure chrodal constraints with constraint timer

[r17378]

16 years agoalign timer results
Matthias Braun [Mon, 14 Jan 2008 16:19:33 +0000 (16:19 +0000)]
align timer results

[r17377]

16 years agoimprove efficiency of stats code
Matthias Braun [Mon, 14 Jan 2008 16:15:57 +0000 (16:15 +0000)]
improve efficiency of stats code

[r17376]

16 years agoadd some interesting comment ;-)
Michael Beck [Mon, 14 Jan 2008 12:53:39 +0000 (12:53 +0000)]
add some interesting comment ;-)

[r17375]

16 years agoreduce the size of the affinity chunk by one
Michael Beck [Mon, 14 Jan 2008 12:10:58 +0000 (12:10 +0000)]
reduce the size of the affinity chunk by one

[r17374]

16 years agouse float instead of double to save some space
Michael Beck [Mon, 14 Jan 2008 11:18:09 +0000 (11:18 +0000)]
use float instead of double to save some space

[r17372]

16 years agocosmetic changes
Michael Beck [Mon, 14 Jan 2008 11:14:46 +0000 (11:14 +0000)]
cosmetic changes

[r17371]

16 years ago- fixed some memory leaks by maturing the generated loops (putting flexible arrays...
Michael Beck [Mon, 14 Jan 2008 11:14:26 +0000 (11:14 +0000)]
- fixed some memory leaks by maturing the generated loops (putting flexible arrays onto obstack)
- allocating helper data on an additional obstack that can be easily freed

[r17370]

16 years agoused new generic irloop functions
Michael Beck [Mon, 14 Jan 2008 09:51:56 +0000 (09:51 +0000)]
used new generic irloop functions

[r17369]

16 years agoadd new generic irloop functions
Michael Beck [Mon, 14 Jan 2008 09:50:58 +0000 (09:50 +0000)]
add new generic irloop functions

[r17368]

16 years ago- fixed some memory leaks by maturing the generated loops (putting flexible arrays...
Michael Beck [Mon, 14 Jan 2008 09:50:16 +0000 (09:50 +0000)]
- fixed some memory leaks by maturing the generated loops (putting flexible arrays onto obstack)
- allocating helper data on an additional obstack that can be easily freed
- fixed indentation
- moved ir_lopp generic functions to irloop.c

[r17367]

16 years ago- fixed some memory leaks by maturing the generated loops (putting flexiple arrays...
Michael Beck [Mon, 14 Jan 2008 08:55:43 +0000 (08:55 +0000)]
- fixed some memory leaks by maturing the generated loops (putting flexiple arrays onto obstack)
- allocating helper data an additional obstack that can be easily freed
- fixed indentation

[r17366]

16 years agodeleted was used uninitialized
Michael Beck [Sun, 13 Jan 2008 15:42:46 +0000 (15:42 +0000)]
deleted was used uninitialized

[r17356]

16 years agomore INTERPROCEDURAL_VIEW #ifdef's
Michael Beck [Sat, 12 Jan 2008 03:04:01 +0000 (03:04 +0000)]
more INTERPROCEDURAL_VIEW #ifdef's

[r17340]

16 years agoupdate gigo():
Michael Beck [Sat, 12 Jan 2008 02:53:11 +0000 (02:53 +0000)]
update gigo():
- add missing skip_Proj()
- do not kill control flow from a dead block WITHOUT setting this block to dead
- fixed warning

[r17339]

16 years agowhen setting a block to dead, set its dom_depth to -1 to indicate that no dominance...
Michael Beck [Sat, 12 Jan 2008 02:51:08 +0000 (02:51 +0000)]
when setting a block to dead, set its dom_depth to -1 to indicate that no dominance is avalable. It might not be possible to update the dom_info anymore!

[r17338]

16 years agocosmetic changes
Michael Beck [Sat, 12 Jan 2008 02:48:15 +0000 (02:48 +0000)]
cosmetic changes

[r17337]

16 years agoC99 features removed
Michael Beck [Fri, 11 Jan 2008 19:35:20 +0000 (19:35 +0000)]
C99 features removed

[r17332]

16 years agotime execfreq
Matthias Braun [Fri, 11 Jan 2008 15:26:00 +0000 (15:26 +0000)]
time execfreq

[r17321]

16 years agocosmetics
Matthias Braun [Fri, 11 Jan 2008 15:25:46 +0000 (15:25 +0000)]
cosmetics

[r17320]

16 years agointroduce new mode for initializer
Matthias Braun [Fri, 11 Jan 2008 15:25:26 +0000 (15:25 +0000)]
introduce new mode for initializer

[r17319]

16 years agoonly print irg names when statevs are not enabled
Matthias Braun [Fri, 11 Jan 2008 15:14:02 +0000 (15:14 +0000)]
only print irg names when statevs are not enabled

[r17318]

16 years agorefactor time measurement
Matthias Braun [Fri, 11 Jan 2008 15:10:53 +0000 (15:10 +0000)]
refactor time measurement

[r17317]

16 years agospillslot timer is removed
Matthias Braun [Thu, 10 Jan 2008 20:07:38 +0000 (20:07 +0000)]
spillslot timer is removed

[r17303]

16 years agofix last commit
Matthias Braun [Thu, 10 Jan 2008 20:00:15 +0000 (20:00 +0000)]
fix last commit

[r17301]

16 years agofix time measureing in chordal_regalloc
Matthias Braun [Thu, 10 Jan 2008 19:36:27 +0000 (19:36 +0000)]
fix time measureing in chordal_regalloc

[r17300]

16 years agoImproved checking of partBlocks()
Michael Beck [Thu, 10 Jan 2008 02:59:01 +0000 (02:59 +0000)]
Improved checking of partBlocks()

[r17278]

16 years agoBugFix: equivalent_node_Bound() was too greedy, reduced to a safe minimum (now mostly...
Michael Beck [Thu, 10 Jan 2008 02:57:57 +0000 (02:57 +0000)]
BugFix: equivalent_node_Bound() was too greedy, reduced to a safe minimum (now mostly useless) :-(

[r17277]

16 years agomade code better debugable
Michael Beck [Thu, 10 Jan 2008 02:56:30 +0000 (02:56 +0000)]
made code better debugable

[r17276]

16 years agoimproved doxygen comment
Michael Beck [Thu, 10 Jan 2008 02:55:39 +0000 (02:55 +0000)]
improved doxygen comment

[r17275]

16 years ago- is_Bound added
Michael Beck [Thu, 10 Jan 2008 02:54:46 +0000 (02:54 +0000)]
- is_Bound added
- renamed variable to make code more understandable

[r17274]

16 years agoBugFix: wrong mode used
Michael Beck [Thu, 10 Jan 2008 01:35:26 +0000 (01:35 +0000)]
BugFix: wrong mode used

[r17273]

16 years ago- BugFix: ensure that the Unknown node is lowered with low and high mode
Michael Beck [Thu, 10 Jan 2008 01:34:43 +0000 (01:34 +0000)]
- BugFix: ensure that the Unknown node is lowered with low and high mode
- improve code by adding type safe inline function

[r17272]

16 years agoadd two assertion to detect uninitialised variables
Michael Beck [Wed, 9 Jan 2008 16:26:43 +0000 (16:26 +0000)]
add two assertion to detect uninitialised variables

[r17252]

16 years agofixed release build
Michael Beck [Wed, 9 Jan 2008 16:10:17 +0000 (16:10 +0000)]
fixed release build

[r17251]

16 years ago- fixed typo
Michael Beck [Wed, 9 Jan 2008 10:38:37 +0000 (10:38 +0000)]
- fixed typo
- used self instead of (C++) keyword this

[r17239]

16 years agotypo fixed
Michael Beck [Wed, 9 Jan 2008 10:30:58 +0000 (10:30 +0000)]
typo fixed

[r17238]

16 years agoFixed is_exception_flow(), Raise has only "regular" exception flow, to "exceptional...
Michael Beck [Tue, 8 Jan 2008 16:46:09 +0000 (16:46 +0000)]
Fixed is_exception_flow(), Raise has only "regular" exception flow, to "exceptional" one

[r17224]

16 years agodo not use new_Bad(), as this depends on current_ir_graph, cast
Michael Beck [Tue, 8 Jan 2008 16:26:16 +0000 (16:26 +0000)]
do not use new_Bad(), as this depends on current_ir_graph, cast

[r17221]

16 years agofix warning
Matthias Braun [Tue, 8 Jan 2008 14:56:25 +0000 (14:56 +0000)]
fix warning

[r17214]

16 years agoonly import datatbases that are actually used
Matthias Braun [Mon, 7 Jan 2008 20:11:34 +0000 (20:11 +0000)]
only import datatbases that are actually used

[r17204]

16 years agoget_irn_MacroBlock(): if the Block of a node is Bad, do NOT try to returns its MB...
Michael Beck [Mon, 7 Jan 2008 19:37:24 +0000 (19:37 +0000)]
get_irn_MacroBlock(): if the Block of a node is Bad, do NOT try to returns its MB, return Bad.

[r17201]

16 years agomove statev_sql.py to scripts dir
Matthias Braun [Mon, 7 Jan 2008 19:21:21 +0000 (19:21 +0000)]
move statev_sql.py to scripts dir

[r17200]

16 years agoonly timing results to console if statevs are not enabled, add time_ prefix to timer...
Matthias Braun [Mon, 7 Jan 2008 19:17:55 +0000 (19:17 +0000)]
only timing results to console if statevs are not enabled, add time_ prefix to timer results

[r17199]

16 years agoC99 features removed
Michael Beck [Mon, 7 Jan 2008 15:11:30 +0000 (15:11 +0000)]
C99 features removed

[r17187]

16 years agoFix assert
Michael Beck [Mon, 7 Jan 2008 13:04:32 +0000 (13:04 +0000)]
Fix assert

[r17183]

16 years agoBugFix: is_stored() was completely broken
Michael Beck [Mon, 7 Jan 2008 13:00:08 +0000 (13:00 +0000)]
BugFix: is_stored() was completely broken

[r17182]

16 years agoensure, that every Block has a MacroBlock header
Michael Beck [Mon, 7 Jan 2008 12:51:20 +0000 (12:51 +0000)]
ensure, that every Block has a MacroBlock header

[r17181]

16 years agostarted working on a linearscan spiller (doesn't spill phis yet so most programs...
Matthias Braun [Mon, 7 Jan 2008 00:11:28 +0000 (00:11 +0000)]
started working on a linearscan spiller (doesn't spill phis yet so most programs fails)

[r17175]

16 years agoLongLong test should be compiled in c99 mode
Matthias Braun [Mon, 7 Jan 2008 00:10:59 +0000 (00:10 +0000)]
LongLong test should be compiled in c99 mode

[r17174]

16 years agosmall BugFix: must check the Store value, not it's pointer
Michael Beck [Sun, 6 Jan 2008 22:50:13 +0000 (22:50 +0000)]
small BugFix: must check the Store value, not it's pointer

[r17173]

16 years agofixed detection of malloc property:
Michael Beck [Sun, 6 Jan 2008 16:33:18 +0000 (16:33 +0000)]
fixed detection of malloc property:
 - used allocator callback from frontend
 - methods returning 0 results are not strict malloc
 - only methods returning allocations can be malloc
 - check the the result is not stored anywhere before returning, this would create an alias (and is not malloc)
 - don't kill the malloc property when only checking for nothrow

[r17170]

16 years ago- removed skip_HighLevel()
Michael Beck [Sun, 6 Jan 2008 16:26:32 +0000 (16:26 +0000)]
- removed skip_HighLevel()
- add new skip_HighLevel_ops() skipping all Confirm, Cast nodes

[r17169]

16 years agoDo not mark Sel as an high-level op.
Michael Beck [Sun, 6 Jan 2008 16:05:39 +0000 (16:05 +0000)]
Do not mark Sel as an high-level op.
This bit is currently used for skip_Highlevel_ops() and skipping Sel here might not that what one expects.

[r17168]

16 years ago- edges_assure_kind() added
Michael Beck [Sun, 6 Jan 2008 15:31:17 +0000 (15:31 +0000)]
- edges_assure_kind() added
- removed useless extern

[r17167]

16 years agoCSE now uses MacroBlock() instead of Block for performing block local CSE (like descr...
Michael Beck [Sun, 6 Jan 2008 14:41:57 +0000 (14:41 +0000)]
CSE now uses MacroBlock() instead of Block for performing block local CSE (like described in the diss :-)

[r17166]

16 years agoget_irn_MacroBlock() added
Michael Beck [Sun, 6 Jan 2008 14:40:02 +0000 (14:40 +0000)]
get_irn_MacroBlock() added

[r17165]

16 years agofix for last commit
Matthias Braun [Fri, 4 Jan 2008 14:22:01 +0000 (14:22 +0000)]
fix for last commit

[r17160]

16 years agofix some warnings, represent mode size as unsigned value
Matthias Braun [Fri, 4 Jan 2008 13:52:59 +0000 (13:52 +0000)]
fix some warnings, represent mode size as unsigned value

[r17158]

16 years agofix warnings
Matthias Braun [Fri, 4 Jan 2008 13:24:08 +0000 (13:24 +0000)]
fix warnings

[r17157]

16 years agofix warning
Matthias Braun [Fri, 4 Jan 2008 13:23:25 +0000 (13:23 +0000)]
fix warning

[r17156]

16 years agoupdate copyright message
Michael Beck [Wed, 2 Jan 2008 20:56:33 +0000 (20:56 +0000)]
update copyright message

[r17143]

16 years agochanged the projection numbers of Raise to match the generic scheme
Michael Beck [Wed, 2 Jan 2008 17:13:55 +0000 (17:13 +0000)]
changed the projection numbers of Raise to match the generic scheme

[r17139]

16 years ago- implemented be_Unwind
Michael Beck [Wed, 2 Jan 2008 16:41:39 +0000 (16:41 +0000)]
- implemented be_Unwind
- constify some functions
- more doxygen comments

[r17136]

16 years agoYasm don't like fnstsw, requires an %ax argument. Gas can cope with.
Michael Beck [Wed, 2 Jan 2008 02:22:07 +0000 (02:22 +0000)]
Yasm don't like fnstsw, requires an %ax argument. Gas can cope with.

[r17128]

16 years agoadded GNU_FLAVOUR_YASM to support the YASM assembler
Michael Beck [Wed, 2 Jan 2008 00:22:18 +0000 (00:22 +0000)]
added GNU_FLAVOUR_YASM to support the YASM assembler

[r17127]

16 years agodetect and handle malloc and nothrow functions
Michael Beck [Tue, 1 Jan 2008 17:04:55 +0000 (17:04 +0000)]
detect and handle malloc and nothrow functions

[r17124]

16 years agocleaned up code:
Michael Beck [Tue, 1 Jan 2008 16:31:54 +0000 (16:31 +0000)]
cleaned up code:
 - fixed indentation
 - constify
 - remove unnecessary casts

[r17123]

16 years agoImproved implementation:
Michael Beck [Tue, 1 Jan 2008 15:50:32 +0000 (15:50 +0000)]
Improved implementation:
 - removed commented out code
 - removed some unnecessary memory copies
 - used new functions
 - use unknown_entity instead of "MARK"
 - fixed some comments
 - improve doxygen comments

[r17122]

16 years agoadded rbitset_clear_all()
Michael Beck [Mon, 31 Dec 2007 18:05:14 +0000 (18:05 +0000)]
added rbitset_clear_all()

[r17121]

16 years agoimproved _get_entity_irg() implementation
Michael Beck [Mon, 31 Dec 2007 16:34:40 +0000 (16:34 +0000)]
improved _get_entity_irg() implementation

[r17119]

16 years agois_SymConst_addr_ent() added
Michael Beck [Sun, 30 Dec 2007 16:35:17 +0000 (16:35 +0000)]
is_SymConst_addr_ent() added

[r17111]

16 years agoeven more function parameters const
Michael Beck [Sun, 30 Dec 2007 04:41:02 +0000 (04:41 +0000)]
even more function parameters const
cleaned up some code

[r17108]

16 years agomade more function parameters const
Michael Beck [Sun, 30 Dec 2007 04:21:21 +0000 (04:21 +0000)]
made more function parameters const

[r17107]

16 years agomade more function parameters const
Michael Beck [Sun, 30 Dec 2007 04:17:24 +0000 (04:17 +0000)]
made more function parameters const

[r17106]

16 years agoadd missing include
Michael Beck [Sun, 30 Dec 2007 04:16:14 +0000 (04:16 +0000)]
add missing include

[r17105]

16 years agomade some function parameters const
Michael Beck [Sun, 30 Dec 2007 03:52:44 +0000 (03:52 +0000)]
made some function parameters const

[r17104]

16 years agoIgnore Block->Block out edges when iterating over all out edges of a Block.
Michael Beck [Sun, 30 Dec 2007 01:25:05 +0000 (01:25 +0000)]
Ignore Block->Block out edges when iterating over all out edges of a Block.
These should be MacroBlock edges and can be safely ignored.

[r17102]

16 years agorenamed where_alloc to ir_where_alloc
Michael Beck [Sat, 29 Dec 2007 18:29:40 +0000 (18:29 +0000)]
renamed where_alloc to ir_where_alloc

[r17099]

16 years agoBugFix: must handle regular exception flow
Michael Beck [Sat, 29 Dec 2007 16:07:01 +0000 (16:07 +0000)]
BugFix: must handle regular exception flow

[r17096]

16 years agotypo fixed, cleaned up a bit
Michael Beck [Sat, 29 Dec 2007 03:27:03 +0000 (03:27 +0000)]
typo fixed, cleaned up a bit

[r17089]

16 years agoHandle MacroBlock edges: These are Block->Block edges of EDGE_KIND_NORMAL.
Michael Beck [Sat, 29 Dec 2007 03:26:17 +0000 (03:26 +0000)]
Handle MacroBlock edges: These are Block->Block edges of EDGE_KIND_NORMAL.
This simplifies some code.

[r17088]

16 years ago- allow the macroblock edge to be dumped
Michael Beck [Sat, 29 Dec 2007 03:24:54 +0000 (03:24 +0000)]
- allow the macroblock edge to be dumped
- removed unused code

[r17087]

16 years agoIgnore Block->Block out edges when iterating over all out edges of a Block.
Michael Beck [Sat, 29 Dec 2007 03:23:42 +0000 (03:23 +0000)]
Ignore Block->Block out edges when iterating over all out edges of a Block.
These should be MacroBlock edges and can be safely ignored.

[r17086]

16 years agoFixed critical edges construction: Ignore real exception flow, handle regular flow.
Michael Beck [Sat, 29 Dec 2007 03:23:00 +0000 (03:23 +0000)]
Fixed critical edges construction: Ignore real exception flow, handle regular flow.

[r17085]

16 years ago- allow the macroblock edge to be dumped
Michael Beck [Fri, 28 Dec 2007 17:21:26 +0000 (17:21 +0000)]
- allow the macroblock edge to be dumped
- some doxygen comments added

[r17080]

16 years agouse edges_assure() where appropriate
Michael Beck [Fri, 28 Dec 2007 17:20:02 +0000 (17:20 +0000)]
use edges_assure() where appropriate

[r17079]

16 years agoIgnore Block->Block out edges when iterating over all out edges of a Block.
Michael Beck [Fri, 28 Dec 2007 17:02:55 +0000 (17:02 +0000)]
Ignore Block->Block out edges when iterating over all out edges of a Block.
These should be MacroBlock edges and can be safely ignored.

[r17078]