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]
Michael Beck [Mon, 14 Jan 2008 09:51:56 +0000 (09:51 +0000)]
used new generic irloop functions
[r17369]
Michael Beck [Mon, 14 Jan 2008 09:50:58 +0000 (09:50 +0000)]
add new generic irloop functions
[r17368]
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]
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]
Michael Beck [Sun, 13 Jan 2008 15:42:46 +0000 (15:42 +0000)]
deleted was used uninitialized
[r17356]
Michael Beck [Sat, 12 Jan 2008 03:04:01 +0000 (03:04 +0000)]
more INTERPROCEDURAL_VIEW #ifdef's
[r17340]
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]
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]
Michael Beck [Sat, 12 Jan 2008 02:48:15 +0000 (02:48 +0000)]
cosmetic changes
[r17337]
Michael Beck [Fri, 11 Jan 2008 19:35:20 +0000 (19:35 +0000)]
C99 features removed
[r17332]
Matthias Braun [Fri, 11 Jan 2008 15:26:00 +0000 (15:26 +0000)]
time execfreq
[r17321]
Matthias Braun [Fri, 11 Jan 2008 15:25:46 +0000 (15:25 +0000)]
cosmetics
[r17320]
Matthias Braun [Fri, 11 Jan 2008 15:25:26 +0000 (15:25 +0000)]
introduce new mode for initializer
[r17319]
Matthias Braun [Fri, 11 Jan 2008 15:14:02 +0000 (15:14 +0000)]
only print irg names when statevs are not enabled
[r17318]
Matthias Braun [Fri, 11 Jan 2008 15:10:53 +0000 (15:10 +0000)]
refactor time measurement
[r17317]
Matthias Braun [Thu, 10 Jan 2008 20:07:38 +0000 (20:07 +0000)]
spillslot timer is removed
[r17303]
Matthias Braun [Thu, 10 Jan 2008 20:00:15 +0000 (20:00 +0000)]
fix last commit
[r17301]
Matthias Braun [Thu, 10 Jan 2008 19:36:27 +0000 (19:36 +0000)]
fix time measureing in chordal_regalloc
[r17300]
Michael Beck [Thu, 10 Jan 2008 02:59:01 +0000 (02:59 +0000)]
Improved checking of partBlocks()
[r17278]
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]
Michael Beck [Thu, 10 Jan 2008 02:56:30 +0000 (02:56 +0000)]
made code better debugable
[r17276]
Michael Beck [Thu, 10 Jan 2008 02:55:39 +0000 (02:55 +0000)]
improved doxygen comment
[r17275]
Michael Beck [Thu, 10 Jan 2008 02:54:46 +0000 (02:54 +0000)]
- is_Bound added
- renamed variable to make code more understandable
[r17274]
Michael Beck [Thu, 10 Jan 2008 01:35:26 +0000 (01:35 +0000)]
BugFix: wrong mode used
[r17273]
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]
Michael Beck [Wed, 9 Jan 2008 16:26:43 +0000 (16:26 +0000)]
add two assertion to detect uninitialised variables
[r17252]
Michael Beck [Wed, 9 Jan 2008 16:10:17 +0000 (16:10 +0000)]
fixed release build
[r17251]
Michael Beck [Wed, 9 Jan 2008 10:38:37 +0000 (10:38 +0000)]
- fixed typo
- used self instead of (C++) keyword this
[r17239]
Michael Beck [Wed, 9 Jan 2008 10:30:58 +0000 (10:30 +0000)]
typo fixed
[r17238]
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]
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]
Matthias Braun [Tue, 8 Jan 2008 14:56:25 +0000 (14:56 +0000)]
fix warning
[r17214]
Matthias Braun [Mon, 7 Jan 2008 20:11:34 +0000 (20:11 +0000)]
only import datatbases that are actually used
[r17204]
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]
Matthias Braun [Mon, 7 Jan 2008 19:21:21 +0000 (19:21 +0000)]
move statev_sql.py to scripts dir
[r17200]
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]
Michael Beck [Mon, 7 Jan 2008 15:11:30 +0000 (15:11 +0000)]
C99 features removed
[r17187]
Michael Beck [Mon, 7 Jan 2008 13:04:32 +0000 (13:04 +0000)]
Fix assert
[r17183]
Michael Beck [Mon, 7 Jan 2008 13:00:08 +0000 (13:00 +0000)]
BugFix: is_stored() was completely broken
[r17182]
Michael Beck [Mon, 7 Jan 2008 12:51:20 +0000 (12:51 +0000)]
ensure, that every Block has a MacroBlock header
[r17181]
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]
Matthias Braun [Mon, 7 Jan 2008 00:10:59 +0000 (00:10 +0000)]
LongLong test should be compiled in c99 mode
[r17174]
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]
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]
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]
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]
Michael Beck [Sun, 6 Jan 2008 15:31:17 +0000 (15:31 +0000)]
- edges_assure_kind() added
- removed useless extern
[r17167]
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]
Michael Beck [Sun, 6 Jan 2008 14:40:02 +0000 (14:40 +0000)]
get_irn_MacroBlock() added
[r17165]
Matthias Braun [Fri, 4 Jan 2008 14:22:01 +0000 (14:22 +0000)]
fix for last commit
[r17160]
Matthias Braun [Fri, 4 Jan 2008 13:52:59 +0000 (13:52 +0000)]
fix some warnings, represent mode size as unsigned value
[r17158]
Matthias Braun [Fri, 4 Jan 2008 13:24:08 +0000 (13:24 +0000)]
fix warnings
[r17157]
Matthias Braun [Fri, 4 Jan 2008 13:23:25 +0000 (13:23 +0000)]
fix warning
[r17156]
Michael Beck [Wed, 2 Jan 2008 20:56:33 +0000 (20:56 +0000)]
update copyright message
[r17143]
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]
Michael Beck [Wed, 2 Jan 2008 16:41:39 +0000 (16:41 +0000)]
- implemented be_Unwind
- constify some functions
- more doxygen comments
[r17136]
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]
Michael Beck [Wed, 2 Jan 2008 00:22:18 +0000 (00:22 +0000)]
added GNU_FLAVOUR_YASM to support the YASM assembler
[r17127]
Michael Beck [Tue, 1 Jan 2008 17:04:55 +0000 (17:04 +0000)]
detect and handle malloc and nothrow functions
[r17124]
Michael Beck [Tue, 1 Jan 2008 16:31:54 +0000 (16:31 +0000)]
cleaned up code:
- fixed indentation
- constify
- remove unnecessary casts
[r17123]
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]
Michael Beck [Mon, 31 Dec 2007 18:05:14 +0000 (18:05 +0000)]
added rbitset_clear_all()
[r17121]
Michael Beck [Mon, 31 Dec 2007 16:34:40 +0000 (16:34 +0000)]
improved _get_entity_irg() implementation
[r17119]
Michael Beck [Sun, 30 Dec 2007 16:35:17 +0000 (16:35 +0000)]
is_SymConst_addr_ent() added
[r17111]
Michael Beck [Sun, 30 Dec 2007 04:41:02 +0000 (04:41 +0000)]
even more function parameters const
cleaned up some code
[r17108]
Michael Beck [Sun, 30 Dec 2007 04:21:21 +0000 (04:21 +0000)]
made more function parameters const
[r17107]
Michael Beck [Sun, 30 Dec 2007 04:17:24 +0000 (04:17 +0000)]
made more function parameters const
[r17106]
Michael Beck [Sun, 30 Dec 2007 04:16:14 +0000 (04:16 +0000)]
add missing include
[r17105]
Michael Beck [Sun, 30 Dec 2007 03:52:44 +0000 (03:52 +0000)]
made some function parameters const
[r17104]
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]
Michael Beck [Sat, 29 Dec 2007 18:29:40 +0000 (18:29 +0000)]
renamed where_alloc to ir_where_alloc
[r17099]
Michael Beck [Sat, 29 Dec 2007 16:07:01 +0000 (16:07 +0000)]
BugFix: must handle regular exception flow
[r17096]
Michael Beck [Sat, 29 Dec 2007 03:27:03 +0000 (03:27 +0000)]
typo fixed, cleaned up a bit
[r17089]
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]
Michael Beck [Sat, 29 Dec 2007 03:24:54 +0000 (03:24 +0000)]
- allow the macroblock edge to be dumped
- removed unused code
[r17087]
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]
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]
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]
Michael Beck [Fri, 28 Dec 2007 17:20:02 +0000 (17:20 +0000)]
use edges_assure() where appropriate
[r17079]
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]
Christoph Mallon [Thu, 20 Dec 2007 08:24:42 +0000 (08:24 +0000)]
Assert that only float Cmps have unordered Projs.
[r17028]
Michael Beck [Wed, 19 Dec 2007 15:16:12 +0000 (15:16 +0000)]
change x86 cpu names to match gcc -march switch
[r17026]
Matthias Braun [Mon, 17 Dec 2007 18:32:42 +0000 (18:32 +0000)]
even crazier
[r17009]
Matthias Braun [Mon, 17 Dec 2007 18:31:39 +0000 (18:31 +0000)]
dereferencing function pointers
[r17008]
Matthias Braun [Mon, 17 Dec 2007 18:27:46 +0000 (18:27 +0000)]
reimplement the long long -> double, conversion. Removed broken double -> long long conv for now
[r17007]
Matthias Braun [Mon, 17 Dec 2007 18:27:20 +0000 (18:27 +0000)]
double,longlong conv problems
[r17006]
Michael Beck [Mon, 17 Dec 2007 15:30:48 +0000 (15:30 +0000)]
BugFix: n has changed it's meaning
[r17004]
Michael Beck [Mon, 17 Dec 2007 14:21:50 +0000 (14:21 +0000)]
fixed warning
[r17003]
Michael Beck [Mon, 17 Dec 2007 14:10:31 +0000 (14:10 +0000)]
improved detection of pure and const functions (now works for recursive one of any depth)
[r17002]
Michael Beck [Mon, 17 Dec 2007 13:39:17 +0000 (13:39 +0000)]
use xmalloc instead of malloc
[r17001]
Michael Beck [Sun, 16 Dec 2007 19:24:10 +0000 (19:24 +0000)]
some comments added
[r16995]
Matthias Braun [Fri, 14 Dec 2007 17:27:15 +0000 (17:27 +0000)]
fix replace_call
[r16989]
Michael Beck [Fri, 14 Dec 2007 15:29:57 +0000 (15:29 +0000)]
finally fixed clone_type_method()
[r16983]
Michael Beck [Fri, 14 Dec 2007 15:23:16 +0000 (15:23 +0000)]
improved verify message
[r16982]
Michael Beck [Fri, 14 Dec 2007 15:14:34 +0000 (15:14 +0000)]
restored old behavior of dump_ir_*_sched() functions: Can be called without schedule info available
[r16981]
Michael Beck [Fri, 14 Dec 2007 14:36:47 +0000 (14:36 +0000)]
fixed criation of private properties and calls
[r16979]
Michael Beck [Fri, 14 Dec 2007 14:19:18 +0000 (14:19 +0000)]
clone method can add a prefix
[r16978]
Michael Beck [Wed, 12 Dec 2007 19:55:55 +0000 (19:55 +0000)]
handle Return(Unknown) == missing return when lowering compound returns (fixes fehler105.c)
[r16966]
Matthias Braun [Wed, 12 Dec 2007 10:44:17 +0000 (10:44 +0000)]
one more fehler
[r16955]